Previous Page | Next Page

  1. Linux Manual
  2. Installation & Internet
  3. About the Author
  4. Content
  5. Installation
  6. Choosing a Linux Distribution
  7. Partition types
  8. Fdisk
  9. Understanding Mount Point /mnt
  10. Linux File Structure
  11. Creating a boot disk
  12. Welcome to Linux Installation
  13. Installation mode
  14. Partitioning
  15. Creating partitions with Druid
  16. Creating partitions manually
  17. Formatting Partitions
  18. Individual packages selection
  19. The root account
  20. Network configuration
  21. The time zone
  22. Configuring Services
  23. Configuring X
  24. Installing Mandrake 9.1 & 9.2
  25. Installation Class
  26. The Drake X Partitioning
  27. Package Selection
  28. Configuring X
  29. The Internet
  30. Creating a new user
  31. Getting online
  32. Configuring the connection (Dial UP)
  33. High Speed Internet
  34. DSL Modems and Cable modems
  35. Connecting DSL as DHCP
  36. Setting up a Plain Cable Modem (DOCSIS)
  37. Connecting an ISDN
  38. Using Routers
  39. Login Protocols
  40. PPPoE
  41. WAN IP Address
  42. Commercial Configuration
  43. Troubleshooting

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.

MountpointDefinitionWhat it holds
/rootYou can boot the system here or create a separate /boot partition
SwapSwapTemporary virtual memory
/usrUserStore binaries, compiler libraries and user applications
/varVariableThis partition must be large. It keeps the log, spools etc.
/homeHomeHome users' directory
/tmpTempThe system keeps temp files
/mntMountTemporary mounting points

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.