User Tools

Site Tools


rezanje_cd_i_dvd_diskova_pomoću_k3b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rezanje_cd_i_dvd_diskova_pomoću_k3b [2007/11/24 04:11]
oko
rezanje_cd_i_dvd_diskova_pomoću_k3b [2017/04/28 10:25] (current)
Line 5: Line 5:
 Tokom instalacije K3b kao zavisni programi će se učitati sve aplikacije koje se koriste za rezanje diskova iz komandne linije. ​ Tokom instalacije K3b kao zavisni programi će se učitati sve aplikacije koje se koriste za rezanje diskova iz komandne linije. ​
 Post instalaciona konfiguracija je veoma jednostavna. Pretpostavimo da imate ATAPI DVD-RW uređaj koji su danas više manje standard. Post instalaciona konfiguracija je veoma jednostavna. Pretpostavimo da imate ATAPI DVD-RW uređaj koji su danas više manje standard.
 +Nažalost FreeBSD zasada podržava samo SCSI tako da će te ATAPI drajvu morati pristupiti kroz ATAPCAM sistem.
 +
 Takođe pretpostavimo da ste iskonfigurisali HAL mada nije neophodan. Takođe pretpostavimo da ste iskonfigurisali HAL mada nije neophodan.
-Potrebno je editovati samo dva fajla.+Potrebno je editovati samo tri fajla.
  
 U ''/​boot/​loader.conf''​ dodajte ​ U ''/​boot/​loader.conf''​ dodajte ​
Line 36: Line 38:
 perm    dvd     0666 perm    dvd     0666
 perm    rdvd    0666 perm    rdvd    0666
-perm    cd0     0666 
-perm    ata     0666 
 perm    xpt0    0666 perm    xpt0    0666
 perm    pass0   0666 perm    pass0   0666
Line 43: Line 43:
  
 </​code>​ </​code>​
 +
 +
 +U vaš ''/​etc/​fstab''​ morate imati 
 +<​code>​
 +[pedja@ /​usr/​home/​Pedja]$ more /etc/fstab
 +#These are my options
 +/​dev/​cd0 ​    /​usr/​home/​Pedja/​mnt/​cdrom cd9660 ​  rw, noauto ​     0       0
 +/​dev/​acd0 ​   /​usr/​home/​Pedja/​mnt/​cdrom cd9660 ​  rw, noauto ​     0       0
 +</​code>​
 +
 +Obratite pažnju da je mount tačka u mom direktorijumu da bi morao da koristim K3b kao običan korisnik.
  
 Rebutujte kompjuter. Kada startujete K3b aplikacija bi trebalo da vam kaže da nije našla nikakvih problema u konfiguraciji. Rebutujte kompjuter. Kada startujete K3b aplikacija bi trebalo da vam kaže da nije našla nikakvih problema u konfiguraciji.
Line 50: Line 61:
  
 Posle ovoga u stanju ste da režeta iso, data, muzičke i video DVD/CD bez ikakvih problema. Posle ovoga u stanju ste da režeta iso, data, muzičke i video DVD/CD bez ikakvih problema.
 +
 +Dodatna čitanja.
 +[[http://​www.freebsd.org/​doc/​en_US.ISO8859-1/​books/​handbook/​creating-cds.html|CD]]
 +[[http://​www.freebsd.org/​doc/​en_US.ISO8859-1/​books/​handbook/​creating-dvds.html|DVD]]
 +
 +<​code>​
 +[pedja@ /​usr/​ports/​sysutils/​k3b]$ make showinfo
 +more /​usr/​ports/​sysutils/​k3b/​pkg-message
 +
 +Notes for FreeBSD 5.x and onwards users:
 +1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
 +   ​drives,​ use them through the cam system. See Chapter 12.5.9 of the handbook
 +   ​(http://​www.freebsd.org/​doc/​en_US.ISO8859-1/​books/​handbook/​creating-cds.html#​
 +ATAPICAM)
 +2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
 +   to be accessed through their atapicam device if possible. I.e. the drives
 +   have to be adressed by e.g. /dev/cd0 instead of /dev/acd0.
 +3. k3b has to be started from a root console, which is not recommended.
 +   ​Alternatively do ALL of the following:
 +3a. set the suid flag on cdrecord and cdrdao. The '​Notes'​ chapter of
 +    'man cdrecord'​ discusses this.
 +3b. - For every user who should be able to use k3b and for every CD or DVD
 +      device add a directory in the users home directory. These directories
 +      must be owned by the corresponding user. For each such directory add a
 +      line in /etc/fstab (see remark 2), like:
 +        /​dev/​cd0c ​ /​usr/​home/​XXX/​cdrom ​ cd9660 ​ ro,​noauto,​nodev,​nosuid ​ 0  0
 +      Furthermore allow user mounts as described in topic 9.22 of the FAQ:
 +      http://​www.freebsd.org/​doc/​en_US.ISO8859-1/​books/​faq/​disks.html#​USER-FLOPP
 +YMOUNT
 +      To make the chmod'​s to /dev/cdX permanent, do the following:
 +        * add '​devd_enable="​YES"'​ to /​etc/​rc.conf
 +        * add a 'perm cdX 666' to /​etc/​devfs.conf for each cd/dvd device. X 
 +          is the device number. If you prefer allow access for a group only, 
 +          add a 'perm cdX 660' instead, followed by an 'own cdX root:​XXX' ​
 +          where XXX is the group name.
 +          Alternatively (especially if you are using hot plug capable CD or 
 +          DVD drives) you could add an 'add path '​cd*'​ mode 666' or an 
 +          'add path '​cd*'​ mode 660 group XXX' to your /​etc/​devfs.rules
 +          under '​[system=10]'​. To enable it, add a '​devfs_system_ruleset="​system
 +"'​
 +          to your /​etc/​rc.conf.
 +    - or just give mount and umount the suid flag, which is a security leak.
 +3c. Every user who should be able to use k3b must have read and write access
 +    to all pass through devices connected with CD and DVD drives and to the 
 +    /dev/xpt0 device. Run '​camcontrol devlist'​ to identify those devices (seek 
 +    string '​passX'​ at the end of each line and modify the rights of 
 +    /​dev/​passX). Note, that this is a security leak as well but that there is 
 +    no alternative! To make this changes permanent, add '​devd_enable="​YES"' ​
 +    to /​etc/​rc.conf as described above. Furthermore add a 'perm passX 666' ​
 +    for each pass device and a 'perm xpt0 666'. If you prefer to bind the 
 +    access rights to a group, use the own command as described above. If you
 +    prefer to set this rights dynamically,​ add a line 'add path '​pass*'​ ...'
 +    to your /​etc/​devfs.rules as described above.
 +4. Check, that DMA is activated for atapi devices: '​sysctl hw.ata.atapi_dma'​
 +   If not, set it to 1 and put a '​hw.ata.atapi_dma=1'​ into /​boot/​loader.conf.
 +5. Create a directory on a partition, which has enough disk space to hold a CDs
 +   or DVDs content (usually below /usr). Enter this directory in Settings->​
 +   ​Configure K3b...->​Misc.
 +6. If you experience problems while burning CDs, try to set the cdrdao driver ​
 +   ​manually. To do so choose Settings->​Configure K3b...->​Devices. Below the CD 
 +   ​recorder click on the string "​auto"​ behind "​Cdrdao driver:"​ For most of the 
 +   ​recent drives "​generic-mmc"​ or "​generic-mmc-raw"​ should work. 
 +   See http://​cdrdao.sourceforge.net/​drives.html.
 +7. To burn video CDs install the port multimedia/​vcdimager.
 +8. To rip DVDs additionally install the ports multimedia/​transcode,​
 +   ​multimedia/​libdvdread and multimedia/​xvid.The ripping process itself is descr
 +ibed 
 +   in http://​k3b.plainblack.com/​videoencoding.
 +9. To burn bootable video CDs, install the port multimedia/​emovix.
 +10. To burn DVDs, install the port sysutils/​dvd+rw-tools.
 +11. To normalize the volumes of audio cds, install the port audio/​normalize.
 +12. To rip into more audio formats, install the port audio/sox.
 +
 +</​code>​
 +
rezanje_cd_i_dvd_diskova_pomoću_k3b.txt · Last modified: 2017/04/28 10:25 (external edit)