I have a Samsung N150 netbook with 160 GB hard disk. I want to install FreeBSD OS. There will be no other OSs, no dual booting or like that, just FreeBSD. So the manual says to have a separate partition for /var, /usr and /
Earlier I used Ubuntu where I created / with 30 GB and rest for /home. But what will be the optimal disk size for use in FreeBSD? How much can /var grow into? Also if I install applications from ports where will it go? Is it to /usr/local/bin or /opt? Which is recommended?
My usage will be as a development machine. i.e it will have all my personal stuffs like music plus development software, server etc. I think of having separate partitions for keeping development files and mounting when ever required. Also separate partition for other stuffs like music, docs etc. So that even if I reformat the OS, I will only have to wipe the OS files, and not my personal files. So which format (like ext4 or zfs) should those partitions have? Can those be on extended partition since FreeBSD need a primary partition.
|
|
|||
|
Why do you want to bother with a complicated set-up? One partition sized 20GB should be enough for |
|||
|
|
|
Read 'man tuning' for proper disk partitioning and why you should use different partitions, unlike what other posters have said. The handbook should be followed and, afaik, ALL FreeBSD users partition their systems as shown. |
|||||||
|
|
I would use this kind of arrangement for 160G:
Note that /home is the last partition. This is done on purpose. It's good practice to not partition all space. This way, if in the future you begin to run out of space in a partition you can add space from the unused space. And why not just use a big / ? Mainly because it makes for easier upgrading and more granularity over security. for instance, using one big / you can't make use of |
|||
|
|
/varand/usrexcept with very special requirements (which you don't have). Separating the OS from your own data is a good idea, but dividing the OS into bits isn't useful. – Gilles Apr 9 '11 at 16:03