Bug 132543

Summary: -C <fd> option to fsck doesn't work.
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: e2fsprogsAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
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: 2004-09-17 14:15:24 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 Bill Nottingham 2004-09-14 16:51:33 UTC
e2fsck supports -C <fd> to output progress data to an auxillary
filedescriptor.

However, /sbin/fsck doesn't properly handle this option.

/sbin/fsck -C4 /dev/sda1
gets translated to:

e2fsck -4 -C0 /dev/sda1

Comment 1 Thomas Woerner 2004-09-16 15:31:54 UTC
e2fsprogs-1.35-9.5:

e2fsck -C4 -f /tmp/boot.img 4> test
Has written completion information to test.


Comment 2 Bill Nottingham 2004-09-16 18:58:58 UTC
It works in e2fsck, but you can't pass it to /sbin/fsck and get it
passed right. i.e., /sbin/fsck -C4 -f /tmp/boot.img wouldn't work.

Comment 3 Thomas Woerner 2004-09-17 14:15:24 UTC
Fixed in rawhide in rpm e2fsprogs-1.35-11 or newer.