Bug 786215 - libguestfs inspection does not recognize FreeDOS operating system
Summary: libguestfs inspection does not recognize FreeDOS operating system
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-01-31 18:09 UTC by Richard W.M. Jones
Modified: 2012-03-07 18:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-07 18:12:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-01-31 18:09:34 UTC
Description of problem:

$ sudo virt-inspector /dev/vg_pin/FreeDOS11 
<?xml version="1.0"?>
<operatingsystems/>

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

1.17.3

How reproducible:

100%

Expected results:

><fs> list-filesystems 
/dev/vda1: vfat
><fs> mount /dev/vda1 /
><fs> ll /
total 172
drwxr-xr-x  3 root root 16384 Jan  1  1970 .
drwxr-xr-x 23 root root  4096 Jan 31 18:08 ..
-rwxr-xr-x  1 root root  1263 Jan 31 17:47 AUTOEXEC.BAT
-rwxr-xr-x  1 root root   512 Jan 31 17:47 BOOTSECT.BIN
-rwxr-xr-x  1 root root 66945 Aug 28  2006 COMMAND.COM
-rwxr-xr-x  1 root root   848 Jan 31 17:47 FDCONFIG.SYS
drwxr-xr-x 11 root root  8192 Jan 31 17:13 FDOS
-rwxr-xr-x  1 root root 45344 Jun 21  2011 KERNEL.SYS

><fs> ll /FDOS
total 216
drwxr-xr-x 11 root root  8192 Jan 31 17:13 .
drwxr-xr-x  3 root root 16384 Jan  1  1970 ..
drwxr-xr-x  2 root root  8192 Jan 31 17:14 APPINFO
-rwxr-xr-x  1 root root   937 Jul  6  2011 AUTOEXEC.TXT
drwxr-xr-x  2 root root  8192 Jan 31 17:14 BIN
-rwxr-xr-x  1 root root   512 Jan 31 17:47 BOOTSECT.BSS
-rwxr-xr-x  1 root root   611 Jun 22  2011 CONFIG.TXT
drwxr-xr-x  2 root root  8192 Jan 31 17:22 CPI
drwxr-xr-x 76 root root  8192 Jan 31 17:14 DOC
-rwxr-xr-x  1 root root   512 Jan 31 17:47 FREEDOS.BSS
drwxr-xr-x  5 root root  8192 Jan 31 17:15 HELP
-rwxr-xr-x  1 root root 17018 Jan 31 17:47 INSTALL.LOG
-rwxr-xr-x  1 root root  6389 Dec 20 00:47 LOCALIZE.EN
-rwxr-xr-x  1 root root  6389 Dec 20 00:47 LOCALIZE.TXT
-rwxr-xr-x  1 root root    16 Jul  7  2011 MTCP.CFG
drwxr-xr-x  2 root root  8192 Jan 31 17:15 NLS
drwxr-xr-x 37 root root  8192 Jan 31 17:14 PACKAGES
-rwxr-xr-x  1 root root 12362 Dec 20 00:50 POSTINST.BAT
-rwxr-xr-x  1 root root  3897 Jun 24  2011 POSTSET.BAT
drwxr-xr-x 86 root root  8192 Jan 31 17:14 SOURCE
-rwxr-xr-x  1 root root  1146 Jul 24  2011 SYSLINUX.CFG
drwxr-xr-x  2 root root  8192 Jan 31 17:47 TEMP
-rwxr-xr-x  1 root root    89 Aug 11  2005 WATTCP.CFG

><fs> cat /AUTOEXEC.BAT 
@echo off 
SET LANG=EN 
SET MTCPCFG=C:\FDOS\MTCP.CFG 
SET WATTCP.CFG=C:\FDOS 
SET PATH=%dosdir%\BIN
[etc etc]

See also bug 786188.

Comment 1 Richard W.M. Jones 2012-03-07 18:12:05 UTC
Fixed in 1.17.12.


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