From 24d1d46c98f0ff84a9d7bd5b34369e8d8bc1eb8b Mon Sep 17 00:00:00 2001 From: Mykola Ivanets Date: Tue, 23 Jan 2018 11:37:26 +0200 Subject: [PATCH] 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. --- generator/actions_core.ml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/generator/actions_core.ml b/generator/actions_core.ml index ed8cb164e..544cb6ea7 100644 --- a/generator/actions_core.ml +++ b/generator/actions_core.ml @@ -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 and C, and therefore you should -use this soon after launch and only when nothing is mounted. +In libguestfs E 1.36 this command ran other libguestfs commands, +which might have included C and C, and +therefore you had to use this soon after launch and only when +nothing else was mounted. This restriction is removed in libguestfs +E 1.38. Not all of the filesystems returned will be mountable. In particular, swap partitions are returned in the list. Also