diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-05-02 16:14:41 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-05-02 16:33:23 +0100 |
commit | 620ad8eb1a5df298c5701a7b438b12f9627f06ab (patch) | |
tree | e8cf3f33bcf6dce8918dfb6040e9c3735bd97ca0 /generator | |
parent | 79bf966ceaa3508698f19bdc951ffc51693eb499 (diff) | |
download | libguestfs-620ad8eb1a5df298c5701a7b438b12f9627f06ab.tar.gz libguestfs-620ad8eb1a5df298c5701a7b438b12f9627f06ab.tar.xz libguestfs-620ad8eb1a5df298c5701a7b438b12f9627f06ab.zip |
fish: glob command now expands /dev/ patterns (RHBZ#635971).
For example:
><fs> glob echo /dev/*
/dev/vda
/dev/vda1
/dev/vda2
/dev/vda3
><fs> glob echo /dev/v*/*
/dev/vg_f16x64/lv_root
/dev/vg_f16x64/lv_swap
Diffstat (limited to 'generator')
-rw-r--r-- | generator/generator_actions.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index ace46cb1..6948dab3 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -3700,7 +3700,11 @@ If no paths match, then this returns an empty list It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|GLOB_BRACE>. -See that manual page for more details."); +See that manual page for more details. + +Notice that there is no equivalent command for expanding a device +name (eg. C</dev/sd*>). Use C<guestfs_list_devices>, +C<guestfs_list_partitions> etc functions instead."); ("scrub_device", (RErr, [Device "device"], []), 114, [Optional "scrub"], [InitNone, Always, TestRun ( (* use /dev/sdc because it's smaller *) |