mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Possible to unbind a raw devices so dvd can be ejected?
@ 2002-03-16 22:22 Anton Altaparmakov
  0 siblings, 0 replies; only message in thread
From: Anton Altaparmakov @ 2002-03-16 22:22 UTC (permalink / raw)
  To: linux-kernel

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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-16 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-16 22:22 Possible to unbind a raw devices so dvd can be ejected? Anton Altaparmakov

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®