Bug 719943 - GFS2: mkfs.gfs2 doesn't work on regular files
Summary: GFS2: mkfs.gfs2 doesn't work on regular files
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gfs2-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrew Price
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 720668 720935
TreeView+ depends on / blocked
 
Reported: 2011-07-08 13:25 UTC by Andrew Price
Modified: 2011-07-13 09:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 720668 720935 (view as bug list)
Environment:
Last Closed: 2011-07-11 16:54:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to handle regular files (2.53 KB, patch)
2011-07-11 14:26 UTC, Andrew Price
no flags Details | Diff
Patch to handle regular files, v2 (3.08 KB, patch)
2011-07-11 16:22 UTC, Andrew Price
no flags Details | Diff

Description Andrew Price 2011-07-08 13:25:32 UTC
Description of problem:

$ dd if=/dev/null of=sparse-file bs=1 count=0 seek=1T
$ ./mkfs.gfs2 -t foo:bar sparse-file 
../../gfs2/libgfs2/libgfs2.h: sparse-file is not a block device

Comment 1 Andrew Price 2011-07-11 14:26:52 UTC
Created attachment 512229 [details]
Patch to handle regular files

Comment 2 Andrew Price 2011-07-11 16:22:20 UTC
Created attachment 512257 [details]
Patch to handle regular files, v2

Comment 3 Andrew Price 2011-07-11 16:54:36 UTC
Patch v2 is now in gfs2-utils.git. Closing as UPSTREAM.


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