[Info-vax] Re; Spiralog, RMS Journaling (was Re: FREESPADRIFT)

lawrencedo99 at gmail.com lawrencedo99 at gmail.com
Thu Jun 30 18:37:48 EDT 2016


On Friday, July 1, 2016 at 12:52:00 AM UTC+12, Johnny Billquist wrote:
> On 2016-06-30 09:15, Lawrence D’Oliveiro wrote:
>> On Wednesday, June 29, 2016 at 10:57:55 PM UTC+12, Johnny Billquist wrote:
>>> You just have some files/directories that you deleted, whose space on
>>> the disk have not been reclaimed yet.
>>
>> OK, so you collect these orphaned directories into lost+found.
> 
>> How do you delete them?
> 
> Delete all references to the directory, and the directory will be gone, 
> obviously. Which means that something like "rm -rf foo" will do it 
> properly, as it recursively first goes down and remove the entries 
> inside the directory before removing the directory itself.

But all those orphaned directories had their reference counts incremented by 1 when they were inserted into lost+found. So removing them from lost+found decrements these counts by 1. But since the counts were nonzero, they don’t get deleted, they simply go back to being orphaned again.

So how do you delete them?

> But this is all academic, as Unix systems today will not allow you to 
> create random hard links to directories anyway.

Time Machine does. And you kept saying this was no problem for filesystem integrity.



More information about the Info-vax mailing list