[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Viewing
Adam and you are all right but there are a few options required by the mount
command. I have created a shortcut in my .bashrc file to link "mrom" to the
actual mount command, with all the otptions set. Here's how I did it:
by adding an entry the .bashrc file your are creating a shortcut (Much like
in Windoze) but more powerful. You just type the name of the alias and the
command line to be executed when that alias is typed in. Like so:
to mount my cdrom drive, my alias name is mrom, the command line to be
executed when I type in mrom, is
mount - t -auto /dev/hdb /mnt/cdrom
To unmount my cdrom drive, my alias name is urom, the command line to be
executed when I type in urom is:
umount /dev/hdb
Alias' are very powerful features if used sufficiently.
-Tim