On 28.04.10 14:06, Edward Ned Harvey wrote:
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
boun...@opensolaris.org] On Behalf Of Edward Ned Harvey
Look up the inode number of README. (for example, ls -i README)
(suppose it’s inode 12345)
find /tank/.zfs/snapshot -inum 12345
Problem is, the find command will run for a long time.
Is there any faster way to find the file name(s) when all you know is
the inode number? (Actually, all you know is all the info that’s in
the present directory, which is not limited to inode number; but, inode
number is the only information that I personally know could be useful.)
Due to lack of response, and based on my personal knowledge, and lack of any
useful response anywhere else I've asked this question, I'm drawing the
conclusion it's not possible to quickly lookup the name(s) of an inode.
no - consider hard links. (and sorry for not answering sooner, this obvious
one didn't occur to me earlier).
Michael
--
michael.schus...@oracle.com http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss