cifs mount之後,怎樣開機自動mount? - Linux

Olga avatar
By Olga
at 2012-11-06T16:02

Table of Contents

我用
# mount -t cifs //123.123.123.123/Volume_1 /home/test -o \
username=user,password=1234,codepage=cp950

把遠端samba的資料夾mount到本機了
一切也都正常

如果我希望機器開機之後
能自動把這個目錄mount過來
請問在 /etc/fstab 要怎麼寫呢???

--
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
◢██◣
█ ◤ ◢█◣ ◢██◣ ◢◥◣ ◢██◣
█ ◢ █ █ █ █ █ █ █
◥██◤ ◥◤◥◣ ◥ ◥ ◥◣◤ ◥ ◥ ψsambas
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

--
Tags: Linux

All Comments

Vanessa avatar
By Vanessa
at 2012-11-09T18:44
//123../xx /home/xx cifs user,pwd,code 0 0
Doris avatar
By Doris
at 2012-11-13T21:51
關鍵字: credentials
Franklin avatar
By Franklin
at 2012-11-17T14:26
我自己是在crontab裡用@reboot參數搞定~
Thomas avatar
By Thomas
at 2012-11-21T17:03
為什麼我可能用類似rc.local的東西會比較保險一點

關於 Wget 的 Bar...

Lucy avatar
By Lucy
at 2012-11-06T10:55
最近再用 C語言寫去抓網頁,所以用到了 Wget.exe 由於是因為在windows下,所以我有先抓 Wget.exe 不過早上忘記次放了哪個參數了... 造成我的進度條 變成這樣.... 真相 : http://imgur.com/3eopC 請問有人知道是怎麼回事嗎 = =a -- - ...

sox問題

Lucy avatar
By Lucy
at 2012-11-05T20:23
最近實驗室一台新電腦安裝了ubuntu 12.04版 發生了一個問題 就是用SOX錄音的時候不能錄 會出現下面這行指令 sox fail formats canand#39;t open input file and#39;/dev/dspand#39;:No such file or directo ...

HackingThursday 固定聚會 (2012-11-08)

Lucy avatar
By Lucy
at 2012-11-05T12:11
通告網址: http://www.hackingthursday.org/invite 詳細資訊如下: 時間: 每週四晚上 19:30 至 22:00 場地: MarketPlace ( http://goo.gl/6wTio ) 地址: 台北市重慶南路一段1號2樓 ...

請教關於linux c programming圖形處

Victoria avatar
By Victoria
at 2012-11-04T23:58
※ 引述《seven5272atgmail.com, 看板: Linux》之銘言: : bQoKT24gU3VuZGF5LCBKdW5lIDYsIDIwMDQgMjowMToyOSBBTSBVVEMrOCwg77+977+9Xe+/ve+/ : ve+/vUQgd3JvdGU6Cj4g6KuL5pWZ5LiA ...

Ubuntu 12.10 Release Party @ 台灣

Quanna avatar
By Quanna
at 2012-11-04T14:48
[釋出派對]Ubuntu 12.10 Release Party at Taiwan http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=59278 這回北中高(南還沒確定的樣子)都會舉辦, 台中最先開跑,是下禮拜(11/10),再來 ...