On Tue, Apr 14, 2015 at 03:15:02PM +0200, Vincent Lefevre wrote: > On 2015-04-14 12:15:03 +0300, Reco wrote: > > On Tue, Apr 14, 2015 at 09:22:15AM +0200, Petter Adsen wrote: > > > On Tue, 14 Apr 2015 10:12:28 +0300 > > > Reco <recovery...@gmail.com> wrote: > > > > On Tue, Apr 14, 2015 at 08:58:20AM +0200, Petter Adsen wrote: > > > > Removing files from the directory does not change directory's inode > > > > size. If using ext4, at least. > > > > > > Interesting. Also good to know. Thank you :) > > > > > > But if you create new files in that directory after deleting them, I > > > expect the inodes get reallocated? > > > > Yes, they should. > > > > > > > Is this specific to Linux/ext4? > > > > No. I'm not sure about vxfs, btrfs and zfs (or rather - lazy to check > > it), but for ext family, ufs and jfs2 - it works all the same. > > According to comments on > > http://unix.stackexchange.com/questions/38639/how-to-compact-a-directory > > "xfs autoshrinks directories that have had files removed from them."
I did not mention xfs, but it's nice to know, thanks. > "ufs on the BSDs and Mac HFS both shrink directories on the fly also." We don't do BSD here. Ufs they put in Solaris does not do this :) Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150414135759.GA25062@x101h