DragonFly BSD
DragonFly submit List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Verbosity Patch for mount_hammer


From: Jan Lentfer <Jan.Lentfer@xxxxxx>
Date: Sat, 24 Oct 2009 20:16:59 +0200

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
Description: Binary data



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]