Linux Know-How provides a collection of introductory texts on often needed Linux skills. |
![]() |
Home ![]() ![]() ![]() ![]() |
||
See also: Mounting Drives, Can I mount automatically? | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||
Simplify the Mounting Command
alias cdrom="mount -v /mnt/cdrom" alias ucdrom="umount -v /mnt/cdrom" alias dosdrive="mount -v /mnt/dosdrive" alias udosdrive="umount -v /mnt/dosdrive" alias zipdrive="mount -v /mnt/zipdrive" alias uzipdrive="umount -v /mnt/zipdrive" alias floppy="mount -v /mnt/floppy" alias ufloppy="umount -v /mnt/floppy" The option "-v" stands for "verbose", i.e., it tells Linux to talk to me a lot during mounting. For the aliases to take effect, the user has to re-login. Now the user can mount the floppy using this simple command: floppy and s/he can unmount it using ufloppy
|
||
Home ![]() ![]() ![]() ![]() |