Re: Strange mount



Guillaume Dargaud wrote:
Hello all,
Does this seem normal ? I find having both rootfs and /dev/root mounted on /
weird... It's a minimalist embedded linux system.

# df
Filesystem Size Used Available Use% Mounted on
rootfs 394.6M 7.9M 386.7M 2% /
/dev/root 394.6M 7.9M 386.7M 2% /
tmpfs 62.3M 28.0k 62.3M 0% /tmp

# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw)

# cat /etc/fstab
/dev/root / ext2 rw,noauto 0 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /tmp tmpfs defaults 0 0


It does not seem normal at all. Why would you put any file system in /dev ?
Why not mount the root file system on / ?

You better be more clear what you are trying to do.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 08:50:01 up 35 days, 13:52, 4 users, load average: 4.24, 4.26, 4.20
.



Relevant Pages

  • Doubt on rootfs
    ... rootfs on / type rootfs ... /proc on /proc type proc ... devpts on /dev/pts type devpts ...
    (RedHat)
  • Strange mount
    ... rootfs on / type rootfs ... proc on /proc type proc ... devpts on /dev/pts type devpts ... tmpfs on /tmp type tmpfs ...
    (comp.os.linux.setup)
  • Re: White Screen After Reboot (Fedora 8)
    ... mount my USB drive so I can copy the files you mentioned? ... proc on /proc type proc ... sysfs on /sys type sysfs ... tmpfs on /dev/shm type tmpfs ...
    (Fedora)
  • Re: md: can not impport hdb1, has active inodes!
    ... > mount open (presumably in case it needs to write something back there ... proc /proc proc rw 0 0 ... devpts /dev/pts devpts rw 0 0 ... The two critical items are that each partition that is ...
    (Debian-User)
  • Re: mount doesnt mount on boot-up
    ... The output of mount immediately after booting. ... proc on /proc type proc ... sysfs on /sys type sysfs ... tmpfs on /dev/shm type tmpfs ...
    (Fedora)