LinuxSir.cn,穿越时空的Linuxsir!

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

还想进一步精简下自己最的防火墙rootfs

[复制链接]
发表于 2012-1-13 08:31:26 | 显示全部楼层 |阅读模式
最近闲了无事,做了个archlinux基础的防火墙,自己写了层管理API

不过xz压缩后,系统还有100M左右大小,想压得的更小,所以想请教下,还有那些文件可以删除?

我已经删除了一部分,locale, src, 等,测试无碍。

[SecWall: /]# du -sh *
4.6M    bin
0         dev
11M     etc
0         home
4.0K    init
8.0K    init_functions
84M     lib
0         mnt
du: cannot access `proc/907/task/907/fd/3': No such file or directory
du: cannot access `proc/907/task/907/fdinfo/3': No such file or directory
du: cannot access `proc/907/fd/3': No such file or directory
du: cannot access `proc/907/fdinfo/3': No such file or directory
0        proc
0        root
160K  run
6.0M  sbin
0       sys
4.0K  tmp
253M usr
5.0M  var

[SecWall: usr]# du -sh *
29M     bin
139M   lib
12M     sbin
66M     share
9.1M    src
发表于 2012-1-13 11:00:16 | 显示全部楼层
强帖留名,沙发,哈哈
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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