Adam Majer c1d36a8acb Add support for btrfs subvolumes for user homes
new switch added to useradd command, --btrfs-subvolume-home. When
specified *and* the filesystem is detected as btrfs, it will create a
subvolume for user's home instead of a plain directory. This is done via
`btrfs subvolume` command.  Specifying the new switch while trying to
create home on non-btrfs will result in an error.

userdel -r will handle and remove this subvolume transparently via
`btrfs subvolume` command. Previosuly this failed as you can't rmdir a
subvolume.

usermod, when moving user's home across devices, will detect if the home
is a subvolume and issue an error messages instead of copying it. Moving
user's home (as subvolume) on same btrfs works transparently.
2019-05-03 22:38:23 -07:00
..
2011-09-18 21:02:43 +00:00
2008-05-25 23:31:10 +00:00
2017-10-22 18:33:13 +00:00
2017-03-01 22:51:09 +01:00
2017-03-01 22:51:09 +01:00
2017-10-22 19:17:02 +00:00
2018-06-18 15:51:27 +02:00
2010-08-22 13:04:54 +00:00
2017-10-22 19:08:39 +00:00
2017-10-22 18:33:13 +00:00
2013-08-04 15:56:32 +02:00
2010-08-22 13:04:54 +00:00
2010-08-22 13:04:54 +00:00
2018-06-24 00:13:12 -05:00
2011-11-06 18:40:06 +00:00