LWN.net Logo

dirsplit

dirsplit

Posted Apr 16, 2007 2:53 UTC (Mon) by daa (guest, #44680)
In reply to: dirsplit by bryanlarsen
Parent article: GAFFitter: the Genetic Algorithm File Fitter

Unless you specify the subdirectories also as input files, the GAFFitter won't break them. Suppose you have the following directory structure:

a
|-- b
`-- c

Thus, 'gaffitter -t 700 a' is different than 'gaffitter -t 700 a/*' (i.e. 'gaffitter -t 700 a/b a/c'). While the first will consider the directory 'a' as one entity (recursively including 'b' and 'c'), the second may eventually put the subdirectories 'b' and 'c' in different volumes.

Moreover, if you want to preserve the order of the given files/dirs then you may use the '--split' option. This normally doesn't produce very good fit, however.


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds