Re: Ideas to do custom operation just after mount?

Anand Jain
2015-12-21T05:19:18Z

> BTW, any good idea for btrfs to do such operation like
> enabling/disabling some minor features? Especially when it can be set on
> individual file/dirs.
>
> Features like incoming write time deduplication, is designed to be
> enabled/disabled for individual file/dirs, so it's not a quite good idea
> to use mount option to do it.
>
> Although some feature, like btrfs quota(qgroup), should be implemented
> by mount option though.
> I don't understand why qgroup is enabled/disabled by ioctl. :(

mount option won't persist across systems/computers unless remembered by
human.

Thanks, Anand