[sleuthkit-developers] output of ntfs file names.
Brought to you by:
carrier
From: Lee A. <ay...@in...> - 2011-01-19 19:52:19
|
In the current version of ntfs.c multiple names are concatenated together and separated by white space. This makes multiple names difficult to distinguish from file names with white space in them. I propose that a change be made to the formatting of names for output. My understanding is that ntfs allows for any character but null and '/'. Separating the values with '/' characters would seem to me to be a compliant choice, however it might confuse users. In practice the names could be surrounded with quote characters since Windows doesn't allow them and in my experience they are very uncommon even in environments and filesystems where they are allowed. If you are willing to put just a small bit of cognitive burden on the human viewer the name string could be escaped with \" replacing literal double quotes and \\ replacing literal backslashes. Alternately, the output can have multiple "Name" lines. I'm happy to submit a patch that implements any one of the alternatives if needs be. P.S. If one wants to get terrifically pedantic, I see nothing to indicate that new-lines are disallowed in ntfs file names. Am I wrong about that, and if not what effect might that have on the choice of an output strategy? -- Lee T. Ayres, Senior Analyst Interhack Corporation http://web.interhack.com/ +1 614 545 4225 |