lib: docs: guestfs_list_filesystems no longer needs to be used soon after launch when nothing is mounted.

guestfs_list_filesystems uses mount/umount to discover btrfs
sub-volumes and since 1.37 it generates random mountpoint so it will
longer affect already mounted filesystems if either.
This commit is contained in:
Mykola Ivanets
2018-01-23 11:37:26 +02:00
committed by Richard W.M. Jones
parent c3dd3f51a6
commit 24d1d46c98

View File

@@ -9672,9 +9672,11 @@ The value can have the special value \"unknown\", meaning the
content of the device is undetermined or empty.
\"swap\" means a Linux swap partition.
This command runs other libguestfs commands, which might include
C<guestfs_mount> and C<guestfs_umount>, and therefore you should
use this soon after launch and only when nothing is mounted.
In libguestfs E<le> 1.36 this command ran other libguestfs commands,
which might have included C<guestfs_mount> and C<guestfs_umount>, and
therefore you had to use this soon after launch and only when
nothing else was mounted. This restriction is removed in libguestfs
E<ge> 1.38.
Not all of the filesystems returned will be mountable. In
particular, swap partitions are returned in the list. Also