One minor change I made to mine was to make it all one command. If it
was mounted, unmount it and mount another. If nothing already mounted,
don't tell me about it.
Now when I change floppies, I just type mountdosa
alias mountdosa="umount /mnt/floppy >/dev/null |mount /dev/fd0 -t vfat
/mnt/floppy"
Since I usually want to go to the floppy when I mount it, I add a few
more words
alias mountdosa="umount /mnt/floppy >/dev/null |mount /dev/fd0 -t vfat
/mnt/floppy ; cd /mnt/floppy"
I may change the alias to something shorter so I have an easy command
to type whenever I swap flops.
ken
[EMAIL PROTECTED]
> -----Original Message-----
> From: Ron Marriage [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 12, 1999 10:34 AM
> To: Casey Bralla; Casey Bralla; [EMAIL PROTECTED]
> Subject: Re: How to mount FLoppy?
>
>
> 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
>