Re: Why root partition is not in /etc/mtab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 19 May 2007 21:04:33 Karel Zak wrote:
> On Sat, May 19, 2007 at 03:04:28PM +0300, Ismail Dönmez wrote:
> > Hi all,
> >
> > My /etc/fstab is like this:
> >
> > LABEL=PARDUS_HOME    /home            ext3      noatime              0 0
> > LABEL=PARDUS_ROOT    /                ext3      noatime              0 0
> > /.swap               none             swap      sw                   0 0
> > none                 /dev/shm         tmpfs     nodev,nosuid,noexec  0 0
> > none                 /proc/sys/fs/binfmt_misc binfmt_misc defaults
> > 0 0
>
>  I don't see a /proc although you have /proc/sys/fs/.... (and also you
>  don't have a /sys)
>
> > And my /etc/mtab is like this
> >
> > usbfs /proc/bus/usb usbfs rw 0 0
> > /dev/sda1 /home ext3 rw,noatime 0 0
> > none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
> > none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
> >
> > I wonder why root partition /dev/sda2 is not there, which seems to work
> > with util-linux.
>
>  Well, a typical way how init scripts mount the root is:
>
>     mount -n /
>     mount -f /
>
>  it means two steps. The second step adds the entry to /etc/mtab.
>  Please, try to check your init scrips.

Ah thats why then, I removed the second part because I was getting "/dev/sda2 
is already mounted on /" warnings. Guess thats a bug then?

Regards,
ismail


-- 
Perfect is the enemy of good

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux