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