Re: Discrepancies between real and symlinked mtab

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

 



On Tue, Oct 30, 2012 at 11:03:59PM +0000, Matt Burgess wrote:
> 1) mount(8)
> 
> /dev/root on / type ext3 (rw,relatime,data=ordered)

 I see (Fedora 17, util-linux 2.21.2)

   /dev/sda4 on / type ext4 (rw,relatime,data=ordered)

anyway, it's not mount(8) responsibility what you have in /proc/mounts
or /proc/self/mountinfo.

> Nope, that's not /dev/sda3.  And what is /dev/root anyway? There's no
> such node under /dev here.

if I good remember there was symlink in some distributions

> 3) lsblk(8)
> 
> NAME FSTYPE LABEL UUID                                 MOUNTPOINT
> sda3 ext3   /lfs  aaf09e8b-d50e-429e-ba8e-11fa07ab5b75 

I see:

 $ lsblk --fs /dev/sda4
 NAME FSTYPE LABEL UUID                                 MOUNTPOINT
 sda4 ext4         33230ae2-1093-4353-824c-f7ca09a2a882 /

> As all 3 utils show the same issue, I assume this is something to do
> with libblkid?

We use libmount to get information about mountpoints. The libblkid is
responsible for information about filesystems (LABEL, UUID, ...).


    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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