InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Leopard 10.5 (http://infinitemac.com/forumdisplay.php?f=85)
-   -   automout shares / dont show mounted ntfs (http://infinitemac.com/showthread.php?t=911)

zuz242 04-07-2008 01:20 AM

as i am runing osx on a guid hd parallel to two mbr ntfs harddisks i wonder if there is a way to ex- / include certain partitions to be shown in osx.
for example, i dont need my xp / vista system partitions to show up on the desktop and finder. it would be nice to choose only certain partitions to show up.

second, i would like to now how to have external shares (smb/ftp) to automount at bootup.

thanks

Ianxxx 04-07-2008 02:02 AM

I can't tell you about smb, but as for partitions, are you familiar with linux? fstab?
written in another topic by # datech50

using uuid of boot part in /etc/fstab to prevent
the boot drive from automounting. That way the 1GB boot partition won't show up on your desktop.
If you ever need access to the partition you just mount it using diskutility. Just add the line
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx none hfs rw,noauto 0 0
to etc/fstab

osx doesn't have an fstab file by default so just create one, make sure you set permissions

zuz242 04-08-2008 04:13 PM

thanks, that describes how to prevent certain partitions from automounting.

any idea of how to mount partitions/shares besides doing it manually via diskutil or finder?
there must be an easy unix command ("mount"?) doing that, but i wounder how to automate
that, maybe by scripting ... ?

pαuℓzurrr. 04-08-2008 04:21 PM

For auto-mounting i think this will work

http://jm.marino.free.fr/?switch=sw_&title=automountmaker

Haven't tried it myself...

Voyn1x 04-08-2008 05:15 PM

You can drag shares you want to mount on startup into – System preferences > Accounts > Login items.

This works in Tiger at least, haven't tried it in Leopard though I see no reason why it wouldn't!! :)

zuz242 04-09-2008 08:50 PM

Quote:

[cite] p-J:[/cite]For auto-mounting i think this will work

http://jm.marino.free.fr/?switch=sw_&title=automountmaker

Haven't tried it myself...
seems to work

Quote:

[cite] Voyn1x:[/cite]You can drag shares you want to mount on startup into – System preferences > Accounts > Login items.

This works in Tiger at least, haven't tried it in Leopard though I see no reason why it wouldn't!! :)
did not work but with automount u create a script which is being run with "login items" ;)