Messages in this thread | | | Date | Wed, 10 Sep 2003 02:04:16 +0200 | From | Andries Brouwer <> | Subject | Re: inode generation numbers |
| |
On Tue, Sep 09, 2003 at 09:08:37PM +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: The i_generation field of a file can be read and set using the EXT2_IOC_GETVERSION and EXT2_IOC_SETVERSION ioctls.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |