On Friday, March 22, 2002, at 04:58 PM, Chris Devers wrote:

>
>> With other Unix systems you'd simply have an empty directory called /sw
>> which would be a mount point for your partitions. The all the paths are
>> still the default /sw... MacOS X insists on mounting everything under
>> /Volumes but you can still have /sw be a symlink to /Volumes/SomeDisk
>> and all should be happy.
>
> I *think* he meant using a separate fixed partition, which ...well I don'
> t
> really know if that plays into your point or not I guess, but in any event
> I don't think it's a big deal that secondary partitions go in /Volumes.
>
Actually, mounting it under /sw works just fine if you add it to
/etc/fstab and ". /mounts" in netinfo -- provided it is an UFS partition,
because HFS+ partitions can't be checked by fsck, I think autodiskmount 
takes care of that. I have not figured out how to have autodiskmount check 
the filesystems at the right time (in /etc/rc), so I gave up on trying to 
mount HFS partitions anywhere else.
Even UFS partitions often failed to mount with the "mount -vat ufs" in 
/etc/rc since 10.1 or so, so I have added softlinks to everything in 
/Volumes/Fink to /sw (the mount point on /) as a fallback. If everything 
goes right, the fink partition is just mounted over the symlinks.
Coming to think of it, I just checked that there actually is no fsck call 
in /etc/rc, maybe adding that would be a good idea. DOH!
As a final remark, this setup still forced me to link /sw/src to yet 
another partition with a HFS+ filesystem, since the UFS implementation in 
Darwin is still so crappy that it doesn't survive an Xfree86 compile!

Of course, all this is entirely at your own risk (especially changing /etc/
rc and /etc/fstab) and probably not for the uninitiated. You might just 
fare better with the symlink approach, and I can't see any real 
disadvantages to it (except that it looks ugly ;-).

Cheers,
                                                        Derek



_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to