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." "ufs on the BSDs and Mac HFS both shrink directories on the fly also." -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- 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/20150414131502.gc25...@ypig.lip.ens-lyon.fr