% cat /etc/fstab /dev/sda1 / ext2 defaults 1 1 /dev/sda2 /usr/local ext2 defaults 1 1 /dev/sda4 /home ext2 defaults 1 1 /dev/sdb1 swap swap defaults 0 0 /dev/sdb3 /export ext2 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 /dev/fd0 /mnt ext2 defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 ro 0 0
This is a random example that I got from a website while trying to understand mounting of devices. Being someone from a Windows background, I have a hard time trying to understand the concept of mount points.
Here is my understanding, please correct me where wrong:
- All detected devices go in the
/sda1is the first partition of the SCSI drive and is mounted on the root because legend has it that one drive has to be mounted on the root.
swapneeds no mount point.
What I don’t understand is why the other
sda partitions have different mount points. Shouldn't they all go to