Displaying 1 result from an estimated 1 matches for "btrfs_flags_xxxx".
Did you mean:
btrfs_flag_xxxx
2010 Nov 30
1
R: Re: [PATCH 5/5] btrfs: Add ioctl to set snapshot readonly/writable
...re improvement. These pair of functions (*_set/get) should
be use to
set the subvolume/snapshot properties. And the RDONLY is one of them.
In the detail to set an attributue an user should be:
- get the subvolume flags (ioctl(fd, BTRFS_IOC_SNAP_GETFLAGS....) )
- compute the new flags ( flags |= BTRFS_FLAGS_XXXX or flags &=
~BTRFS_FLAG_XXXX)
- set the subvolume flags (ioctl(fd, BTRFS_IOC_SNAP_SGETFLAGS....) )
>
>- It seems to me there''s no user requirement for getflags ioctl to
>return _RDONLY/_WRITABLE flags of a tree root?
And how an user/admin can understand that a snapshot/subv...