Re: ext3 fs: no userspace writes == no disk writes ?

Rob van Nieuwkerk (robn@verdi.et.tudelft.nl)
Fri, 20 Sep 2002 11:26:12 +0200


> Padraig Brady wrote:
> > Rob van Nieuwkerk wrote:
> >
> >> Hi Pádraig,
> >>
> >> Pádraig Brady wrote:
> >>
> >>> Rob van Nieuwkerk wrote:
> >>>
> >>>> Hi Alan,
> >>>>
> >>>>
> >>>>> On Fri, 2002-09-20 at 00:04, Andrew Morton wrote:
> >>>>>
> >>>>>
> >>>>>> There are frequently written areas of an ext3 filesystem - the
> >>>>>> journal, the superblock. Those would wear out pretty quickly.
> >>>>>
> >>>>>
> >>>>> CF is -supposed- to wear level.
> >>>>
> >>>>
> >>>> Yes I know.
> >>>>
> >>>> But I haven't been able to find any specs from any CF manufacturer
> >>>> about this mechanism, percentage of spare sectors or number of allowed
> >>>> write-cycles in general.
> >>>
> >>>
> >>> me either.
> >>>
> >>> Why don't you just mount the fs ro ?
> >>>
> >>> Pádraig
> >>
> >>
> >>
> >> Ehm .., because I need to store data on it ..
> >
> >
> > Ehm, well remount,rw before you store data on it
> > and remount,ro when finished?
>
> Note you can organise things (links from /etc/various /dev/various /var
> to ramdisk/tmpfs/...) so that you never have to mount the CF rw.

Yes I know. That will happen for the root partition anyway.
The whole discussion is about a dedicated data logging partition/fs
on the CF.

greetings,
Rob van Nieuwkerk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/