Line 0
Link Here
|
|
|
1 |
Notes for FreeBSD 7.x and onwards users: |
2 |
1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD |
3 |
drives, use them through the cam system. See Chapter 12.5.9 of the handbook |
4 |
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM) |
5 |
2. Your CD and DVD drives must have a mount point in /etc/fstab. They have |
6 |
to be accessed through their atapicam device if possible. I.e. the drives |
7 |
have to be adressed by e.g. /dev/cd0 instead of /dev/acd0. |
8 |
3. k3b has to be started from a root console, which is not recommended. |
9 |
Alternatively do ALL of the following: |
10 |
3a. set the suid flag on cdrecord and cdrdao. The 'Notes' chapter of |
11 |
'man cdrecord' discusses this. |
12 |
3b. - For every user who should be able to use k3b and for every CD or DVD |
13 |
device add a directory in the users home directory. These directories |
14 |
must be owned by the corresponding user. For each such directory add a |
15 |
line in /etc/fstab (see remark 2), like: |
16 |
/dev/cd0c /usr/home/XXX/cdrom cd9660 ro,noauto,nosuid 0 0 |
17 |
Furthermore allow user mounts as described in topic 9.22 of the FAQ: |
18 |
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT |
19 |
Every user must have read and write access to /dev/cdX: |
20 |
* add to your /etc/devfs.rules under '[system=10]': |
21 |
add path 'cd*' mode 666 |
22 |
or if you prefer allow access for a group XXX only add instead: |
23 |
add path 'cd*' mode 660 group XXX |
24 |
* to enable it, add to your /etc/rc.conf a |
25 |
devfs_system_ruleset="system" |
26 |
- or just give mount and umount the suid flag, which is a security leak. |
27 |
3c. Every user who should be able to use k3b must have read and write access |
28 |
to all pass through devices connected with CD and DVD drives and to the |
29 |
/dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek |
30 |
string 'passX' at the end of each line). Note, that this is a security |
31 |
leak as well but that there is no alternative! |
32 |
* add to your /etc/devfs.rules under '[system=10]': |
33 |
add path 'pass*' mode 666 |
34 |
add path 'xpt0' mode 666 |
35 |
or if you prefer allow access for a group XXX only add instead: |
36 |
add path 'pass*' mode 660 group XXX |
37 |
add path 'xpt0' mode 660 group XXX |
38 |
* to enable it, add to your /etc/rc.conf a |
39 |
devfs_system_ruleset="system" |
40 |
* to apply these changes without reboot, run as root: |
41 |
/etc/rc.d/devfs restart |
42 |
4. Check, that DMA is activated for atapi devices: 'sysctl hw.ata.atapi_dma' |
43 |
If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf. |
44 |
5. Create a directory on a partition, which has enough disk space to hold a CDs |
45 |
or DVDs content (usually below /usr). Enter this directory in Settings-> |
46 |
Configure K3b...->Misc. |
47 |
6. If you experience problems while burning CDs, try to set the cdrdao driver |
48 |
manually. To do so choose Settings->Configure K3b...->Devices. Below the CD |
49 |
recorder click on the string "auto" behind "Cdrdao driver:" For most of the |
50 |
recent drives "generic-mmc" or "generic-mmc-raw" should work. |
51 |
See http://cdrdao.sourceforge.net/drives.html. |
52 |
|
53 |
To read this instructions again, type 'make showinfo' in the k3b port directory |