Bug 823883 - virt-make-fs -t fat fails with an obscure error message
Summary: virt-make-fs -t fat fails with an obscure error message
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-05-22 11:29 UTC by Richard W.M. Jones
Modified: 2012-05-24 11:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-24 11:33:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-05-22 11:29:31 UTC
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 11:31:34 UTC
Fixed upstream in commit 975a41db20eff2b5edf510f8a65005c915b21f27.


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