lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 11 Nov 2009 08:45:42 +0100 From: Ingo Molnar <mingo@...e.hu> To: Jeff Garzik <jeff@...zik.org> Cc: Arjan van de Ven <arjan@...radead.org>, Wu Fengguang <fengguang.wu@...el.com>, linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org, Christoph Hellwig <hch@...radead.org>, Al Viro <viro@...IV.linux.org.uk>, Frederic Weisbecker <fweisbec@...il.com>, auke-jan.h.kok@...el.com Subject: Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function * Jeff Garzik <jeff@...zik.org> wrote: > On 11/11/2009 01:34 AM, Arjan van de Ven wrote: > >Wu Fengguang<fengguang.wu@...el.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, ... Without an inode->vfs-name lookup/matching service it's of limited utility though to developers and users. So inode numbers are fine (as nicely unique physical identifiers)- as long as corresponding vfs name string is available too. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists