pavement

K3b

From FreeBSDwiki
Jump to: navigation, search

K3b is a burning program which will burn just about anything to CD/DVD.

Here is a quick config guide to getting k3b working under FreeBSD6.X

Contents

Setup IDE CDROM Drive

Load your atapicam driver to see your IDE drive as part of the SCSI system.

Add this line to /boot/loader.conf

atapicam_load="YES"

Type the following

# kldload atapicam


Change /etc/fstab CDROM lines From:

/dev/acd0                /cdrom          cd9660  ro,noauto       0       0

To:

/dev/cd0                /cdrom          cd9660  ro,noauto       0       0

Check that your devices are showing up:

# camcontrol devlist
<HL-DT-ST DVDRAM GMA-4020B A106>   at scbus0 target 1 lun 0 (pass1,cd1)

Setup for users

Change some file permissions

# chown root /usr/local/bin/cdrecord
# chmod 4711 /usr/local/bin/cdrecord

For the user who you want to be able to burn, add a mount point to their home directory for the cdrom:

$ mkdir ~/cd0

Add it to fstab

/dev/cd0c  /usr/home/XXX/cd0  cd9660  ro,noauto,nodev,nosuid  0  0

Allow user mounts

add the following to /etc/sysctl.conf

vfs.usermount=1 

Change it manually

# sysctl -w vfs.usermount=1

Edit /etc/devfs.conf and add the following:

own       /dev/cd0    root:operator
perm      /dev/cd0    0666
own       /dev/pass0  root:operator
perm      /dev/pass0  0666
own       /dev/xpt0   root:operator
perm      /dev/xpt0   0666

Change it manually

# chmod 666 /dev/cd0
# chmod 666 /dev/pass0
# chmod 666 /dev/xpt0

add to /etc/rc.conf

devd_enable="YES"

Create a temp area for CD images

# mkdir /usr/cdtemp
# chmod 777 /usr/cdtemp

More Info

For more information refer to the documentation from the k3b installation

# pkg_info -Dx k3b

Extras

Here I will explain how to burn to either extra mediums or different types of data ie: Audio.

DVD burning

Install dvd+rw-tools

# pkg_add -r dvd+rw-tools
Personal tools