Jeremy Huntwork wrote:
> On Jan 16, 2012, at 1:21 PM, Bruce Dubbs wrote:
>> My objection is that mtab has
>>  /dev/sda5 / ext3 rw 0 0
>>
>> where /proc/mounts has
>>  rootfs / rootfs rw 0 0
>>
>> 'rootfs' doesn't tell me much.  I can see that it is the rootfs because 
>> it's mounted on /.    /dev/sda5 and ext3 give me information I can use.
> 
> Well, actually, /proc/mounts has both:
> 
> # cat /proc/mounts 
> rootfs / rootfs rw 0 0
> tmpfs /dev tmpfs rw,relatime 0 0
> proc /proc proc rw,relatime 0 0
> sysfs /sys sysfs rw,relatime 0 0
> /dev/xvda1 / xfs rw,noatime,attr2,delaylog,noquota 0 0
> tmpfs /var/run tmpfs rw,relatime 0 0
> devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0

Not for me (formatted for readability):

rootfs     /             rootfs rw
/dev/root  /             ext3   rw,relatime,errors=continue,barrier=0
tmpfs      /run          tmpfs  rw,relatime
proc       /proc         proc   rw,relatime
sysfs      /sys          sysfs  rw,relatime
tmpfs      /dev          tmpfs  rw,relatime,mode=755
/dev/sda1  /boot         ext3   relatime,errors=continue,barrier=0
/dev/sda9  /usr/src      ext3   rw,relatime,errors=continue,barrier=0
/dev/sda11 /home         ext3   rw,relatime,errors=continue,barrier=0
/dev/sda5  /mnt/lfs      ext3   rw,relatime,errors=continue,barrier=0
/dev/sda2  /opt          ext3   rw,relatime,errors=continue,barrier=0
devpts     /dev/pts      devpts rw,relatime,gid=4,mode=620
nfsd       /proc/fs/nfsd nfsd   rw,relatime

I don't know what /dev/root is and it's not in /dev.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to