Linux-kernel mailing list archive 1999-23,: Re: RFC: Devices, buses and hotplug

# Re: RFC: Devices, buses and hotplug

Stephen C. Tweedie (sct@redhat.com)
Tue, 8 Jun 1999 10:57:23 +0100 (BST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Richard Gooch: "Re: Migrating to larger numbers"
- Previous message: Nate Riffe: "Re: Migrating to larger numbers"

Hi,

Ingo Oeser writes:

> The thing is, that a fd is valid from sucessful open to
> sucessful close. So everything this fd depends on, is open too.
>
> But we could introduce a new signal (bad, since not POSIX), or
> use a new semantic for an existing one (even worse) to say "Hey,
> this fd is dead now! Any use from now on will cause errors."

We already have support for making the inode on a fd into a
permanently bad inode which returns EIO on every access: see
make_bad_inode(). vhangup also already deals with this sort of thing
for tty devices already.

--Stephen

-
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: Migrating to larger numbers"
- Previous message: Nate Riffe: "Re: Migrating to larger numbers"