Verbosity Patch for mount_hammer

Jan Lentfer Jan.Lentfer at web.de
Sat Oct 24 11:16:59 PDT 2009


With the help of tuxillo and corecode (and others on irc) I enhanced the 
output a little more. If the mount fails it will now go through each 
device named on the command line to check which one caused the fail and 
will report this:

atom# ./mount_hammer /dev/dev1 /dev/ad11s2d /dev/dev2 /mnt
Not a valid HAMMER filesystem: /dev/dev1
Not a valid HAMMER filesystem: /dev/dev2
mount_hammer: mount /dev/dev1 /dev/dev2 on /mnt: Bad file descriptor
patch attached.

Cheers,

Jan
Attachment:
patch2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 1927 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20091024/9f3ff575/attachment-0015.bin>


More information about the Submit mailing list