Messages in this thread | | | Date | Sat, 19 Nov 2016 08:27:25 +1100 | From | Dave Chinner <> | Subject | Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available |
| |
On Fri, Nov 18, 2016 at 10:29:04AM +0000, David Howells wrote: > Dave Chinner <david@fromorbit.com> wrote: > > > > (13) FS_IOC_GETFLAGS value. These could be translated to BSD's st_flags. > > > Note that the Linux IOC flags are a mess and filesystems such as Ext4 > > > define flags that aren't in linux/fs.h, so translation in the kernel > > > may be a necessity (or, possibly, we provide the filesystem type too). > > > > And we now also have FS_IOC_FSGETXATTR that extends the flags > > and information userspace can get from filesystems. > > Btw, can you point me at the manpage that defines the fsxattr struct and its > flags?
man xfsctl is the original source. However, ....
> Also, ioctl_list(2) should probably include FS_IOC_FS[GS]ETXATTR.
... I thought patches had been sent to Michael to document them at the VFS ioctl level. maybe I confused it with something else.....
Cheers,
Dave. -- Dave Chinner david@fromorbit.com
| |