Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Specifying mount points in 10.2 UNIX
It is now possible to specify mount points in OS X 10.2. First create the file /etc/fstab (if it doesn't exist already) and use this format:
LABEL=volumename    /your/mount/point    hfs    rw      1       2
Tabs separate the above fields.

Note that specifying the device directly like you typically would on a UNIX machine did not work when I tried it.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[8,340 views]  

Specifying mount points in 10.2 | 8 comments | Create New Account
Click here to return to the 'Specifying mount points in 10.2' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Doesn't work on my set up
Authored by: mschaff on Sat, Aug 24 2002 at 9:54AM PDT
I tried this on a Jag upgraded machine (Beige G3 with 2 partitions, "OS_X" and "Apps")...

I'm trying to mount the second partition as a directory within the main file system (so I don't have to go through /Volumes/). Ultimately, (if I could get this to work), I'd like to replace the "Applications" folder on my OS X drive with the mounted "Apps" drive.

I've used the syntax below (with both, "/New_Appications" and "/New_Appications/") and the drive doesn't mount upon restart. When I run disk utility, I can see the drive, but it is grayed out and will not mount when I try using the "Mount" menu item.

LABEL=Apps /New_Appications/ hfs rw 1 2
(wih tabs between entries)

Any suggestions?


[ Reply to This | # ]
Works on mine! Cool!
Authored by: donvy on Sat, Aug 24 2002 at 12:03PM PDT
Not sure why it doesn't work on yours. My setup works with the following contents for /etc/fstab:

LABEL=swap /swap hfs rw 1 2
LABEL=Users /Users hfs rw 1 2

Of course I had to create /swap and /Users first, and changed their permissions to 777. I noticed that they had these permissions when they were originally in /Volumes.

[ Reply to This | # ]
Works on mine! Cool!
Authored by: mahakali on Sun, Sep 1 2002 at 3:34AM PDT
LABEL=swap /swap hfs rw 1 2 LABEL=Users /Users hfs rw 1 2 Of course I had to create /swap and /Users first, and changed their permissions to 777. I noticed that they had these permissions when they were originally in /Volumes.
Ok, I don't get it. Which one is the volume's name? Is it the 1st one? And do I need to add /Volumes befor the name if i have it under other partition? Example, I put my applications under a partition named anna. Then, which line should I put in it? LABEL=anna /Applications hfs rw 1 2 or LABEL=/Volumes/anna /Applications hfs rw 1 2 ot LABEL=Applications anna hfs rw 1 2 or LABEL=Applications /Volumes/anna hfs rw 1 2 Thanks for any help.

[ Reply to This | # ]
Works on mine! Cool!
Authored by: mahakali on Sun, Sep 1 2002 at 4:10AM PDT
Nevermind, it works! woo hoo!


[ Reply to This | # ]
Doesn't work on my set up
Authored by: mschaff on Sun, Aug 25 2002 at 11:35AM PDT
***UPDATE***:

It works now. A detail escaped me. It seems that in order to mount the disk as a directory, the directory must already exist. In my case, I now have my Applications partition mount where the 'Applications' folder was on my OS_X partition.

A good reason for doing this (as opposed to just aliasing or creating a symbolic link) is that the Apple installer should recognize this partition as my 'Applications' folder.

I also used the tip below and renamed the Applications partition with a '.' in front so it wouldn't also mount on the desktop. Thanks for the tip!

[ Reply to This | # ]
Doesn't work on my set up
Authored by: bluehz on Mon, Aug 26 2002 at 7:59AM PDT
When you append a "." to the name of the dir (aka mountpoint) does the Apple installer and others still see that as the "Applications" dir?

[ Reply to This | # ]
Not working here either / fstab reference
Authored by: bluehz on Sat, Aug 24 2002 at 6:08PM PDT
Not having much luck with this one myself - and I am pretty familiar with fstab setup in Linux. FYI - there is an excellent fstab resource here: http://www.humbug.org.au/talks/fstab/fstab.html

[ Reply to This | # ]
hidden
Authored by: fisk on Sun, Aug 25 2002 at 4:50AM PDT
i tried this for my /Users dirextory and it worked like it should, but the volume was still visible on the desktop.

the solution: rename the volumes with disktool so that the name begins with a dot ( . )

just do "disktool -n device newname"

to find out which volume is which device just write "mount" at the prompt and a list och all mounted devices shows up

[ Reply to This | # ]