LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-23-2004, 03:28 PM   #1
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
SMB mounting scrips hangs


I have have a scrip to mount 2 of my win2000 drives. The script works fine just doesn't return me to a command promp. If I use ctrl+c and get back to the promp I can cd /mnt/sharddrivename and use ls and see the files

Is there some command that I need to add to the end of the script that will end it or am I doing something wrong or not waiting long enough?

Side note: I unmounted the drives and ran it again. I waited about 5 min and it did not return to a command prompt.

Last edited by phatboyz; 06-23-2004 at 03:43 PM.
 
Old 06-23-2004, 04:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,853

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
how are we supposed to help without any idea at all what the script actually does?! please paste the script.
 
Old 06-23-2004, 10:06 PM   #3
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Original Poster
Rep: Reputation: 30
Here is the script

[root@backupsvr root]# cd /sbin
[root@backupsvr sbin]# vi notes09mnt
# This file auto mounts all shard drives on boo for backup use

#mounting shared drive g:
mount -t smbfs -o username=ddddd,password=hhhh //boo/g /mnt/g9g
#mounting shared drive f:
mount -t smbfs -o username=ddddd,password=hhhh //boo/f /mnt/g9f

Last edited by phatboyz; 06-23-2004 at 10:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting smb shares towel401 Linux - Networking 4 10-31-2005 06:59 PM
Mounting smb shares john8675309 Linux - Software 3 09-25-2005 09:54 PM
Mounting a SMB Share? owoods Linux - Newbie 2 09-04-2004 08:03 AM
Accessing a mounted smb share hangs haddad Linux - Wireless Networking 0 07-24-2004 05:52 AM
mounting SMB filesystem, hangs jmanjohn61 Fedora 6 01-11-2004 02:28 PM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration