[Libguestfs] missing btrfs subvol support
Olaf Hering
olaf at aepfle.de
Fri Oct 10 13:07:51 UTC 2014
On Fri, Oct 10, Richard W.M. Jones wrote:
> My guess is that the last one (opt/value) will be different for you.
Thanks for the pointers. I will poke around. At least augtool on the
host seems to behave correctly:
olaf at bax:~ $ cd /dev/shm/$$
bash: cd: /dev/shm/3570: Datei oder Verzeichnis nicht gefunden
olaf at bax:~ $ mkdir $_
olaf at bax:~ $ cd $_
olaf at bax:/dev/shm/3570 $ mkdir etc
olaf at bax:/dev/shm/3570 $ cat > etc/fstab
UUID=d538a81f-9778-424d-96cc-e48dd2d4a323 swap swap defaults 0 0
UUID=65b72f12-eccb-4cf2-a4f4-9c4bb462456f / btrfs defaults 0 0
UUID=65b72f12-eccb-4cf2-a4f4-9c4bb462456f /var/spool btrfs subvol=@/var/spool 0 0
olaf at bax:/dev/shm/3570 $ augtool -r $PWD
augtool> ls /files/etc/fstab/3/vfstype
augtool> get /files/etc/fstab/3/vfstype
/files/etc/fstab/3/vfstype = btrfs
augtool> get /files/etc/fstab/3/opt/value
/files/etc/fstab/3/opt/value = @/var/spool
augtool>
I will poke around to see what I find.
Olaf
More information about the Libguestfs
mailing list