Burning a DVD
Polytropon
freebsd at edvax.de
Sat Jan 22 19:33:32 UTC 2011
On Sat, 22 Jan 2011 19:47:18 +0100, Jens Jahnke <jan0sch at gmx.net> wrote:
> Hi,
>
> I tried to burn a dvd after doing setup according to the handbook.
>
> /boot/loader.conf:
> atapicam_load="YES"
> hw.ata.atapi_dma="1"
>
> /etc/devfs.conf:
> link acd0 cdrom
> link acd0 dvd
> perm acd0 0660
And HERE is the mistake: You need to specify the /dev/cd0
device which gets accessed by the ATAPICAM facility. The
/dev/acd0 device does not understand SCSI commands.
> But when I try
> growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video
> I get:
> :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
> device
Fully correct. See "man growisofs" for an explaination
of what /dev/dvd refers to. You can either use
growisofs -dvd-compat -Z /dev/dvd=/path/to/file.iso
or
growisofs -dvd-compat -Z /dev/dvd -r -J /path/to/files
if you have devfs.conf point dvd to cd0 - or you simply
specify /dev/cd0 instead of /dev/dvd.
> No matter if I try as regular user or as root the error message stays
> the same.
Of course. :-)
Remember: ATA -> /dev/acd0, ATAPICAM ("SCSI over ATAPI") -> /dev/cd0,
and therefore /dev/dvd -> /dev/cd0 for simplified access.
Given you set the permissions correctly, burning DVDs as a
non-root user should be no problem.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list