Bug 149261 - gfs_fsck: Check that a device has been passed in
Summary: gfs_fsck: Check that a device has been passed in
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: gfs
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: AJ Lewis
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-21 19:08 UTC by Derek Anderson
Modified: 2010-01-12 03:03 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-03-01 19:02:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Derek Anderson 2005-02-21 19:08:42 UTC
Description of problem:

If the command is run by itself (no block device provided) catch this
and print usage.

[root@link-08 ~]# gfs_fsck
Initializing fsck
Unable to open device: (null)

Version-Release number of selected component (if applicable):
GFS fsck 6.1-0.pre14 (built Feb 17 2005 11:54:20)

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 AJ Lewis 2005-02-22 22:06:52 UTC
Check added - should be in next release.

Comment 2 Derek Anderson 2005-03-01 19:02:08 UTC
Verified in GFS fsck 6.1-0.pre17 (built Feb 28 2005 11:34:01)

[root@link-08 /]# gfs_fsck
No device specified.  Use '-h' for usage.
[root@link-08 /]# echo $?
1


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