Although you can retype the command sequence in over and over, an easier way
is to put it in say your 
/etc/bashrc
or whatever control file for the shell you use. 
Become Root
Simply add the lines below and save.

# Mount a DOS Floppy - Long FileName support
alias mntdosa="mount /dev/fd0 -t vfat /mnt/floppy"
alias umntdosa="umount /mnt/floppy"

# Mount a Linux Floppy
alias mntlina="mount /dev/fd0 -t ext2 /mnt/floppy"
alias umntlina="umount /mnt/floppy"

This way as any user you can mount and umount devices with a single word
command.

Ron


On Sun, 11 Jul 1999, Casey Bralla wrote:
> What command do I need to mount a floppy & use the ext2 file format. 
> (I'd use msdos format, but I want to be able to save with long file
> names).
> 
> TIA
> 
> 
> 
> 
> Casey Bralla
> Chief Nerd In Residence
> The NerdWorld Organisation
> 
> http://www.NerdWorld.org
> [EMAIL PROTECTED]
--
====
Ron Marriage
E-Mail    mailto:[EMAIL PROTECTED]
Homepage  http://www.seidata.com/~marriage

Reply via email to