Re: File Monitoring under Mac OS X
fs_usage doesn't seem to give me the absolute path and it also truncates the path beyond a certain length as it has says in the man pages. It is my understanding that the FreeBSD file system, which is the one used in the Darwin kernel of Mac OS is stackable. Is writing a loadable module on top of this a better option? Thanks Krishna Monian --- Jonas Maebe <jonas@zeus.ugent.be> wrote:
On 21 jun 2004, at 22:03, Krishna Monian wrote:
What is "the complete path"? In world with hard
links, one file can
have countless "complete paths".
What I mean is the actual path for a given file
and
not just a relative path.
/Users/admin/.... and so on
And what I mean is that a file may have more than
one actual path and
location, and that it wouldn't surprise me if inside
the kernel there
is no notion of "the path" to a file, only some
location on disk
(possibly together with whatever the user specified,
but as you noted
that does not have to be a complete path)
Jonas
_______________________________________________
darwin-kernel mailing list |
darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be
ignored.
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Krishna Monian