LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-16-2003, 11:19 PM   #1
msjenkins
LQ Newbie
 
Registered: Jul 2003
Location: Perth,Western Australia
Distribution: Centos 4
Posts: 12

Rep: Reputation: 0
Mounting a Samba Share


hi,
I am trying to create a bash script to mount a windows 98 share on to my Red Hat 9 linux box to perform daily incremental backups with cron. the script is as follows:

mount -t smbfs //WIN98/C /smbmnt/win98 -o guest,ro
rsync -a --delete /smbmnt/win98/ /backup/win98
umount /smbmnt/win98/

The script works perfectly twice, then any other attempts to run it just seem stop half way through mounting the windows 98 share.
When I restart the linux box, it will work again twice
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting samba share glock19 Linux - General 13 07-15-2013 09:50 PM
Mounting Samba Share linux_or_bust Linux - Software 6 02-16-2005 10:38 AM
Mounting XP share w/Samba KFoldesi Linux - Software 7 06-29-2004 10:51 PM
samba share mounting bacon22 Linux - Software 1 01-24-2004 08:13 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
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 Google+: linuxquestions
Open Source Consulting | Domain Registration