On Thu, 2007-02-01 at 18:40 -0700, Andreas Dilger wrote: > On Feb 01, 2007 12:41 -0800, Mingming Cao wrote: > > On Thu, 2007-02-01 at 19:32 +0000, Dave Kleikamp wrote: > > > Yeah, I did see that. I wonder adding some inode or file operation just > > > to query the existence of those attributes (or something more generic) > > > would be too ugly. > > > > I gave a brief thought on that yesterday, it was not very pretty:) > > Actually, the major filesystems (ext3, reiserfs, jfs, xfs) all use the > same lsattr/chattr ioctl as ext2 (EXT2_IOC_GETFLAGS). Maybe this code > can just do an ioctl inside the kernel? Al Viro will love that one. :-) Another idea might be to store those attribute flags in the generic inode. Shaggy -- David Kleikamp IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html