Understanding Mount Point /mnt
What are mounting points? Basically, mounting points are where you mount your file systems or devices. Example: If I wanted to mount my CD-ROM/DVD, I would login as root or super-user and type: mount /dev/sdx /mnt/cdrom”x”, where “x” is the device number. And /mnt/cdrom is a directory where the files will be exported. Look at the following table for different mounted partition. Mountpoint Definition What it holds / You can boot the system here or create a separate /boot partition root Temporary virtual memory Swap Swap Store binaries, compiler libraries and user applications /usr User /var Variable This partition must be large. It keeps the log, spools etc. Home users' directory /home Home The system keeps temp files /tmp Temp Temporary mounting points /mnt Mount Table 1.2 In Linux, mount points can be mounted permanently or temporarily. For security purposes, you should only Mount your devices under root's privileges.
Swap Partition: Use or Not to Use
In many cases you will appreciate the swap partition and other times the system won't need it at all. This only depends on the type of system you are setting up. Let say that you have plenty of RAM, say, 128MB+ and you are the sole user of the machine, you may not need it then. On the contrary if you are setting up a server machine then you definitely will need swap. Swap is where the virtual memory takes place. Check the system logs frequently to see if you ran out of virtual memory at any point. Even if you know that you don't need swap, I recommend you create one about double the size of your physical ram.