partitions
Hi,
Im expecting my new iMac next week and because of this i went out and got myself a nice big hd to put in it.
Being new to the apple way of thinking i was wondering how to best set up my HD. I'd like a main partition for applications and user data and another for media, things like mp3's and movies etc... Now does this pose any security risk, i mean isn't it best to store frequently used things in your user folder so you dont need root privelages to access it and so it can only be accessed by that user account? Also would it make it any easier to share between windows pc's on my network if data is on its own partition rather than in a director in my user folder.
I hope this makes sense, if anyone out there could tell me what they think this would be very helpful.
Regards
Andrew
Im expecting my new iMac next week and because of this i went out and got myself a nice big hd to put in it.
Being new to the apple way of thinking i was wondering how to best set up my HD. I'd like a main partition for applications and user data and another for media, things like mp3's and movies etc... Now does this pose any security risk, i mean isn't it best to store frequently used things in your user folder so you dont need root privelages to access it and so it can only be accessed by that user account? Also would it make it any easier to share between windows pc's on my network if data is on its own partition rather than in a director in my user folder.
I hope this makes sense, if anyone out there could tell me what they think this would be very helpful.
Regards
Andrew
Comments
Edit: I just reread your post... You're planning on putting this drive inside your iMac? Not gonna happen. There's only one drive bay in there. You could take out the iMac's drive and replace it with the one you just bought, but why not get an external enclosure so that you can use both drives?
However, I realized some time ago, that partitions are the most evil way of arranging an HD. You're, for little gain, limiting each partition to be able to store a fixed amount of data, even though your amount of data really is not fixed for the data types you want to store. It's IMHO like the retarded way of distributing memory on OS 9.
My recommendation is to keep the drive-original partitioning scheme (iow. one big partition) and put your data in either your home folder or equivalent folders on the root level of the harddrive or something similar to that.
Sharing your home directory to a Windows box via Samba is easy-as-pie. Easier, probably, than sharing a separate partition or (god forbid) a root-level folder. Just click on "Windows Sharing" in the Sharing control panel, and map a Windows drive to \\\\yourMac'sNetworkAddress\\yourUserName. Thats it. Works great for folks in my lab. You can also, of course, enable remote access on the Mac and do scp/sftp/whatever from your Windows box.
Another tip, since you mentioned root. There is (almost) no good reason to ever enable the root account on OSX. If you think you need to log in as root frequently to do something, there's a better and safer way to do it.
What partitions *are* good for is multiple-booting. I have a server that has three boot partitions - one for Classic, one for the current MacOS X Server, and one for testing the 'next version'. When 10.4 comes out, it will go onto the 'next version' partition (which currently has 10.2.8). I can thereby do a clean install, move settings over as I need to, test the thing, and only when everything is 100%, migrate. Until then, I always have a pristine and known to work install ready to fall back on. (/Users is actually on another whole drive.)
But I'm weird.
Originally posted by Kickaha
[...snip...] But I'm weird.
What's so weird about that? It makes perfect sense to me.
Originally posted by Whisper
What's so weird about that? It makes perfect sense to me.
Alright, let's just say I'm a paranoid geek with a much more complex home setup than most folks.
One final question, say i was to buy an external drive sometime in the future would it be possible to grant certain accounts access and block all others i.e root?
Also, is it possible to mount it as a folder rather than a whole seperate drive?
Sorry for the stupid questions, i just want to get everything set up right away so i dont have to do it all a few months down the line and make more work for myself.
Originally posted by AndrewLondon
Thanks for your help guys that was all spot-on.
One final question, say i was to buy an external drive sometime in the future would it be possible to grant certain accounts access and block all others i.e root?
Also, is it possible to mount it as a folder rather than a whole seperate drive?
Sorry for the stupid questions, i just want to get everything set up right away so i dont have to do it all a few months down the line and make more work for myself.
You can't block root from anything really. (It's best not to even enable the root account - there's next to nothing you'd ever need to use it for.)
How do you mean mount it as a folder? It'll show up like another drive, but mount as a folder in /Volumes/Drivename behind the scenes...
Amorya