From: Anton Altaparmakov <aia21@cam.ac.uk>
To: linux-kernel@vger.kernel.org
Subject: Possible to unbind a raw devices so dvd can be ejected?
Date: Sat, 16 Mar 2002 22:22:18 +0000 [thread overview]
Message-ID: <5.1.0.14.2.20020316221729.00a97dd0@pop.cus.cam.ac.uk> (raw)
After using: raw /dev/raw/raw1 /dev/hdc I no longer can eject the disk in
/dev/hdc. (kernel version 2.4.19-pre7-ac2)
Using the eject utility I get "device busy" error, obvious as the raw
binding has done a bd_get() on the /dev/hdc.
But now, how do I unbind it so bd_put is invoked? I don't see any way to do
it and the raw ioctl doesn't see to offer that functionality either.
If there is no way this is extremely silly as I need to reboot to switch
from one dvd to another.
I hope I am missing something...
If not is there a patch expanding the raw ioctl with unbind functionality
and if not would one be accepted? I think that we definitely need one...
Best regards,
Anton
--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/
reply other threads:[~2002-03-16 22:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5.1.0.14.2.20020316221729.00a97dd0@pop.cus.cam.ac.uk \
--to=aia21@cam.ac.uk \
--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
all inboxes | Powered by JetHome®