Don't want /etc/mtab to be linked to /proc/mounts

Ken Moffat ken at kenmoffat.uklinux.net
Mon Mar 29 02:13:12 PST 2004


On Mon, 29 Mar 2004, Nathan Coulson wrote:

> > On Sun, 28 Mar 2004, Nathan Coulson wrote:
> >
> >> >
> >> >  Maybe I'm misunderstanding something here.  I'm running the 2.0.2
> >> > bootscripts on a test box, I can see the `> /etc/mtab' line, but mount
> >> > still gives me the `rootfs' and `/dev/root' crap instead of showing me
> >> > the real device.  I'm another one who'd really like to go back to the
> >> > old behaviour, at least for my test boxes which have a number of
> >> > potential root filesystems.
> >> >
> >> > Ken
> >> > --
> >>
> >> are you sure the /etc/mtab is no longer symlinked to /proc/mounts?  It
> >> sounds like it still is...
> >>
> >
> >  Yeah, my bad.  Blundered in, skimmed the original post / reply, failed
> > to engage brain.
> >
> >> BTW, for a long time now, (LFS 4.1? LFS 5.0?), we no longer symlink
> >> /etc/mtab to /proc/mounts.
> >>
> >
> >  I know, doesn't mean I have to like it!
> >
> > Ken
>
> ok, now I am confused.
>
> didnt you want to have /etc/mtab as a seperate file, so that it showed the
> partitions right?
>

 Yes.  It's still a symlink here, which may be because of my build
scripts (I symlink it at start of ch6 so that `df' works for space
calculations).

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce




More information about the lfs-support mailing list