Home arrow Journal arrow Why New Way of Partitioning a FreeBSD system is Better Than Old Way
Why New Way of Partitioning a FreeBSD system is Better Than Old Way PDF
Friday, 03 February 2012
If you've installed FreeBSD 9.x you've noticed you only have three partition. Distinctt partitions are missing for /tmp and /var, in default installation.
Let's call this new way.

Here is how the partition scheme is layed out:
- first partition: freebsd-boot
- second partition: freebsd-ufs  - used for / (root) (journaled soft-updates)
- third partition: freebsd-swap

The old default partition scheme way was:
- first: /  (ufs)
- second: swap
- third: /tmp (ufs + soft updates)
- fourth: /var (ufs + soft updates)
- fifth: /usr (ufs + soft updates )

Why is the new way better? Well, it will not happend to remain without disk space on a partition. For example in the old way if you did not allocate enough space for /var and you have lots of emails or MySQL databases you could ran out of disk space. If you would allocate too much space, then if you did not need that space, it would be wasted.

So the new way is better. Is it safe? Well it im because the root partition in the new way is journaled soft-updates. That means faster than ufs (which was used for / on old FreeBSD) because of soft updates, and protection because of journalization.

One thing to mention: using a single partition for whole system (except swap) was a practice from long time ago on Linux, for the same reason of saving disk space.

Let's hope this new way wil end debate on "what is the best approach on partitioning a FreeBSD/Unix/Linux machine" for production use.

Last Updated ( Friday, 03 February 2012 )
< Prev   Next >

Other BSD Systems





Best BSD firewall?