Hello Group,

What command in linux does exist to get information about a volume hard
drive? what I'm trying to say is that I need to get some unique
information to separate a specific partition or one specific hard drive
from other hard drives (which has 2 or more) in a linux box.

Long story short, I'm writing a script to backup and user must not be
able to get a backup on the same partition or hard drive. How can I
check this to avoid or at least to generate a warning message?

Any advice? your help will be appreciated greatly.