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

By Olga
at 2012-11-06T16:02
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
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
--
# 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

By Vanessa
at 2012-11-09T18:44
at 2012-11-09T18:44

By Doris
at 2012-11-13T21:51
at 2012-11-13T21:51

By Franklin
at 2012-11-17T14:26
at 2012-11-17T14:26

By Thomas
at 2012-11-21T17:03
at 2012-11-21T17:03
Related Posts
關於 Wget 的 Bar...

By Lucy
at 2012-11-06T10:55
at 2012-11-06T10:55
sox問題

By Lucy
at 2012-11-05T20:23
at 2012-11-05T20:23
HackingThursday 固定聚會 (2012-11-08)

By Lucy
at 2012-11-05T12:11
at 2012-11-05T12:11
請教關於linux c programming圖形處

By Victoria
at 2012-11-04T23:58
at 2012-11-04T23:58
Ubuntu 12.10 Release Party @ 台灣

By Quanna
at 2012-11-04T14:48
at 2012-11-04T14:48