[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!



On Fri, Oct 22 1999, Dansbo, Jimmy wrote:
> Tak, nu fik jeg kompileret programmet, men jeg får en fejlbesked:
> 
> ioctl: Operation not permitted
> 
> Jeg har SU'ed til root først!

Ah, i 2.0 var ide-cd ikke registreret under uniform cd-rom
laget. Det er sådan at CD-ROM subsystemet i kernen er delt
i to dele - uniform lager og low level drivere. I 2.2
kernerne registrerer de forskellige CD-ROM drivere (ATAPI,
SCSI, gamle typer) sig ved uniform laget. Dette blev
netop lavet for at man skulle have et ensartet CD-ROM
interface til programmer og i det mindste en fælles base
af features. Før var det lidt uhensigtsmæssigt at
programmere til CD-ROM laget, da man faktisk var nødt
til at vide hvilken driver man havde fat i (og det er
netop dette problem du er løbet ind i).

ide-cd returnerer -EPERM ved ukendte ioctls (hvilket i
sig selv er en fejl, når vi nu er igang med at pille
2.0 fra hinanden :).

Jeg vil foreslå at du opgraderer til 2.2, hvilket må
siges at være et must hvis du vil have dit program
til at virke fornuftigt.

-- 
*  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] *