|
最近闲了无事,做了个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 |
|