[nflug] >mount
Robert Meyer
meyer_rm at yahoo.com
Tue Jun 26 16:48:51 EDT 2001
Actually, on a Mandrake system, you just type 'supermount -i enable' and it
does all the editting for you. It sets up the /mnt/cdrom and /mnt/floppy
filesystems. Does that ROCK or what?!
later...
Bob
--- Robert Dege <rdege at cse.Buffalo.EDU> wrote:
>
> I already use supermount, as part of the Mandrake 2.4x kernel.
> Unfortunately, the owner hasn't written any "official" src code for the
> 2.4x kernel, so I have to use Mandrake's hack.... which works fine.
>
> I'll check out the fuser program though. I'm not sure if it will flag a
> shell & the cwd, but I'll find out.
>
>
> Greg, Supermount allows a user to mount & unmount a fs without explicitly
> mounting/umounting it. It would be using a floppy or cd-rom just like
> in Windows9x. ie: you hit the eject button on your CD-Rom & supermount
> will unmount the drive & allow the CD to be ejected. This also works for
> Floppies & HD partitions.
>
> You need to modify your kernel & fstab file. Mandrake has supermount
> built into the 2.4x kernel. Or you can use their kernel 2.4x source, if
> you want to manually compile the kernel.
>
> If you want more info about it, I can post my fstab file. It's a pain to
> type a supermount line manually :)
>
> -Rob
>
>
> > If there is a process that is currently in the directory that the drive is
> > mounted under, it cannot be unmounted. You can use the 'fuser' program
> with
> > the -m <block device> option to find out what has the file system mounted.
> You
> > can probably use the -k option to kill the processes that have it open and
> then
> > do the unmount.
> >
> > Of course, this is a really rude thing to do to users :-)
> >
> > Have you considered using the 'supermount' system? It will mount file
> systems
> > when you attempt to access them and unmount them when nothing is talking to
> the
> > file system any more. Kinda cool for CDROM and floppy drives.
> >
> > Cheers!
> >
> > Bob
>
>
=====
Bob Meyer
Knightwing Communications, Inc.
36 Cayuga Blvd
Depew, NY 14043
Phone: 716-308-8931 or 716-681-0076
Meyer_RM at Yahoo.com
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
More information about the nflug
mailing list