Re: Devd event from GEOM?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 30 Jan 2005 16:20:35 +0100
In message <20050130161323.5e25414e_at_Magellan.Leidinger.net>, Alexander Leidinger writes:

>Let's take a CD for example, when it arrives the auto-mounter mounts it.
>Fine, but the CD is locked then. What do we do when we want to remove
>the CD? Or another example, an USB stick. The hardware isn't locked, but
>when we just remove it, we're calling for a kernel panic.

Now that local-storage filesystems are GEOM users, we can actually get
the "orphan" event from GEOM communicated to the filesystem which can
then take proper evasive action.

No filesystem has implemented this yet.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Sun Jan 30 2005 - 14:22:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC