Bug 859876 - guestfish printed paths are not canonicalized
Summary: guestfish printed paths are not canonicalized
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-24 09:12 UTC by Richard W.M. Jones
Modified: 2012-10-11 13:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-11 13:19:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-09-24 09:12:22 UTC
Description of problem:

$ sudo guestfish --ro -a /dev/vg_data/F19Rawhidex64 -i

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

Operating system: Fedora release 18 (Spherical Cow)
/dev/mapper/vg_f18rawhidex64-lv_root mounted on /
/dev/sda2 mounted on /boot

Note the "/dev/mapper/..." path.  These paths should be
canonicalized.

Version-Release number of selected component (if applicable):

guestfish 1.19.43.

Comment 1 Richard W.M. Jones 2012-09-24 09:12:52 UTC
><fs> cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Mar 28 11:33:08 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_f18rawhidex64-lv_root /                       ext4    defaults        1 1
UUID=9fcd9921-b5c0-4b67-83e4-cb18c3dba140 /boot                   ext4    defaults        1 2
/dev/mapper/vg_f18rawhidex64-lv_swap swap                    swap    defaults        0 0

Comment 2 Richard W.M. Jones 2012-10-11 13:19:38 UTC
Fixed upstream in commits:
c34dcf184ef4eaa35634d1696e0c68d21b811170
f4a2aecd5ff4904994d75ad92b50a834d40eef17

The output is now:

Operating system: Fedora release 19 (Rawhide)
/dev/vg_f18rawhidex64/lv_root mounted on /
/dev/sda2 mounted on /boot


Note You need to log in before you can comment on or make changes to this bug.