On 06May2010 05:24, Nobody <nob...@nowhere.com> wrote:
| On Thu, 06 May 2010 10:21:45 +1000, Cameron Simpson wrote:
| 
| > Look at the st_rdev field (== the device holding this inode).
| > When that changes, you've crossed a mount mount point.
| 
| st_dev reports the device on which the inode resides.
| 
| st_rdev is only meaningul if the inode type is block device (S_IFBLK) or
| character device (S_IFCHR), in which case it identifies the device to
| which the inode refers, e.g.:

Gah. Yes, you're quite right. st_dev is what I should have been citing.
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

It's better, when you're riding with someone you don't know so well, to stick
to the inside line - it's easier to avoid the bits...
        - Barry Sheene
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to