邂逅tinycore4——于万斯年

tinycore我最喜欢的一点是,它不保存过多的东西。当然好多人会把这个特性看成缺点。凡是给kernel传入tce的路径,执行
sudo backup便能把用户目录所做的更改保存下来。

还记得我们发现的镜像地址的文件吗?

在/opt目录下还有几个文件,它们都很有用

  1. .filetool.list
    这个隐藏文件记录了默认要保存哪些文件夹
    cat .filetool.list
home
opt

你若想保存其它的文件夹,加在后面便可,如:
echo etc > .filetool.list

  1. bootlocal.sh
    这个文件用于在系统系统时执行命令:
    cat bootlocal.sh
#!/bin/sh
# put other system startup commands here
  1. bootsync.sh
    这个文件使得我们写在bootlocal.sh中的命令是在后台执行的:
    cat bootsync.sh
#!/bin/sh
# put other system startup commands here, the boot process will wait until they complete.
# Use bootlocal.sh for system startup commands that can run in the background 
# and therefore not slow down the boot process.
/usr/bin/sethostname box
/opt/bootlocal.sh &
  1. tcemirror
    这个是上文说过的,镜像的地址
    cat tcemirror
http://repo.tinycorelinux.net/
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容