[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Finding out what partition/device a file is on?



Hi,

A friend of mine brought up a nice little problem. He's working on a machine 
that has three disks mounted to /usr (don't ask), and now he'd like to know  
what partition a certain file is on. So far, we've only found the "Device" 
entry in stat, but that only gives a numeric value that doesn't have a 
directly visible translation to anything mount can show.

Is there any existing tool that can answer the original question?

-- 
Got Backup?

Jabber: Shadowdancer at jabber.fsinf.de

Attachment: pgpSOlc9jsk_c.pgp
Description: PGP signature


Reply to: