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

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

 



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.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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