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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <A8E9D047-55C8-4B41-98E6-D99BBA230CCB@mit.edu>
Date:	Tue, 18 Jan 2011 07:47:53 -0500
From:	Theodore Tso <tytso@....EDU>
To:	Artur Baruchi <mail.baruchi@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Inode - Kernel Mode


On Jan 18, 2011, at 5:28 AM, Artur Baruchi wrote:

> Hi Guys.
> 
> I'm able to get the inode number for a given file. Is there a way to
> get the file size, since I already have the inode ?

Not in a portable / file system independent way.

In Linux, file systems are not required to use inode numbers at all.

See:  http://www.openafs.org/pipermail/openafs-devel/2008-February/015805.html

-- Ted

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ