Re: [問題] cifs mount之後,怎樣開機自動mount

看板Linux作者時間13年前 (2012/11/07 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
把指令寫到 /etc/rc.local 也可 於 2012/11/6 下午 04:02, sambas 提到: > 我用 > # mount -t cifs //123.123.123.123/Volume_1 /home/test -o \ > username=user,password=1234,codepage=cp950 > > 把遠端samba的資料夾mount到本機了 > 一切也都正常 > > 如果我希望機器開機之後 > 能自動把這個目錄mount過來 > 請問在 /etc/fstab 要怎麼寫呢??? > > -- > ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ > ◢██◣ > █ ◤ ◢█◣ ◢██◣ ◢◥◣ ◢██◣ > █ ◢ █ █ █ █ █ █ █ > ◥██◤ ◥◤◥◣ ◥ ◥ ◥◣◤ ◥ ◥ ψsambas > ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ > > -- > ※ 發信站: 批踢踢實業坊(ptt.cc) > ◆ From: 163.17.242.117 > --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
文章代碼(AID): #1GcYDE9s (Linux)