|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Recommended Partition Layout
Hi..
What would you guys recommend for the best partition layout for a desktop system? I'm using: / /swap /tmp /var /usr /home What about /usr/local instead of /usr ? Any disadvantages or advantages ? I'm getting ready to install OPBSD on a new computer and I'm wondering what the best partition layout is. Thanks in advance.. |
|
|||
If you create an /usr/local instead of an /usr, then the installer will create an /usr in the root partition '/'.
If you plan to use the OBSD ports system a lot, then you could create an "/usr" as well as an "/usr/ports".
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
/ /tmp /var /usr/local /usr/ports /home TIA P.S. What would you recomend? If using OPBSD as a desktop how do you have your partition table layed out? |
|
|||
I only would add an /usr
Code:
/ /tmp /var /usr /usr/local /usr/ports /home
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Thanks! I think I have the MG/GB figured out....Just needed the correct layout....
|
|
|||
Quote:
|
|
||||
jggimi's recommended procedure for partition planning for any new environment that has unknown capacity requirements.
Step 1: Set aside all preconceived notions of disk space requirements for any individual partition. Ignore anything anyone tells you is "typical" sizing requirements. Step 2: Install everything in a single, great big root partition. Don't worry, this is temporary. Step 3: Use the application set / environment for some length of time: days, weeks, months, as needed. Step 4: By using du(1), determine what your hierarchy is actually consuming. Step 5: Reinstall with your final configuration, or back up - reconfigure - restore. |
|
||||
jggimi I think, has just given you the best advice anyone can without knowing your situation in detail.
If you search J65nko's posts for topics like these, you'll also turn up some very good advice on finding just what you can pull off. Most systems at home won't need much, but adopting partitioning to machine purpose is helpful. Personally, I prefer to have /usr/src and /usr/obj be network mounts where applicable, and split /usr and /usr/local into separate areas of my disks.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Why not keep everything at one place?
Is this a desktop machine or kind of a server? IMHO, playing around with a hard drive with a multiple data partitions is not as easy as it sounds. Nor productive. There is always a time when you run out of space to some of your partitions (be it a /home, or /usr or /var...) and the situation is narrow - you can't borrow space from some other partition even if you have plenty. So you delete files or add another hard drive. Both of these is too stupid when you have free space at the other partitions. Ofcourse someone could do the math before installing the system and split his harddrive into 10 slices with a megabyte precision. Then after X months he runs out of space. Always. Desktop machine == data grow. Using a simple / partition is a solution to many problems. |
|
|||
But you miss out on the bonus security benefits.. like mount point specific options. (nosuid, nodev.. noexec, etc)
It's always recommended to create separate partitions... it's fine creating one large / partition at first, but once you get used to the system, you'll find it worthwhile to create more. |
|
|||
Yes, you both are correct that I'm not right for production servers. I was talked about home desktop systems, because it is what MetalHead needs.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NetBSD 5 keyboard layout in gnome | jaideep_jdof | NetBSD Package System (pkgsrc) | 1 | 17th September 2009 03:50 PM |
recommended 802.11a/b/g/n wireless cards | hamba | General Hardware | 3 | 27th October 2008 07:43 PM |
Project layout, any comments? | PatrickBaer | FreeBSD General | 1 | 12th October 2008 05:13 PM |
Recommended network adapters | ebzzry | FreeBSD General | 13 | 27th August 2008 01:00 AM |
Keyboard Layout | mfaridi | FreeBSD General | 6 | 26th June 2008 07:13 PM |