summaryrefslogtreecommitdiffstats
path: root/fish/options.c
Commit message (Collapse)AuthorAgeFilesLines
* fish: When -m option fails, canonicalize device names that are printed.Richard W.M. Jones2011-12-021-0/+15
| | | | | | | | | | | | The error message now looks like this: guestfish: '/dev/vda6' could not be mounted. Did you mean one of these? /dev/sda1 (ext4) /dev/vg_f15x32/lv_root (ext4) /dev/vg_f15x32/lv_swap (swap) Note that '/dev/sda1' has been canonicalized. (cherry picked from commit f5bfc68fdb3e25b9d75c65e3f5e88983584b25ed)
* fish: Rearrange code for displaying mountpoints when -m option fails.Richard W.M. Jones2011-12-021-12/+33
| | | | | This also frees the list returned by guestfs_list_filesystems. (cherry picked from commit 450134501c37f1dd1b898dc390591a3f84ec18b4)
* fish: fuse: Add -m dev:mnt:opts to allow mount options to be specified.Richard W.M. Jones2011-03-281-2/+9
| | | | | | | | | | | | | This lets you turn on ACLs and xattrs by doing: -m /dev/sda1:/:acl,user_xattr The extra parameter is passed through to mount_options: libguestfs: trace: mount_options "acl,user_xattr" "/dev/sda1" "/" Notes: Labels: feature
* fish: Keep device names in options drives list.Richard W.M. Jones2010-11-251-6/+10
| | | | | | | In the 'struct drv *drvs' structure, keep a list of the device name(s) for each added drive or guest. The device name is the canonical name as that drive would be known inside libguestfs, eg. "/dev/sda"
* Unify guestfish and guestmount options processing (RHBZ#642932).Richard W.M. Jones2010-10-271-0/+160
In guestfish, factor out the processing of the options -a, -c, -d, -i, -m, -n, -r, -v, -V, -x into a separate set of files: options.c, options.h, inspect.c, virt.c. Change guestmount so that it uses these same files (from the ../fish directory) to process the same options. This unifies the handling of these options between the two programs. It also adds the useful inspection feature to guestmount, so you can now do: guestmount -d Guest -i --ro mnt/