Date: Sat, 22 Jan 2011 20:33:29 +0100 From: Polytropon <freebsd@edvax.de> To: Jens Jahnke <jan0sch@gmx.net> Cc: freebsd questions <freebsd-questions@freebsd.org> Subject: Re: Burning a DVD Message-ID: <20110122203329.ebeafb8b.freebsd@edvax.de> In-Reply-To: <20110122194718.3e625aae.jan0sch@gmx.net> References: <20110122194718.3e625aae.jan0sch@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Jan 2011 19:47:18 +0100, Jens Jahnke <jan0sch@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110122203329.ebeafb8b.freebsd>
