LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-13-2006, 01:52 PM   #1
adamis
Member
 
Registered: Oct 2003
Posts: 81

Rep: Reputation: 15
Wait x minutes after boot to mount disks?


I have a fileserver that I'm using Wake On Lan. My laptop is setup on bootup to wake up the fileserver and then mount the shared folders. The problem is, my laptop boots up faster then the file server so when my laptop tries to mount the samba shares they aren't available yet.

If I wait until Gnome has finished loading and then run mount -a then by that time the file server is ready and everything mounts without a problem.

What I'm looking for is a way to automatically execute the mount -a command x minutes (or seconds) after gnome has finished loading.

I'm using Gentoo (actually Kororaa) on the laptop and Ubuntu on the file server.

Thanks
 
Old 08-13-2006, 02:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
this really doesn't sound like a good solution for the experience you would actaully want. i'd suggest using automount instead to mount the device on first use and unmount after periods of inactivity.
 
Old 08-13-2006, 03:34 PM   #3
adamis
Member
 
Registered: Oct 2003
Posts: 81

Original Poster
Rep: Reputation: 15
Thanks, I'll look into using automount, I've never used it before. Does it automatically mount the samba shares as they become available? IE it sits and waits for them to show and then mounts them?

Thanks
 
Old 08-13-2006, 04:10 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it doesn't mount when they become available, it mounts them when you try to use it.
 
  


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
Hald-subfs-mount Unmounts Usb Disks Directly After Mount dop SUSE / openSUSE 0 03-16-2006 10:58 AM
Failed login > wait ten minutes etc pixie Linux - Security 11 08-18-2005 02:54 AM
computer stays for five minutes at boot! (setting up local disks) Falafel Fedora 1 03-31-2004 11:35 AM
Anyway to mount dynamic disks? sureshot324 Linux - Software 1 03-16-2004 05:54 PM
Can't mount CD-RW-disks corwax Linux - Hardware 1 09-14-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 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