Whamcloud - gitweb
debugfs: Add -p option to ls subcommand.
authorTheodore Ts'o <tytso@mit.edu>
Fri, 4 Jan 2008 20:28:51 +0000 (15:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 4 Jan 2008 20:28:51 +0000 (15:28 -0500)
commitd056b99191c87a68dc73ef01817169fb8f50afbd
tree470e58f9f0377af11ffc6380563ce2ffb90acbff
parentfef2b38d8e5b475655771f8208265a8fa9246601
debugfs: Add -p option to ls subcommand.

Originally submitted by Jason Pyeron:

While working with a compromized system (suckit root kit) hidden files
were viewable by debugfs but not any other utility.  When spaces and
tabs were put into the directory names defugfs did not "show" them.

"ls -p" quotes the output so is can be parsed easily.

Addresses-Red-Hat-Bugzilla: #149480
Addresses-Sourceforge-Feature-Request: #1201667

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/debugfs.8.in
debugfs/ls.c