Appendix C. Partitioning for Ubuntu Directory Content mnt Mount point for mounting a file system temporarily proc Virtual directory for system information root Home directory for the root user run Run-time variable data sbin Essential system binaries sys Virtual directory for system information tmp Temporary files usr Secondary hierarchy var Variable data srv Data for services provided by the system opt Add-on application software packages The following is a list of important considerations regarding directories and partitions. Note that disk usage varies widely given system configuration and specific usage patterns. The recommendations here are general guidelines and provide a starting point for partitioning. 106 • /home : every user will put his personal data into a subdirectory of this directory. Its size depends on how many users will be using the system and what files are to be stored in their directories. Depending on your planned usage you should reserve about 100MB for each user, but adapt this • /tmp : temporary data created by programs will most likely go in this directory. 40–100MB should usually be enough. Some applications — including archive manipulators, CD/DVD authoring tools, and multimedia software — may use /tmp to temporarily store image files. If you plan to use such applications, you should adjust the space available in /tmp accordingly. • /var : variable data like news articles, e-mails, web sites, databases, the packaging system cache, etc. will be placed under this directory. The size of this directory depends greatly on the usage of your system, but for most people will be dictated by the package management tool’s overhead. If you are going to do a full installation of just about everything Ubuntu has to offer, all in one session, setting aside 2 or 3 GB of space for /var should be sufficient. If you are going to install in pieces (that is to say, install services and utilities, followed by text stuff, then X, ...), you can get away with 300–500 MB. If hard drive space is at a premium and you don’t plan on doing major system updates, you can get by with as little as 30 or 40 MB. • It is now recommended to have /usr on the root partition / , otherwise it could cause some trouble at boot time. This means that you should provide at least 600–750MB of disk space for the root partition including /usr , or 5–6GB for a workstation or a server installation. • It is now recommended to have /usr on the root partition / , otherwise it could cause some trouble at boot time. This means that you should provide at least 600–750MB of disk space for the root partition including /usr , or 5–6GB for a workstation or a server installation. • /usr : contains all user programs ( /usr/bin ), libraries ( /usr/lib ), documentation ( /usr/share/doc ), etc. This is the part of the file system that generally takes up most space. You should provide at least 500MB of disk space. This amount should be increased depending on the number and type of packages you plan to install. A generous server installation should allow 4–6GB. • The root partition / must always physically contain /etc , /bin , /sbin , /lib and /dev , otherwise you won’t be able to boot. Typically 150–310MB is needed for the root partition.