Everything2
Near Matches
Ignore Exact
Full Text
Everything2

mount point

created by CentrX

(idea) by ferrouslepidoptera (3.9 y) (print)   ?   (I like it!) 1 C! Sun Aug 20 2000 at 6:01:32

A "mount point" is a concept probably originating with unix filesystems, though other OSes may have a similar concept.

A unix filesystem consists of a hierarchy of directories. The first filesystem to be mounted (made accessible) is the root filesystem. It is mounted at "/", that is, "/" is the root filesystem's mount point. Other filesystems are mounted "on top of" directories that are part of the root filesystem.

For example, there is often a filesystem mounted on "/usr", (less often these days, but in the old days) and so "/usr" is the "mount point" for this filesystem.

Filesystems are "mounted" with the "mount" command, which typically looks something like this:

% mount -t ufs /dev/someblockdevice /some/mount/point

The "-t ufs" tells the OS what kind of filesystem, in this case ufs, other kinds would be NFS, MSDOS, vxfs, s5, ext2, cdfs to name a few.

The "-t" is one of the things unix vendors seem to loveto change for no good reason. I've seen "-f", "-F", and "-v" used in place of "-t".

the "/dev/someblockdevice" is the device node of typically, a disk device, and tells the OS which physical device is being accessed. Some (most) variants of unix distinguish between a character devices (aka raw devices) and block devices, the difference being that I/O performed through the character interface to a disk device does not go through the buffer cache while I/O operations performed on the block device do go through the buffer cache. Anyway, you typically use the block interface to a disk device for purposes of mounting it.

the "/some/mount/point" is the "mount point", where in the filesystem tree you would like the filesystem on this device to appear.


This write-up was a response to a node-shell challenge I happened to overhear in the chatterbox. Nobody else seemed to have a very clear idea what a "mount point" was, so I volunteered.

printable version
chaos

I live on the moon! Real Men Don't Eat Quiche mount Sexual position
mount table Unix Filesystem Hierarchy unix commands UFS
NFS ext2 Respect half adder
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Look at this mess the Death Borg made!
George Washington
Everything Quests - The High Seas
Earth
HOT DAMN!: Drinking, Debauchery, and Dastardly Deeds
The Cassandralike experience of aging
car chase
The Joy Luck Fight Club
REMFS
Laurie Anderson
B-25 Mitchell
panic attack
Dymaxion car
Voynich Manuscript
New Writeups
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
John_Fox
Good Intentions Gone Wrong(person)
Cuckowski
Slavonic Princess(poetry)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
E2 is a by-product of the existence of The Everything Development Company