Red Hat Bugzilla – Bug 149261
gfs_fsck: Check that a device has been passed in
Last modified: 2010-01-11 22:03:25 EST
Description of problem:
If the command is run by itself (no block device provided) catch this
and print usage.
[root@link-08 ~]# gfs_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)
Steps to Reproduce:
Check added - should be in next release.
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 $?