Bug 823883 - virt-make-fs -t fat fails with an obscure error message
virt-make-fs -t fat fails with an obscure error message
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-22 07:29 EDT by Richard W.M. Jones
Modified: 2012-05-24 07:33 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-24 07:33:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2012-05-22 07:29:31 EDT
Description of problem:

I thought that 'fat' would be a valid filesystem type, but
apparently it's not:

$ virt-make-fs -t fat --partition=mbr libguestfs-1.18.0.tar.gz disk.img
Formatting 'disk.img', fmt=raw size=44308070 
mkfs: fat: /dev/vda1: mkfs.fat: No such file or directory at /usr/bin/virt-make-fs line 459.

(-t vfat works).  I think the error message could be improved.
Could we also have a way to detect what filesystems are supported
by various operations (eg. mount, mkfs, etc?)

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

1.18.0.

How reproducible:

100%

Steps to Reproduce:
1. As above.
Comment 1 Richard W.M. Jones 2012-05-24 07:31:34 EDT
Fixed upstream in commit 975a41db20eff2b5edf510f8a65005c915b21f27.

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