Linux-kernel mailing list archive 2000-07,: Re: Of removable devices

# Re: Of removable devices

Jeff Garzik (jgarzik@mandrakesoft.com)
Wed, 16 Feb 2000 21:35:10 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Richard Gooch: "Re: [patch-2.3.46-p2] P6 microcode update support"
- Previous message: Horst von Brand: "Re: DSL Modem?"
- Maybe in reply to: Francis GALIEGUE: "Of removable devices"
- Next in thread: Manfred Spraul: "Re: Of removable devices"

Horst von Brand wrote:
>
> Jeff Garzik <jgarzik@mandrakesoft.com> said:
> > Dominik Kubla wrote:
> > > First: There is something called vold (SUN haters please keep quiet)
> > > for Linux too for management of removable media. No need to
> > > patch the kernel as far as i know (i don't use this stuff).
>
> > I like the Sun method... at least a lot better than supermount. :)
> >
> > CD insert -> automount
> > CD eject -> command "eject cd"
>
> OK. But AFAIR Sun just hangs when you insert an audio CD...

audiofs

> > Floppy insert -> 'volcheck' causes mount
>
> And hangs hard (or screams at you) if it happens not to be formatted, or
> part of a multivolume tarball, or a non-MSDOS diskette. At least some
> versions of SunOS got wedged and the floppy drive became unusable until the
> next reboot.

I never had a hang, maybe you should apply patches. :)

One expects an unformatted disk or unrecognizable format to fail in some
way.

> > Floppy eject -> command "eject floppy" (and mechanically eject if
> > necessary)
>
> Mechanically retaining the floppy is not there for PCs, sorry.

ya think?

> This idea sounds nice, but is _extremly_ hard to get to work right. How do
> you format a diskette with this kind of setup? Do a rawrite? Create/use
> multivolume tarballs? Handle different (perhaps even alien) filesystems,
> esp. one that is handled by userlevel programs (something like mtools(1))?

if mounted by vold: use as mounted fs
if not mounted: use device directly, 'fdformat /dev/fd0' etc.

How difficult is that?

vold, volcheck and other Solaris tools are really minimal extensions to
automount. No big deal or rocket science, and not hard to get right.
The toughest thing is training the users...

    --
    Jeff Garzik         | Writing software is
    Building 1024       | more fun than working.
    MandrakeSoft, Inc.  | 	-Anon

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Richard Gooch: "Re: [patch-2.3.46-p2] P6 microcode update support"
- Previous message: Horst von Brand: "Re: DSL Modem?"
- Maybe in reply to: Francis GALIEGUE: "Of removable devices"
- Next in thread: Manfred Spraul: "Re: Of removable devices"