From owner-freebsd-ports Sun Jan 12 19:34:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA16092 for ports-outgoing; Sun, 12 Jan 1997 19:34:14 -0800 (PST) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id TAA16087 for ; Sun, 12 Jan 1997 19:34:08 -0800 (PST) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 12 Jan 1997 22:33:33 -0500 (EST) Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA08408; Sun, 12 Jan 97 22:33:31 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id WAA16597; Sun, 12 Jan 1997 22:32:03 -0500 Message-Id: Date: Sun, 12 Jan 1997 22:32:02 -0500 From: rhh@ct.picker.com (Randall Hopper) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: ports@freebsd.org Subject: Re: workman-atapi port - should I reupload it? References: X-Mailer: Mutt 0.56 Mime-Version: 1.0 In-Reply-To: ; from J Wunsch on Jan 12, 1997 18:59:08 +0100 Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk J Wunsch: |As Randall Hopper wrote: |> In 2.1 there was a workman-atapi port that worked & continues to work |> great for me (I'm on 2.2-ALPHA now). | |Curious: why is there a separate ATAPI port required? The preferred |API for handling CD requests in FreeBSD is using the ioctl interface |(CDIO*). They are supposed to be device-independant, and leave all |the work to the respective device drivers. | |Since workman isn't setuid root (which would IMHO be required to issue |direct SCSI commands), i assume it's using that API. I just re-checked the current workman port (workman-1.3.tgz in packages-current) to verify nothing's changed: > ls -l /usr/X11R6/bin/workman -rwxr-xr-x 1 root wheel 98304 Dec 18 15:14 /usr/X11R6/bin/workman* > strings /usr/X11R6/bin/workman | grep ^/dev /dev/rcd0c > workman Warning: /var/run/workman.pid: Permission denied As root, please run chmod 666 /dev/rcd0c to give yourself permission to access the CD-ROM device. Still SCSI-specific, not setuid root, but needs access to the CD device. In my workman built from the workman-atapi port: > strings /opt/pkg/workman/bin/workman | grep ^/dev /dev/rwcd0c and I have it setuid root for that reason. Randall