I am handed a path of a directory or a file.
Which utility/shell script will reliably give me the UUID of the file system on which is this directory/file located?
By UUID of file system I mean the
UUID=... entry as shown by e.g.
I'm using Redhat Linux.
(someone suggested that I should ask this here at unix.stackexchange.com, so I moved it from the original stackexchange.com)