On Tue 08 Nov 2016 at 04:58:05 (-0600), Richard Owlett wrote: > On 11/7/2016 8:36 PM, Michael Lange wrote: [...] > >I think that the command Brian suggested: > > > > udevadm info --query=property --name=/dev/sda1 | grep ID_FS_TYPE > > > >used with every partition that is returned by > > > > cat /proc/partitions > > > >might be a good option for the OP. > > Actually I now have two options, "udevadm info" and "/sbin/blkid". > >From Brian's comment on bug #776905, in future releases "blkid" > may be an option.
You may find useful information in /run/udev/data/b8:0 etc without having to run any commands yourself. These files stay up to date as devices are plugged/unplugged. Cheers, David.