Differences between current version and revision by previous author of MountPoint.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Wednesday, May 2, 2007 11:53:50 pm | by ChrisRodliffe | |
Older page: | version 1 | Last edited on Saturday, August 16, 2003 5:29:04 pm | by CraigBox | Revert |
@@ -5,12 +5,30 @@
If you're unfamiliar with the standard Linux file layout, see FileSystemHierarchy.
Mountpoints are generally defined in fstab(5) and handled by mount(8).
-!Common Exmamples
+Usually, when your system starts up, it will mount all the file systems (partitions) listed in /etc/fstab.
+
+You can mount additional file systems using the mount command from the command line.
+
+Note that if you mount a partition (filesystem) in a non-empty directory, Linux will ignore (but not damage) the files already in that directory; they will reappear if the
+partition is unmounted. However this is not usually done, it's normal practice to create an empty directory for the mount point.
+
+
!Common Examples
; __/cdrom__ and __/floppy__ : Linked to your floppy and CDROM drive (in fstab(5)), and empty until you put a disk in and mount it.
; __/mnt__ : A special case, __/mnt__ is a directory that is defined by the Filesystem Hierarchy Standard as the MountPoint for a temporarily mounted file system.
+
+Typically, you may wish to mount a USB flash card or card reader with e.g.
+__mount -t vfat /dev/sda1 /mnt__ (where vfat is the file type, /dev/sda1
+is where the USB card reader is plugged in, and /mnt is the mount point).
+Cards in some multi-card readers of the type that support SD, XD, MMC, CF etc cards may show up as /dev/sdb1, /dev/sdc1 or /dev/sdd1 instead).
+
+Remember to un-mount the card (with e.g. __umount /mnt__ ) before unplugging
+the USB connection. (Note it's 'umount' not 'unmount').
+
+More recent Linux distros will save you the bother by auto-mounting CD's and
+USB cards.
This system is completely extensible - your filesystem can grow from / as far as it needs to grow.
Compare DriveLetters (which can't grow past 24 'mount points').