openwrt 將根文件系統掛載在U盤上

u盤掛載完成(及 mount /dev/sda /mnt )後,vim #mkdir /tmp/cproot緩存 #mount --bind //tmp/cprootui #tar -C /tmp/cproot-cvf - . | tar -C /mnt -xvf -3d #syncblog #syncget #syncflash 以上操做主要完成,將‘/’目錄複製並掛載在 /tmp/cproot
相關文章
相關標籤/搜索