邂逅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/
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容