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

Rob van Nieuwkerk
2002-09-20T09:21:10Z

> 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