Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Unmount a volume at startup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unmount a volume at startup
Authored by: g00ner on Jun 14, '05 11:19:36AM

I'm a total noob with scripts and alike, but this is just what I need to un-mount my firewire drive, could you tell me how I create a shell script?

I've tried so far and can't get it working so I must be doing something basic wrong?

g00ner.



[ Reply to This | # ]
Unmount a volume at startup
Authored by: adrianm on Jun 14, '05 02:20:28PM
To become root (effectively), in Terminal, do:

sudo -s
and enter your password (assuming you are an adminstrator user)

To create a shell script (or indeed any text file), it might be easiest to use this (built-in and easy to use):


pico filename
to change directory:

cd dirname
That's basically it.

Although if you are unsure of how to create a shell script, you may not know that becoming root enables you to do scary damage to your Mac, so be careful!

[ Reply to This | # ]