Bug 561870 - mkfs.xfs now requires -f when operating on a regular file
mkfs.xfs now requires -f when operating on a regular file
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: xfsprogs (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Eric Sandeen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-04 10:24 EST by Jim Meyering
Modified: 2013-03-13 16:41 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-02-05 16:29:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jim Meyering 2010-02-04 10:24:48 EST
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 16:29:17 EST
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

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