![]() |
Yes, just using labels is much easier to wrap your head around, easier to set and easier to remember. UUID must have some advantages over labels since everything is moving in that direction but I haven't found them yet.
Two things I found out while excluding my Windows partition from mounting. Thought maybe they could be added to the first post so others don't have to go searching? From Leopard on you need to use vifs to create and edit /etc/fstab, or at least you should. Code:
sudo vifs Code:
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true Also, MacFUSE/NTFS-3G is awesome, a little slow compared to the normal NTFS-3G but still. |
Cheers Dies i didn't know about vifs. Guide updated. :)
|
Quote:
I had no idea of the commands used in the vi(fs) editor. Google helped ;) But maybe you could add the 3 commands for vi in your tut. "i" for insert mode, "esc" for switching back to command mode ":wq" for saving |
can the label option be used for NTFS as well? because one of my NTFS drives doesnt have a UUID. and also just so im clear i enter "sudo vifs" into terminal put in the label commands to unmount the disks then type is :wq to save the file and then reboot my system and it should all work?
|
Label will work, but you'll also need to change the fs type to ntfs:
Code:
LABEL=name_of_volume none ntfs ro,noauto |
Can I use this tutorial for a Fat16 partition? :)
|
how do i save the command after i have written in what i want?
|
1. shift+"i" to insert/edit text.
2. edit 3. esc to quit the editing/insertion. 4. ":s /etc/fstab" to save over the old fstab. do it in this order. |
i added LABEL=WinXp /Volumes/WinXp/ ntfs rw,noauto 0 0
this in /etc/fstab using sudo vifs and also executed this "sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true" in terminal still it's not unmounting it automatically.. what should i do to unmount it automatically. |
Have you tried using none for the mount point?
|