Devd event from GEOM?

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Jan 30 07:22:40 PST 2005


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.


More information about the freebsd-current mailing list