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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to