Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mounting SMB Windows 2000 Drives At Boot Time???

0 views
Skip to first unread message

SAITOH, Takumi

unread,
Aug 29, 2001, 10:48:01 AM8/29/01
to

In article <9m0rg9$9hr$1...@bob.news.rcn.net>
"Joshua Wolfe" <jwo...@mountaintopsoftware.com> wrote:
| I am trying to mount a few Windows 2000 Directors when Linux boots. Here
|is what I have so far. I am running Red Hat 7.0, Samba is running (Since the
|Linux box is my main file server), Windows 2000 shared folders are set up
|and I can mount them at the shell prompt by using:
|'mount -t smbfs -o username=<userid>,password=<password> //ServerName/Shared
|/mnt/shared'
|That allows me to mount the Windows shared, but how can I run that at boot
|time? I tried to put it in my /etc/fstab file, but it gave me a
|username/password error. If I am suppose to put it in /etc/fstab, how do I
|configure the username/password for the Windows 2000 server? Thank you for
|your time.

Sorry, I don't know how to do, and this article use Japanese code.

[In Japanese]

#fj.net.sambaを追加して、いつもより多く回し^H^H^H^H引用しております。

 Red Hat 7.0でSambaを利用し、Winodws 2000の共有フォルダへ、起動後に自
動的にマウントしたい。「mount -t smbfs -o username=<userid>,password=<password>
//ServerName/Shared /mnt/shared」のようにプロンプトから実行すれば問題
ないのですが、/etc/fstabで行おうとするとusername/passwordでエラーとな
ってしまいます。/etc/fstabで設定するのはどのように定義してやればよい
でしょうか....のような内容みたいですね。
 どうするのが適当なものなのでしょうか。

Kimiya Kitani

unread,
Aug 31, 2001, 6:55:45 AM8/31/01
to
木谷と申します。


SAITOH, Takumiさんの<9mivb1$f8$1...@bgsv5906.tk.mesh.ad.jp>から


>|'mount -t smbfs -o username=<userid>,password=<password> //ServerName/Shared
>|/mnt/shared'
>|That allows me to mount the Windows shared, but how can I run that at boot
>|time? I tried to put it in my /etc/fstab file, but it gave me a
>|username/password error. If I am suppose to put it in /etc/fstab, how do I
>|configure the username/password for the Windows 2000 server? Thank you for
>|your time.

You have only to add it at the end of "/etc/rc.d/rc.local" file
because "/etc/rc.d/rc.local" is startup script.

--
京都大学 東南アジア研究センター 情報処理室
木谷 公哉(kit...@cseas.kyoto-u.ac.jp)

0 new messages