:: Re: [DNG] rm not freeing space
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ludovic Bellière
日付:  
To: dng
題目: Re: [DNG] rm not freeing space


On Sun, 14 Mar 2021 22:28:32 -0700
Marc Shapiro via Dng <dng@???> wrote:

> > It may also be possible that the files you removed have other
> > references on your file system, aka. hard links. To find them, you
> > would need to know the inode number, either by using `stat` or `ls
> > -i`. You can then find them using `find -inum`.
> >
> > Since you already removed the files, you most likely can't know the
> > inode number. However you could throw a `find $path -size
> > n[cwbkMG]` to list the files with the matching size.
>
> I'm not following you on this.  What is this going to do for me?
> 'find' is only going to show undeleted files.  How does this help?


If rm doesn't free space, that means the file isn't gone. Thus you need
to find it. The find command can help you in that endeavor. Another
software (or kind of software) would be xdiskusage, which will tell you
where the big files are.

That is, of course, if you drive isn't corrupted.