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:
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 $? 1