Open globalcitizen opened 11 years ago
You most likely want to handle brtfs volumes as well for btrfs aficionados :) If you are a zfs fan, this is mostly something to handle as well and should be similarly done. Last but not least, one thing that current lxc-create does not handle is lvm thin volume or whatever is the feature again to create a minimal image to bootstrap your new volume with copy-on-write internally which should speed things up a fair bit.
OK, so...
/proc/filesystems
... mkfs.${FILESYSTEM} /dev/target
to failmkfs.${FILESYSTEM}
as a default command line, prompting the user to confirm (ie. they can add custom options, have a script handle free space calculations, quotas, advanced creation logic, etc.)mkfs.${FILESYSTEM}
could be rolled in to lxc-gentoo
for filesystems on which that is always a bad ideaSnapshot and thin provisioning support segmented to issue #42.
Rough thinking at present is:
mount
is expected to correctly detect the filesystem type)