LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-21-2006, 05:28 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
mount samba partition repeadetly


Hi to everyone i mount at boot time a windows 98 partition using samba. The problem is that sometimes the windows 98 pc needs to restart so i lose the mounted partition. Is it possible to do the samba to check all ttime when the windows 98 pc is back so to remount the partition? Thx a lot
 
Old 08-21-2006, 06:03 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
You could easily setup a cron job to do what you want, but if you only need the samba mount while you are working on something a shell script might be sufficient:

Code:
while ! mount sambamount; do sleep 5; done;
or

Code:
while :; do if ping <host>; then mount sambamount; fi; done
Experiment a little, and pick what suites your needs.

Regards,

Alunduil
 
  


Reply



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
samba mount when not owner of mount point cotton213 Linux - General 1 08-04-2005 06:21 AM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
Permissions on a samba mount of a samba mount rimcrazy Linux - Networking 0 04-15-2005 07:57 AM
Mount Partition As Samba Share? Terje Linux - General 1 11-28-2004 05:53 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:32 PM.

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
Open Source Consulting | Domain Registration