Re: Duplicate UUIDs, findmnt, /dev/disk/by-uuid

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

 



On Mon, Apr 23, 2012 at 05:41:06PM +0200, Marcin Szewczyk wrote:
> As a workaround I use /proc/self/mountinfo as it gives me major and
> minor numbers.
> 
> My question is: is there a way to force findmnt to use major and minor
> numbers from /proc/self/mountinfo to identify disks/partitions?

 Implemented (in upstream tree).

 $ findmnt 8:1
 TARGET    SOURCE    FSTYPE OPTIONS
 /boot/efi /dev/sda1 vfat   rw,relatime,fmask=0077,dmask=0077,codepage=cp437,ioch


 (or with "--source 8:1" option to make it more explicit)

    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