Re: Of removable devices

From: Khimenko Victor (khim@dell.sch57.msk.ru)
Date: Thu Feb 17 2000 - 18:03:16 EST


On Thu, 17 Feb 2000, Riley Williams wrote:

> Hi Khimenko.
>
> >>> You should not be able to pull medium while it in use. This is
> >>> true for CD-ROM, ZIP, MO and so on. This is not true only for
> >>> "normal" floppies. Let them die.
>
> >> That is becoming less true. The kernel has support for USB,
> >> firewire and PCMCIA. Even so pulling the medium, or even device,
> >> isn't much different from a headcrash on a harddisk. The
> >> filesystem can no longer be accessed. I happen to think the
> >> kernel should survive a device's death unless it holds /.
>
> > Kernel WILL survive. Just filesystem on said device/floppy
> > will be trashed if you'll not unmount it first. No problem to me:
> > "you are asked for this"...
>
> So if kmod is loading a module from a USB hard drive when I unplug it,
> the kernel is guaranteed to survive? That's good to know.
>

1. You are not supposed to put kernel modules on removable media.
2. Yes, kernel will survive. Just said module will stuck in some strange
state (the same happens if you have bad blocks or trashed filesystem on
drive where modules are placed).

-
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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:20 EST