We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Wikilearn Web>Mountpoint (15 Jan 2002, RandyKramer)
Tags:
create new tag
, view all tags
See BLT.

mountpoint: For a disk (or partition (portion) of a disk) to be usable in Linux, it must be "mounted? ". Mounting a disk establishes its location in the file and directory hierarchy, in other words, it establishes its path, like /, /usr, /home, /home/user01/temp.

Aside: Not all mountpoints require that a disk be mounted there -- if a disk is not mounted at a potential mountpoint, the storage space for that mountpoint will be located on the disk or partition at a higher mount point in the same hierarchy. <reword this, change mountpoint to something else> Example: If the only mount point "mounted" to a partition is /, all directories and files "below" / (/usr, /home, /home/user01, etc.) will be stored on the partition mounted as root.

Example: If you have a partition of a disk /dev/hda1 and you want to use it as /home/user01/temp, you first create the mountpoint /home/user01/temp using:

mkdir /home/user01/temp (Assuming /home/user01 exists.)

You then mount the partition to that mountpoint using mount, something like:

mount <options> /dev/hda1 /home/user01/temp

You can either do these operations (as root, only?), or have them done automatically during startup of the system. To have it done automatically during startup of the system, you must add a mount line to the /etc/fstab file. (The mount command in /etc/fstab might be slightly different than one issued from the command line??)

See AboutThesePages.

Contributors

  • RandyKramer - 15 Jan 2002
  • <If you edit this page, add your name here, move this to the next line>
Topic revision: r2 - 15 Jan 2002 - 18:37:00 - RandyKramer
Wikilearn.Mountpoint moved from Wikilearn.MountPoint on 15 Jan 2002 - 18:35 by RandyKramer - put it back
 
TWIKI.NET
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
See TWiki's New Look