Mount (Unix)

Mount (Unix)

The mount Unix command line utility instructs the operating system a file system is ready to use, and associates it with a particular point in the system's file system hierarchy (its "mount point"). The counterpart umount ["sic"] instructs the operating system that the file system should be disassociated from its mount point, making it no longer accessible. The mount and umount commands require root user privilege or the corresponding fine-grained privilege.

Example

The second partition of a hard disk is mounted with the command:

$ mount /dev/hda2 /new/subdir

and unmounted with the command:

$ umount /dev/hda2

or

$ umount /new/subdir

To list all mounted file systems:

$ mount

To remount a partition with specific options:

$ mount -o remount,rw /dev/hda2

To mount an ISO file:

$ mount -o loop

To mount all filesystems listed in fstab:

$ mount -a

pmount

pmount is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry. This provides a robust basis for automounting frameworks like GNOME's Utopia project and confines the amount of code that runs as root to a minimum.

This package also contains a wrapper "pmount-hal" which reads information such as device labels and mount options from HAL and passes them to pmount.

To configure, the administrator would add a list of devices to /etc/pmount.allow that non-root users can mount:

echo /media/cdrom >> /etc/pmount.allow &&echo /media/dvd >> /etc/pmount.allow &&echo /media/thumbdrive >> /etc/pmount.allow

gnome-mount

The gnome-mount package contains programs for mounting, unmounting and ejecting storage devices. The goal for gnome-mount is for GNOME software such as gnome-volume-manager and GNOME-VFS to use this instead of invoking mount/umount/eject or direct HAL invoking methods.

All the gnome-mount programs utilize HAL methods and as such run unprivileged. The rationale for gnome-mount is to have a centralized place (in GConf) where settings such as mount options and mount locations are maintained. [ [http://www.linuxfromscratch.org/blfs/view/svn/gnome/gnome-mount.html gnome-mount-0.6 ] ]

See also

* Mount (computing)
* List of Unix programs

References

External links

*man|8|mount
* [http://pmount.alioth.debian.org/ pmount] .


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • mount (Unix) — The Unix command line utility mount instructs the operating system that a file system is ready to use, and associates it with a particular point in the system s file system hierarchy (its mount point). The counterpart umount instructs the… …   Wikipedia

  • Mount — may refer to: Displays and equipment Weapon mount, equipment used to secure an armament Lens mount, an interface used to fix a lens to a camera Telescope mount, a device used to support a telescope A fixed point for attaching equipment, such as a …   Wikipedia

  • Mount — Saltar a navegación, búsqueda mount es un comando de sistemas basados en Unix que se utiliza para montar dispositivos y particiones para su uso por el sistema operativo. Montar es hacer que el sistema operativo proyecte el contenido de ese… …   Wikipedia Español

  • mount — es un comando de sistemas basados en Unix que se utiliza para montar dispositivos y particiones para su uso por el sistema operativo. Montar es hacer que el sistema operativo proyecte el contenido de ese dispositivo o partición en un enlace… …   Wikipedia Español

  • mount — утилита командной строки в UNIX подобных системах. Применяется для монтирования файловых систем. Содержание 1 Использование 1.1 Размонтирование командой umount …   Википедия

  • Mount — утилита командной строки в UNIX подобных системах. Применяется для монтирования файловых систем. Содержание 1 Использование 1.1 Размонтирование командой umount …   Википедия

  • UNIX — UNIX, parfois écrit « Unix », avec des petites capitales, est un système d exploitation multitâche et multi utilisateur créé en 1969, conceptuellement ouvert et fondé sur une approche par laquelle il offre de nombreux petits outils… …   Wikipédia en Français

  • Unix — (marque déposée officiellement comme UNIX, parfois aussi écrit comme Unix avec les petites capitalisations) est le nom d un système d exploitation multitâche et multi utilisateur créé en 1969, conceptuellement ouvert et fondé sur une approche par …   Wikipédia en Français

  • Unix — (registrado oficialmente como UNIX®) es un sistema operativo portable, multitarea y multiusuario; desarrollado, en principio, en 1969 por un grupo de empleados de los laboratorios Bell de AT T, entre los que figuran Ken Thompson, Dennis Ritchie y …   Wikipedia Español

  • UNIX-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”