Displaying 1 result from an estimated 1 matches for "attributue".
Did you mean:
attribute
2010 Nov 30
1
R: Re: [PATCH 5/5] btrfs: Add ioctl to set snapshot readonly/writable
...But other flags may make sense to live in btrfs_root_item->flags.
So I am suggesting to develop a more general
interface for future 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 req...