[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [CPROG] automatisk mount umount af CD-ROM!



Hvordan får jeg fat i/læser CDROM_DRIVE_STATUS og CDROM_DISC_STATUS?

-----Original Message-----
From: Jens Axboe [mailto:sslug@sslug
Sent: 21. oktober 1999 12:15
To: sslug@sslug
Subject: Re: [CPROG] automatisk mount umount af CD-ROM!


On Thu, Oct 21 1999, Dansbo, Jimmy wrote:
> Hejsa!
> 
> Jeg har endnu ikke arbejdet ret meget med Linux/programmering under linux,
> men jeg kunne godt tænke mig at lave et program som køre i baggrunden og
som
> selv kan finde ud af at mounte en cd under opstart og når der kommer en ny
> CD i cdrom drevet samt som kan umounte CD'en når man trykker på eject
> knappen på CD-ROM drevet.
> 
> Er der nogen af jer der ved om et sådan program allerede er lavet?
> Er der nogen af jer som eventuelt ville være med til/stå for at lave et
> sådan program?

Det er sådan set ikke så meget i det. Du kan polle CD-ROM
drevet med CDROM_DRIVE_STATUS og CDROM_DISC_STATUS og så
mounte / starte audio player når du opdager at en ny disk
er sat i. Prøv at kigge på magicdev fra Red Hat 6.1

-- 
*  Jens Axboe <sslug@sslug>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *