`chattr +Cm foo`(SUCCESS) vs `chattr +C foo; chattr +m foo`(FAILURE)

Viewed 14

On my btrfs system, chattr +Cm worked. (It means no copy on write and don't compress).

However, when the flags separated into chattr +C and chattr +m, the latter fails.
Only the latter prints error even if these also run in reverse order or use btrfs prop set foo compression no instead of chattr +m.

Why does chattr +Cm(or chattr +mC) succeed although the other ways fail?

Extract from my /etc/fstab for reference:

UUID=...  /home  btrfs  rw,noatime,compress=lzo,ssd,space_cache,commit=120,subvol=@home  0 0
0 Answers
Related