Here's some lines from my fstab that work.
 
I run Redhat 7.2
When one of the boxes is down it just comes up with a red "failed" message
for that share. (there might be a time out but I can't remember how long because I boot
maybe once every two months on average)

(names,security stuff, and ipnumbers have been changed to protect the innocent)

//xredgy5/NT5_C         /mnt/nt5                smbfs   
uid=500,username=blah,password=xxxxxx        0 0
//xredgy30/Blackbaud   /mnt/RE                 smbfs   
uid=500,username=blah,password=xxxxxx        0 0
//xredgyx/c_drive        /mnt/c_drive            smbfs   
uid=500,username=blah,password=xxxxxx,ip=132.181.999.400        0 0
//xredgyx/d_zg           /mnt/d_drive            smbfs   
uid=500,username=blah,password=xxxxx,ip=132.181.999.400        0 0


If you're at home then you probably don't want the username and password (this is for
an NT network)

You'll probably also have to get the smbd and nmbd to run in the run-level start-up 
thingy
(thingy is a technical name :-)  )

Good luck



Michael wrote:
> 
> At 10:17 AM 1/14/02, you wrote:
> >mount can now mount smb shares, so that you can put them in /etc/fstab.
> >fs type is smbfs I think.
> >
> >man mount
> >
> > >
> >I'm not sure if entries in /etc/fstab (man fstab) can be
> > > mounted using the command 'smbmount' instead of 'mount'
> 
> If I may add further to the initial question (which wasn't originally mine):
> 
> When I tried this procedure, the smb service hung on startup (even though
> there were other machines up on the network & autofs was
> running).  Personally, I assumed that an entry in /etc/fstab wouldn't work
> due to eth0 and smb being started after fstab is processed.  If you really
> do make an entry in fstab then what would the full line look like?
> 
> Thanks in advance,
> Michael Moffatt.

-- 
Zane Gilmore, Analyst / Programmer
Information Services Section, Information Technology Dept, University of Canterbury
Private Bag 4800
Christchurch New Zealand
phone +64-3-364 2987 extn 7895  Fax 3642222

Reply via email to