[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to be sure, that /dev/cdrom exists?



On Sun, Oct 27, 2002 at 11:33:31PM +0100, Jan-Hendrik Palic wrote:

> I'm maintaining pbbuttonsd for PPC-Notebooks.
> I'm preparing the new upstream version and I stuck at this point, that
> the pbbuttonsd wants to have a link /dev/cdrom.

> How can I satisfy the dependency on the easiest way? 

Can the software not function without /dev/cdrom?  Unless I'm mistaken,
this software has plenty of uses even if there's no cdrom installed in
the machine.

The best way to make sure the /dev/cdrom link is present is to check for
it, use debconf to prompt the user if it's absent, and then create the
link (possibly with some /proc autodetection) if the user agrees to let
you create the link.

Steve Langasek
postmodern programmer

Attachment: pgpUl1wdCnBee.pgp
Description: PGP signature


Reply to: