Bug 561870 - mkfs.xfs now requires -f when operating on a regular file
Summary: mkfs.xfs now requires -f when operating on a regular file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xfsprogs
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Eric Sandeen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-04 15:24 UTC by Jim Meyering
Modified: 2013-03-13 20:41 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-05 21:29:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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