Re: About /etc/mtab and /proc/mounts

Kasper Dupont
2003-03-02T13:50:08Z

DervishD wrote:
>
> Hi Miles :)
>
> Miles Bader dixit:
> > /var is clearly the right place for this; if /var isn't mounted
> > initially, I'd suggest that mount should simply not update any file
> > at that point, and the init-script that mounts /var can be
> > responsible from propagating information from /proc/mounts to
> > /var/whatever.
>
> In an embedded system I built a time ago, /etc/mtab was first a
> symlink to /proc/mounts, but after a while I made it a symlink to
> /var/run/mtab. It worked OK, AFAIK.

Did mount actually update the mtab file? The version of mount on
my system would not.

--
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);