Delay the mounting of network drives at startup?

Can i delay the mounting of my network drives (cifs) at the boot up?
I want to do this to be able to start network in the background at the boot up since thats the procedure slowing down the boot up at the moment.
Thank you in advance.
Last edited by djungelmums (2011-02-08 21:31:50)

Inxsible wrote:
Ahh ! I wasn't sure which statement you were refuting.
but this confuses me a little. We normally background DAEMONS to increase boot speed (or atleast one of the reasons). So I assume that when you background it, you run it parallely along with moving ahead in your startup process -- namely starting up other daemons and bringing up the login screen/Display Manager or booting straight to X.
Correct
Inxsible wrote:OTOH, unmarked daemons actually get started before going ahead in the start up process. So wouldn't that mean that they might get started before anything else is processed...?
Why?
Here is the code:
# Start daemons
for daemon in "${DAEMONS[@]}"; do
if [ "$daemon" = "${daemon#!}" ]; then
if [ "$daemon" = "${daemon#@}" ]; then
start_daemon $daemon
else
start_daemon_bkgd ${daemon:1}
fi
fi
done
if [ -x /etc/rc.local ]; then
/etc/rc.local
fi
Translated into human language:
For every daemon in the DAEMON array do:
   If daemon has not the prefix "!" do:
      if daemon has not the prefix "@" do: start the daemon --> AND wait for comletion 
      else do: start the daemon in background --> AND don't wait for completion
Process rc.local
Hope thats clear now

Similar Messages

  • Can't mount a network drive at startup - Mac boots too fast?

    Hi all,
    On every Mac I've owned for the last few years, I dragged the icon of my file server to my Login Items list and the Mac would flawlessly mount the drive.
    Now with my Mac Pro, the machine seems to boot so darn fast that I get an error that the server doesn't exist, but if I immediately manually do a Cmd-K and mount the drive, then it works. I put my old G5 back on the network and it worked, as did my Macbook Pro and my old G4 Cube.
    So, although I can't prove it, it seems to me that the Mac is trying to mount the drive before the Mac finds the network. If this is true, how can I solve this problem?
    Mike

    Hi Michael,
    I'd try this method instead of dragging to the Login items...
    http://www.bombich.com/mactips/automount.html
    I'd experiment with the Static vs. Dynamic also.

  • Mounting Network Drive Upon Startup

    Is it possible to mount a network drive upon startup so that my auto backup program can see and backup to it?
    If so, how is this setup?
    Thanks,
    James

    Try doing i manually instead of using sharepoints tool.
    http://www.bombich.com/mactips/automount.html
    Ive always doen it this way and had success wheher wired or wireless... unless ofcourse the network jsut wasnt avaialble.

  • Mount a network disk at startup?

    OK, so I know I can create an alias to a network drive and copy it into the System Preferences > Accounts > Login Items list.
    But on my config when I startup, I pass over the login screen and go straight to the desktop. This seems to mean that the startup items don't run like they should... or at least the alias isn't called correctly, thus my network drive isn't mounted correctly.
    Any ideas how to mount a network drive at startup without having to first stop at the login screen?
    Thanks!
    Jake

    Hi, Jake.
    1. You wrote: "But on my config when I startup, I pass over the login screen and go straight to the desktop."I presume you have configured your Mac to "Automatically log in as..." your account in System Preferences > Accounts > Login Options.
    Automatic login should not prevent items you have added to System Preferences > Accounts > your_account > Login Items from running. The items placed in this list are known as Login Items and are run when you log in to your account.
    If you're interested in the technical details, see "The Boot Process".
    2. Under Tiger, the term Startup Items applies to applications that are run when you startup your Mac. They are in the following folders:• Macintosh HD > System > Library > StartupItems. These are System-related Startup Items included with Mac OS X.
    • Macintosh HD > Library > StartupItems. This is where third-party applications install other applications that are executed when you start up your Mac. Such applications run after the System-related Startup Items.Do not place the alias to your network volume in either of these folders. Never change the contents of the second folder unless specifically instructed to do so as part of troubleshooting.
    3. You wrote: "...my network drive isn't mounted correctly."Can you be more specific? What is incorrect about the mounting?  By "network drive" do you mean network-attached storage (brand/mode?) ? Or is this a volume being shared by another Mac or a PC?
    4. Are you saying that, if you disable automatic login on your account and restart your Mac, you are prompted to authenticate mounting the network volume, and then the volume mounts normally?
    5. Note that if the "network drive" is a volume being shared by another computer, and the computer sharing the volume isn't available (asleep, shutdown, AirPort off, offline, etc.) this could delay your login process a bit as your Mac tries to find it.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Automatically mount a network drive upon login

    Hi All,
    Can anyone help!
    I want to automatically mount a network drive when a network user logs in.
    Client OSX10.4.9
    Network drive/share is samba based.
    Network user is LDAP based (Novell eDirectory)
    I currently have the following working:
    An eDirectory (LDAPv3) user logs in & authenticates ok.
    Mounting the network drive/share works ok MANUALY, with the following
    smb://IPorDNS
    user is then prompted for their password (I want this automated @ login preferably)
    What I need is some help automating this smb mounting @ login time using the users ldap Username/Password. I guess this would need to be done using an Applescript of sorts, but I'm stuck as to how to take this forward..!
    cifs://workgroup;Username:Password@IPorDNS/profile
    The above works manually, but how do I go about swapping the Username:Password for environment variables, and then packaging this into a script/application that runs during login..???
    TIA
    Danny
    Macbook Pro   Mac OS X (10.4.9)  

    Hi Matt,
    Yes that would work for a single user that wants the same mount everytime but not for multiple network users, as the path changes for each user...
    e.g.
    /networkserver/usersarea/user1
    /networkserver/usersarea/user2
    /networkserver/usersarea/user3
    etc
    I think I need something like Actioscript apps to run during the login process...
    TIA
    Danny

  • WMI event watcher in ssis package not sensing the file continiously when we placed the file in Network drive location or UNC Location

    Hi,
    I am using SSDT 2012.
    WMI event watcher is not picking the file , when I place the file in Network drive location or UNC Location.
    I have mapped the network drive to UNC location. 
    Issue only comes when I run the package through job.(it will not pic the file) and I crossed check, I have all the permissions to the folder. if I run or execute the package through IDE, file will be picked and moved to destination.
    Am I missing any configuration ?  can anyone please advice.
    Thanks,
    Anvith

    So the WMI query is on the mapped drive and not on the UNC?
    And the user that runs the job (SQL Server Agent Service Account or the proxy) has rights to read that mapped drive?
    Are you using the default account or a proxy in the jobstep? And does it work if you create a credential and proxy for your own account?
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Mounting network drives at startup?

    I know this could be done in 10.4, but I can't figure it out in 10.5. I am wanting to have a couple network drives connect at login and mount to the desktop. Currently I have to go into the shared computers and drives via the finder, then connact as. Is there a way to get these to mount at startup?

    You can also create Automator applications that launch at login. Take a look at this tutorial:
    http://forums.macrumors.com/showthread.php?t=144914
    (the post at 08-20-2005, 10:13 PM has the answer I used)
    Since I have a Storage Area Network, shared drives and a cluster, I have to make sure that each node (computer) can see the shared storage, the cluster controller and the place where the source file for rendering is located. So, instead of worrying about keeping it all configured, I just made a Workgroup, assigned Read/Write privileges for any admin user, turned on Apple Talk, and made a script to mount all the local drives (ComputerName.local) for all computers, except for the local one.
    Since managed, render services can also be flaky, I also wrote a script that resets the services at login (in case the IP changes or what ever).
    It works like a charm, and better yet, I can see it running at login.
    Cheers,
    Jeff W.

  • Do I have to manually mount my network drives?

    I've set up a couple of partitions on a USB disk attached to my AEBS. One of the partitions is being used for time machine across a few different machines.
    Should I have to manually mount the network drives each time I start my machines? I've see time machine errors involving the backup disk not being found and I'm wondering about the details around the network drives use.
    TIA,
    David

    I didn't
    my clock changed to wintertime
    and my alarms and appointments use timespans so they start at lets say 14:00 no matter if I go to usa and adjust my clock to match their time or if I go to china and adjust my time to match their time

  • Bouncing network drive at startup on Russian computer

    Hello!
    I have a friend who recently converted to Apple and is having some problems. As a long time Mac user I promised him I would help rectify this problem as quick as possible. Upon startup, he has 3 drives, his mac drive, his windows drive, and some random bouncing drive with a picture of the world above it. He is using one of the new imacs and thus far I have not been able to help him get rid of this pesky drive. It will bounce for around 2 minutes and then stop. At that time he is able to login. So what do I need to do to stop this thing from showing up and bouncing for 2 minutes so he can immediately login to either his mac drive or his windows drive. Also on a side note, he gets constant pop-ups from keychain about something. How do I turn all these keychain pop-ups off? I wish I could be more specific, but I work in the circus in China and my friend is Russian and has his whole Mac in Russian. Our communication is limited since I only understand a little Russian and can only be of minimal help. He speaks fine English but translating the Russian error messages to English gets lost in translation. I know this is a lot but any help would be appreciated! Thank you in advance.
    Brian Hutson

    It's probably attempting to boot from a network drive which has been selected as the default.
    This is easy to fix:
    In the System Preferences, open Startup Disk and select Mac OS X as the default and that should resolve your issue.

  • Mount local network drives to desktop?

    Two new iMacs in our design department - we connect to local network drives daily and noticed they no longer mount as discs to our desktop as they did on our previous computers. Is there a setting that we can allow this?

    Finder menu --> preferences --> Show these items on Desktop

  • How to mount a network drive

    I am new to automator and seem to have a problem mounting a drive automatically.
    I have tried using “ask for server” but it is not what I want. The drive I want to mount from my net work is 192.168.1.5/public. I can mount it every time manually by going,
    finder: go: connect to server: home-network: Nas-lacie: Connect: public
    and then putting in my Name and password (or even finder: go: resent folders: public).
    but I would like automator to do all this.
    I put in automator 'ask for sever' 'view results' the results are {“afp://192.168.1.5/?NAME=NAS-LACIE”}
    then
    'Connect to servers' 'view results'
    {alias”public”}
    I seem so close yet so far can someone help me
    many thanks
    iMac g3, iBook12, 'Minimac superdrive'   Mac OS X (10.4.2)  
    iMac g3, iBook12, 'Minimac superdrive'   Mac OS X (10.4.2)  

    Hi ther,
    have a look at this thread, especially the movie (post 5) it may help...
    ...if not let me know and we'll think of something.
    regards
    Ric

  • How can I change the BlackBerry Link Network Drive mapping from Z: to something else?

    Hello,
    I generally have a mapping to my NFS server on Z:, and my iTunes library has a relative path to Z: for all of my music - the fact that Link is automatically picking Z: as my network sync target for my device does not work for me to sync music, or anything really. I can't figure out how to change this value to something else.
    I found the registry key: \HKEY_CURRENT_USER\Software\Research In Motion\Device Manager\Device Settings\<DEVICENAME>\VolumeMapping with a default blank REG_SZ - can I use this key at all to manually change drive mappings for my device? If so, what is the key/value pair I need and will this mess up any assumptions taken inside the Link software for synching?
    ... Also, I have a Feature Enhancement Request to go along with this issue: Add a "Change drive map letter" button beside the "Turn on wireless connections to my computer" button in Link, and add the same option in the context menu to the 'Device Manager' for the mapping (which currently just says 'Explore').
    Thanks for the help,
     - Jeff

    I do not know a lot about this subject but since Device Manager is not a Device and the BlackBerry Phone is not recognized as a Device in Disk management unless Mass Storage is turned ON it looks as if by design you cannot change the Drive Letter.
    Also if Mass Storage is turned On in the Phone Settings File Manager and BB link will not work but the BB Phone will then be recognized as a Device in Disk Management and the Drive Letter can be changed, this has no effect on the Drive Letters for Device Manager.
    Normally to change the Drive Letter and Paths of a Device once the Device is plugged you would go to Administrative Tools, Computer Management, Disk Management, right click the Device and choose "Change Drive Letter and Paths"
    Changing the Registry or Uninstalling Device Manager but keeping BB Link or looking for a Utility that can change the Drive Letter such as the one that many XP users had called TweakUI (only worked in XP) or changing the Drive Letter for your Network may be the only way.

  • I am setting up Time Machine on 2 computers which will use the same external network drive.  Should I partition the ext drive

    Should the dirve on a networked external drive be partitioned to support the use of Time Machine on 2 Macs that are on the Network.  The disk is a 2 Gig Drive and I would like to use some of the disk for external shared storage.

    You are aware that there are problems with using NAS drive for Time Machine?
    http://trick77.com/2011/07/15/about-os-x-lion-nas-time-machine-compatibility-net atalk-gpl-violations/
    Allan

  • Mounting network drives in the left pane of the finder...

    in tiger, i was able to mount a network drive and have it show up in the left pane of the finder. now, when i connect to a network drive (clicking "go", "connect to server", and typing the IP address). it opens up a new finder window with the contents of the network drive, however, it doesn't show up in the finder pane...
    also, the "network" icon in the left pane is gone. is there a way to bring this back?

    Does this work for you?! I can't get this to appear, least i have the icon on the desktop now but having it in the finder is what I really want,
    Some very good features in Leopard but they really do seem to have messed around with things unnecessarily, custom firewall changes, network mounts appearing etc etc

  • How to remove a mounted drive at startup in a mobile account, using netinfo

    How does one remove an mounted drive at startup in a mobile account, using netinfo?
    One of the user automatically mounts a network drive on her new intel Macbook in her portable account. Trouble is that the network drive is only available on the intranet. So when she is on the road, it take the Macbook very long 3-4 minutes before it let's her log in.
    Simply I thought to remove the drive on her macbook through the system preferences -> account -> login items. However the "login Item" GUI is very slow to respond and if it respond it does not let me remove the network drive. I tried this both on the intranet and off the network.
    I tried to remove the mounted drive at start up through the workgroup manager, but it does not show up there.
    So I thought that I try to use netinfo on the local machine. But I can't find where mounting info is stored in a mobile account. I thought it would be in the local @ localhost or should I connect to an other DB?

    The login items are not stored in Netinfo, they are stored in loginwindow.plist in the users Library/Preferences. You can either remove the entries for the server or simply trash that file and let a default one get recreated.

Maybe you are looking for

  • Monitor User Activity

    How can I track a user's mouse or keyboard activity? I am looking for a way to auto-logoff a user from a specific application if they have not touched their workstation in a specified amount of time. Any clues that can be passed my way will be apprec

  • ... iPod with video makes noises...

    OK... so just recently my iPod with video (30 gig) started to make odd sounds... They sound like mechanical type sounds... It did this when I first turned it on and started a song... (also when I restarted it) I haven't dropped my iPod recently or do

  • My Zen Sleek Photo will not connect to compute

    I am extremely disappointed ! Despite being told yesterday that I need Microsoft Service Pack 2 installed on my computer before my USB would detect the player, I have successfully downloaded MS SP 2 and guess what ? It still says "your player is not

  • Add on will not stay installed

    I have been having an issue with Firefox 20 not keeping add-ons installed. Namely, Ad Block Plus... it will install fine, but when I close the browser, the add-on is not installed anymore. I have to install it everytime I open the browser.

  • Upgrade compatible Adobe Photoshop CS5 with Yosemite?

    I have upgrade my MacPro to Yosemite and now Photoshop CS5 does not work.  Recommendations for compatible upgrade for CS5?