Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mountpy(1) [debian man page]

MOUNTPY(1)						      General Commands Manual							MOUNTPY(1)

NAME
mountpy - program for quick automatic mounting and umounting of external filesystems, especially suited for USB removable devices. SYNOPSIS
mountpy [options] [devices] umountpy [options] [devices] DESCRIPTION
Just run mountpy to mount all the devices. Short summary will be printed. By default, you can find mounted filesystems under /media Run mountpy -u or umountpy to umount everything it can. Short summary will be printed, with warning if some device could not have been umounted mountpy device tried to mount only one device, e.g.: mountpy sda or more devices, e.g. mountpy sda fd0 cdrom use -v to verbosely print what is going on, -vv to get even more information. OPTIONS
-u, --umount Umount evrything possible. -h, --help Show summary of options. -v Be verbose -vv Be very verbose SEE ALSO
mount(8) AUTHOR
Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk> 2004-12-09 MOUNTPY(1)

Check Out this Related Man Page

pumount(1)						      General Commands Manual							pumount(1)

NAME
pumount - umount arbitrary hotpluggable devices as normal user SYNOPSIS
pumount [ options ] device DESCRIPTION
pumount is a wrapper around the standard umount program which permits normal users to umount removable devices without a matching /etc/fstab entry. pumount also supports encrypted devices which use dm-crypt and have LUKS metadata. If a LUKS-capable cryptsetup is installed, pumount will umount the mapped device instead and call cryptsetup to close the decrypted device afterwards. pumount expects the device as its only argument. This will umount device from a directory below /media if policy is met (see below). Please note that, as with pmount, you can use labels and uuids as described in fstab (5) for devices present in /etc/fstab. In this case, the device name need to match exactly the corresponding entry in /etc/fstab, including the LABEL= or UUID= part. Important note for Debian: The permission to execute pumount is restricted to members of the system group plugdev. Please add all desktop users who shall be able to use pmount to this group by executing adduser user plugdev (as root). OPTIONS
-l, --lazy Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.) IMPORTANT NOTES This option should not be used unless you really know what you are doing, as chances are high that it will result in data loss on the removable drive. Please run pumount manually and wait until it finishes. In addition, pumount will not luksClose a device which was unmounted lazily. --luks-force Normally, pumount will not luksClose (see cryptsetup(1)) a device pmount did not open. However, you can bypass this restriction with this flag. You probably will need it if you did mess around with the /var/lock/pmount_luks directory. -h, --help Print a help message and exit successfully. -d, --debug Enable verbose debug messages. --version Print the current version number and exit successfully. POLICY
The umount will succeed if all of the following conditions are met: o device is a block device in /dev/ (it does not need to exist if -l is supplied) o device is not in /etc/fstab (if it is, pmount executes umount device as the calling user to handle this transparently) o device is mounted according to /etc/mtab and /proc/mounts with the calling user's uid o mount point is in /media PUMOUNT AND MISSING DEVICES
pumount now supports unmounting devices that have gone missing for some reason, such as a brutal removal of the device, or a kernel/hard- ware problem. Just specify the mount point as argument for pumount. SEE ALSO
pmount(1), cryptsetup(1), umount(8) AUTHOR
pmount is developed by Martin Pitt <martin.pitt@canonical.com>. Martin Pitt August 27, 2004 pumount(1)
Man Page