I'd like a -r flag on btrfs subvolume delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rationale: cleaning up after containers, which may have created their own subvolumes.

E.g.
	systemd-nspawn —boot —directory dir

where dir is a subvolume. When done with the container, deleting fir directly doesn’t work, because we now also have a subvolume at
	dir/var/lib/machines
and obviously there may be more that the container might have created.

Cleaning this all up is a bit of pain, and
	btrfs subvolume delete -r dir
would solve it nicely.

Cheers,



Johannes Ernst
Blog: http://upon2020.com/
Twitter: @Johannes_Ernst
GPG key: http://upon2020.com/public/pubkey.txt
Check out UBOS, the Linux distro for personal servers I work on: http://ubos.net/

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux