Re: inode for a given vnode or filepath.
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=TC2lSNgBGX5BVMBqi2KVtryUETyEhoajt47TMKDauFE=; b=EmOjBUXGqxLVTlPqwKd6leHwgO9WfRyd66ddz2AC8LymsDnJx29AEhgCJaNOq8Whtj AYBRS8xbBoihsM4cOV/0VgKMOKcLkkjvHat82JnVPhYlpfuUEVJb5Fp/QclHZTWKSEYp ZhEIIe26RR8F2HySoOULlnKX3t1irc+iC7ofs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jH0tMz9w+NzASQSM1adDZqJz+W0uuYI300JqBLVwvTCy3GaB6YDn3HAqSgUoBiI3EH SK1zNbokkgSMIInAIjk+lvcOa6XIKH4I8kzgDuc+nQq2pCFL6mXftOoJvmO0mECzKi76 2H0NiBKSiWUDx+AaAqw8336zAvfV5lvvysDnY= Unfortunately, it doesn't seem to be supported by any kpi. Cheers, - Maxim. 2008/7/31 Lutz Helwing <lutzh@autonomy.com>:
To get the inode number from a path you can simply use stat(). The inode is stored in st_inode within the stat structure. Cheers, lutz
Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Maxim Zhuravlev