image
image
Ticket Options
Question Details
TICKET ARCHIVE -> How to Not Automount Volumes?
rkubitz - Oct 27, 2005 - 3:00 pm
image
image
As an old Unix hacker, I am ashamed to say that I cannot figure out how to have my system (OSX 10.3.9) NOT automatically mount and show some disk volumes in the finder.

I bought an external USB drive, which I partitioned into two: data and backup. By default, both of these volumes mount on startup (or login?), and I can't figure out how to change this behavior. What I want is for the backup volume/partition to NOT automatically mount. Then I want the data volume to mount as defaulted, but only be accessible by my UID or admin/root. In other words, I don't want backup to mount on startup/login and I want data to mount, but only for my account.

Please tell me what I'm missing here? I see hundreds of articles on automount, autodiskmount, etc., but nothing seems to cover what I want to do? I'm ready to pull what little hair I have left out! How is this controlled in OSX??

FYI, the "data" volume contains my home folder, which I created using ditto and netinfomanager to modify my home property and then creating a symbolic link /Users/xxx. It works great, and only I will have access to this particular disk/volume.

Thanks,

Rob Kubitz
brobsf@sbcglobal.net
crawdad62 - Oct 29, 2005 - 6:22 pm
image
image
I wanted to do the same thing with only one partition I had. I ended up making an AppleScript and saving it as an application. Then I placed it in my User's start up folder.

Here's the command:


try
do shell script "diskutil unmount '/Volumes/(hard drive name) HD'"
end try

Worked perfectly up until I upgraded to Tiger. To be honest I'm not well versed in UNIX to know why it isn't working now. This may (or may not) help you. I see you're running 10.3.x so hopefully it will. Or at least you'll be able to figure out a more elegant way from this suggestion.

Joel

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0