Bug 859876

Summary: guestfish printed paths are not canonicalized
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, mbooth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-11 13:19:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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