[H-GEN] Removeable Storage Devices
David Jericho
davidj at in4free.com.au
Mon May 31 20:46:22 EDT 1999
(Note reply-to: being general at humbug.org.au vs David Jericho <davidj at in4free.com.au>)
On Mon, May 31, 1999 at 02:40:48PM +0000, Marc Dergacz wrote:
> Here is what I am trying to do. When a user puts
> in a disk, the drive is *not* locked but mounted
> automatically. When the eject button is pressed,
> the disk is unmounted and the disk ejects. Sort
> of the fashion that is used with PCMCIA devices.
That'd be a function of the kernel level driver, not the mount binaries.
For a real classic example of this, check out the Soundblaster CDROM driver
code. It's nice and big and commented right at the top.
--
David Jericho
--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.
More information about the General
mailing list