Bug 561870

Summary: mkfs.xfs now requires -f when operating on a regular file
Product: [Fedora] Fedora Reporter: Jim Meyering <meyering>
Component: xfsprogsAssignee: Eric Sandeen <esandeen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: esandeen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-05 21:29:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jim Meyering 2010-02-04 15:24:48 UTC
Description of problem:
mkfs.xfs FILE now fails when FILE is a regular file.


Version-Release number of selected component (if applicable):
xfsprogs-3.1.1-1.fc13.x86_64

How reproducible: always, for me,
but Christoph Hellwig could not reproduce it in a non-blkid env.

Steps to Reproduce:
1. 
2.dd if=/dev/zero of=k bs=1MB count=2 seek=20; mkfs.xfs k 
3.
  
Actual results:
mkfs.xfs: probe of k failed, cannot detect existing filesystem.
mkfs.xfs: Use the -f option to force overwrite.

Expected results:
no failure

Additional info:

Comment 1 Eric Sandeen 2010-02-05 21:29:17 UTC
s/b fixed in xfsprogs-3.1.1-2.fc13 with http://git.kernel.org/?p=fs/xfs/xfsprogs-dev.git;a=commitdiff;h=c2b707cf506c83ad4ab38c97c11cf358cc0bec88