Re:[PATCH] btrfs-progs: btrfs-debugfs: Display usage hint with no arguments

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

 



Yes. /mnt/file.txt is a mandatory argument. And -h/-b/-f are optional arugments. But the issue is, one of these optional argument is must. If we run:

btrfs-debugfs /mnt/file.txt

doesn't produce any output at all. From time to time, I run 'btrfs-debugfs /path/to/file'  and wonder why no output received then realize I must pass either -f or -b.  (May be '-f' needs be to set as 'default' when  no optional argument is provided.)

Overall, the current patch provides verbose message and does nothing more, it can be ignored. End user needs to remember -f or -b must be passed for valid outputs.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux