Use fsck to free the space used by dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I read through the namei.c code recently, but didn't notice any code to
reduce the size of a dir file (append can increase its size though).

I wonder if I create large amount of files under dir A, then remove all
the sub items, do I need to run fsck to free the disk space used by the
dir file? 

Please help confirm or if I missed some points.


Regards,
Sheng-Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux