Bug 719943

Summary: GFS2: mkfs.gfs2 doesn't work on regular files
Product: [Fedora] Fedora Reporter: Andrew Price <anprice>
Component: gfs2-utilsAssignee: Andrew Price <anprice>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adas, agk, bmarzins, fdinitto, rpeterso, swhiteho
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 720668 720935 (view as bug list) Environment:
Last Closed: 2011-07-11 16:54:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 720668, 720935    
Attachments:
Description Flags
Patch to handle regular files
none
Patch to handle regular files, v2 none

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.