|
发表于 2011-4-19 01:13:55
|
显示全部楼层
看/etc/slim.conf
- 53 # Available sessions (first one is the default).
- 54 # The current chosen session name is replaced in the login_cmd
- 55 # above, so your login command can handle different sessions.
- 56 # see the xinitrc.sample file shipped with slim sources
- 57 #sessions xfce4,icewm,wmaker,blackbox
- 58 # Alternatively, read available sessions from a directory:
- 59 #sessiondir /etc/X11/Sessions
- 60 sessions wmfs,awesome,kde,dwm
复制代码
配置slim.conf 和 .xinitrc
大小再小点儿?扔掉编译工具,把portage删了还能省点儿.
再就是用squash(最好是lzma)和aufs一起用,把系统压缩了,思路和slax有点像
我系统的 /usr 17G多,用上述方法后(是gzip,没用lzma)仅8.8G
- /usr/.squashed/include/include.sqsh
- 41M 41M 0 100% /usr/.squashed/include/ro
- include 20G 8.8G 10G 47% /usr/include
- /usr/.squashed/lib/lib.sqsh
- 1.5G 1.5G 0 100% /usr/.squashed/lib/ro
- /lib 20G 8.8G 10G 47% /usr/lib
- /usr/.squashed/lib32/lib32.sqsh
- 19M 19M 0 100% /usr/.squashed/lib32/ro
- /lib32 20G 8.8G 10G 47% /usr/lib32
- /usr/.squashed/libexec/libexec.sqsh
- 35M 35M 0 100% /usr/.squashed/libexec/ro
- libexec 20G 8.8G 10G 47% /usr/libexec
- /usr/.squashed/share/share.sqsh
- 4.2G 4.2G 0 100% /usr/.squashed/share/ro
- /share 20G 8.8G 10G 47% /usr/share
- /usr/.squashed/src/src.sqsh
- 584M 584M 0 100% /usr/.squashed/src/ro
- src 20G 8.8G 10G 47% /usr/src
- /home/darrenlee/mnt/main/squashed/mozilla.sqsh
- 895M 895M 0 100% /home/darrenlee/mnt/main/squashed/mozilla_ro
- mozilla 9.9G 6.5G 2.9G 70% /home/darrenlee/.mozilla
- /usr/.squashed/portage/portage.sqsh
- 601M 601M 0 100% /usr/.squashed/portage/ro
- portage 20G 8.8G 10G 47% /usr/portage
复制代码 |
|