On Tue, 23 Jan 2018 23:05:12 -0500 David T-G <davidtg-robot@justpickone.org> wrote:
Dave, et al --
...and then Dave Howorth said... % % On Tue, 23 Jan 2018 22:57:18 +0100 % Bernhard Voelker <mail@bernhard-voelker.de> wrote: % % > On 01/23/2018 09:00 PM, jdd@dodin.org wrote: % > > so even non existent and not openned files can take place... any % > > way to reclame the space? % > % > AFAIK no. The only workaround I know is to create a new % > directory "d1.new", move all remaining entries (if any) from "d1" % > to "d1.new", then rmdir "d1" and rename "d1.tmp" to "d1". % % I take it you meant to say 'copy' (cp) rather than 'move' (mv) since % move will just change the directory pointers. [snip]
No, I think he meant move. The problem is that the original "d1" has slots for thousands of files but only a few actually in use, and the fix is simply to create a new directory into which to swing (not copy, same inodes & extents, etcetc) those files before removing the emptied original directory.
Ah, sorry. I didn't realize the discussion was just about the directories rather than the files.
HTH & HANN
:-D
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org