From: Pavel Machek <pavel@ucw.cz>
To: jbradford@dial.pipex.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] IDE driver model update
Date: Tue, 8 Oct 2002 23:57:28 +0200 [thread overview]
Message-ID: <20021008215728.GA841@elf.ucw.cz> (raw)
In-Reply-To: <200210081325.g98DP6MY000340@darkstar.example.net>
Hi!
> > > > _ALL_ buses that have driverfs support (IDE, SCSI, USB, PCI) have their
> > > > own rules for lifetimes of their structures. And that's not likely to
> > > > change - these objects belong to drivers and in some cases (IDE) are
> > > > not even allocated dynamically - they are reused if nothing is holding
> > > > them.
> > >
> > > IDE objects can also outlast the hardware - consider an active mount on
> > > an ejected pcmcia card. Right now we don't do the right stuff to
> > > reconnect that on re-insert but one day we may need to. As it is we keep
> > > the instance around to avoid crashes
> >
> > Ouch. That (reconnects) may require interesting things from queue-related
> > code. What behaviour do you want while card is disconnected? All requests
> > getting errors / all requests getting blocked / reads failing, writes blocking?
>
> This raises the interesting possibility of being able to refer to
> things like removable media directly, instead of the device the media
> is inserted in.
>
> The Amiga was doing this years ago. You could access floppy drives
> as, E.G. df0:, df1:, etc, but if you formatted a volume and called it
> foobar, you could access foobar: no matter which floppy drive you put
> it in to.
>
> Also, Plan 9 does similar interesting things - you can do the equivilent of:
>
> ls /internet/websites/kernel.org/
>
> and treat the website as a filesystem.
uservfs.sf.net, and you can do similar stuff on linux.
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
next prev parent reply other threads:[~2002-10-09 9:26 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 19:30 [patch] IDE driver model update Patrick Mochel
2002-10-07 19:31 ` Patrick Mochel
2002-10-07 19:31 ` Patrick Mochel
2002-10-11 23:06 ` Pavel Machek
2002-10-07 19:31 ` Patrick Mochel
2002-10-07 22:42 ` Alexander Viro
2002-10-07 22:51 ` Patrick Mochel
2002-10-07 22:58 ` Alexander Viro
2002-10-07 23:06 ` Patrick Mochel
2002-10-08 2:17 ` Alexander Viro
2002-10-08 12:21 ` Alan Cox
2002-10-08 12:24 ` Alexander Viro
2002-10-08 13:05 ` Alan Cox
2002-10-08 19:18 ` Andries Brouwer
2002-10-08 13:25 ` jbradford
2002-10-08 14:31 ` Ketil Froyn
2002-10-08 21:34 ` Xavier Bestel
2002-10-08 21:57 ` Pavel Machek [this message]
2002-10-08 15:05 ` Benjamin Herrenschmidt
2002-10-08 18:43 ` Patrick Mochel
2002-10-08 20:47 ` [RFC] embedded struct device " Alexander Viro
2002-10-08 21:29 ` Linus Torvalds
2002-10-08 21:42 ` Alexander Viro
2002-10-08 21:53 ` Kai Germaschewski
2002-10-08 21:57 ` Patrick Mochel
2002-10-08 22:51 ` Alan Cox
2002-10-08 21:54 ` Patrick Mochel
2002-10-08 22:12 ` Linus Torvalds
2002-10-08 22:48 ` Kai Germaschewski
2002-10-08 23:28 ` Linus Torvalds
2002-10-08 22:29 ` Greg KH
2002-10-08 21:30 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021008215728.GA841@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=jbradford@dial.pipex.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox