Hi Jonathan, On Fri, 20 Jul 2012 22:35:38 -0500, Jonathan Nieder <[email protected]> wrote: > Jonathan Nieder wrote: > > How about this patch (untested)? > > Passed upstream.
Thanks for taking care of that, sorry I dropped the ball. As you mentioned previously this is a bit of a conundrum, in particular with hard links in different directories... The way I like to think of gdmap is as a disk-space-management program, usually used when space needs to be freed. So the space represented visually needs to be reasonably accurate, and the representation needs to indicate the actions required to free space... For hard links in the same directory, I'm thinking it might be nicer to have a single block with all filenames mapped to it: this gives an accurate representation of the single block, and indicates that all filenames must be unlinked for the block to be freed. This falls down somewhat in the multiple folder scenario though! I don't have an answer yet, I'll keep thinking about it. If you have any ideas obviously I'd be interested! Regards, Stephen
signature.asc
Description: PGP signature

