Messages in this thread | | | Date | Wed, 11 Nov 2009 02:42:39 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function |
| |
On 11/11/2009 01:34 AM, Arjan van de Ven wrote: > Wu Fengguang<fengguang.wu@intel.com> wrote: >> Maybe this is enough for POWERTOP, however for general use, the dirty >> type(data/metadata) and inode number may be valuable to some users? > > what can a user do with an inode number????
Inode numbers have always been visible to userspace... IIRC, tar(1) uses the st_ino member of struct stat to detect hard links in certain cases. ls(1) displays inode numbers with -i, find(1) looks for them with -inum, ...
Jeff
| |