LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1130|回复: 2

请问如何控制文件夹的大小??

[复制链接]
发表于 2004-2-25 14:31:40 | 显示全部楼层 |阅读模式
做了ftp服务器,登陆后看到文件夹的大小都是4k,有的是8k...

请问如何控制他们的大小呢??我以前曾登陆的服务器上,居然看到过0.5k的文件夹...

还有,我装的samba,每个文件夹里都有thumb.db这个win的文件...删除后,用win访问后又会再出来...

请问怎么解决呀!!!
发表于 2004-2-25 14:49:27 | 显示全部楼层
the size of directory depends on the file number in your directory and the system will automatically increase it when necessary. unfortunately, there's no way to decrease it unless you delete the folder and recreate it.

the thumb.db file is created by the windows client when they turn on the thumb view in windows explorer. there's no way to forbid creating it unless you don't give write permission to the client.
发表于 2004-2-25 16:04:57 | 显示全部楼层
文件夹的初始大小是由你创建文件系统时的参数决定的。
具体的 man mke2fs 就有了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表