From: Andreas Dilger <adilger@clusterfs.com>
To: Bernd Schubert <bernd-schubert@web.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: inode generation numbers
Date: Tue, 9 Sep 2003 14:07:51 -0600 [thread overview]
Message-ID: <20030909140751.E18851@schatzie.adilger.int> (raw)
In-Reply-To: <200309092108.37805.bernd-schubert@web.de>; from bernd-schubert@web.de on Tue, Sep 09, 2003 at 09:08:37PM +0200
On Sep 09, 2003 21:08 +0200, Bernd Schubert wrote:
> for a user space nfs-daemon it would be helpful to get the inode generation
> numbers. However it seems the fstat() from the glibc doesn't support this,
> but refering to some google search fstat() from some (not all) other unixes
> does.
> Does anyone know how to read those numbers from userspace with linux?
For ext2/ext3 filesystems you can use EXT2_GET_VERSION ioctl for this.
Maybe reiserfs as well.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
next prev parent reply other threads:[~2003-09-09 20:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-09 19:08 Bernd Schubert
2003-09-09 20:07 ` Andreas Dilger [this message]
2003-09-09 22:53 ` Bernd Schubert
2003-09-11 7:03 ` Oleg Drokin
2003-09-10 8:18 ` Nikita Danilov
2003-09-10 0:04 ` Andries Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030909140751.E18851@schatzie.adilger.int \
--to=adilger@clusterfs.com \
--cc=bernd-schubert@web.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®