Re: [PATCH] btrfs-progs: dump-tree: Introduce --nofilename option

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

 



On Fri, Nov 15, 2019 at 04:52:07PM +0100, David Sterba wrote:
> On Mon, Nov 11, 2019 at 03:24:35PM +0800, Qu Wenruo wrote:
> > In the mail list, it's pretty common that a developer is asking dump tree
> > output from the reporter, it's better to protect those kind reporters by
> > hiding the filename if the reporter wants.
> 
> That's useful. Can we name it '--hide-filenames' ? You describe it in
> the text and I think this expresses what it does and hopefully will be
> clear to random users what the options does.

> Idea to consider: print a placeholder, like "name: HIDDEN", to keep the
> format of dump the same. It can also simplify the code.

So with the above implemented, the option is now --hide-names and prints
HIDDEN instead of various names.



[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