vol_id - probe filesystem type and read label and uuid
vol_id
vol_id will only return successful if the value asked for is not empty. All trailing whitespace will be removed, spaces replaced by underscore and slashes ignored.
Written by Kay Sievers <kay.sievers@vrfy.org>
udev(7)