Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: scraggy в Mar 19, 2005, 11:12



Титла: cdrecord
Публикувано от: scraggy в Mar 19, 2005, 11:12
Здравейте, искам да си запиша диск с cdrecord самоче от ман-а нещо немога да разбера точно как се записва multisession disk та ако някой знае как става да каже моля.


Титла: cdrecord
Публикувано от: betso в Mar 19, 2005, 12:29
# man cdrecord
....
-multi
Allow multi session CDs to be made. This flag needs to be present on all sessions of a multi session disk, except you want to create a session that will be  the  last session on the media. The fixation will be done in a way that allows the CD/DVD-Recorder to append additional sessions later. This is done by generation a TOC with a link to the next program area. The so generated media is not 100% compatible to manufactured CDs (except for CDplus).  Use only for recording of  multi  session   CDs. If  this  option  is  present,  the  default track type is CD-ROM XA mode 2 form 1 and the sector size is 2048 bytes. The XA sector subheaders will be created by the drive. The Sony drives have no hardware support for CD-ROM XA mode 2 form 1. You have to specify the -data option in order to create multi session  disks  on  these drives.  As long as cdrecord does not have a coder for converting data sectors to audio sectors, you need to force CD-ROM sectors by including the -data option if you like to record a multisession disk in SAO mode.  Not all drives allow multisession CDs in SAO mode.
....

Btw., със slash ("/") можеш да търсиш в man страница.

:)


Титла: cdrecord
Публикувано от: vstoykov в Mar 19, 2005, 13:49
Запис на Multi session диск:

Примерен код

cdrecord driveropts=burnfree -v dev=/dev/hdc speed=12 -multi example.iso


При създаване на ISO за първата сесия няма особености:
Примерен код

 mkisofs -r -J -quiet -o първа_сесия.iso директория_съдържанието_на_която_ще_се_запише_в_ISO_образа


 При съзсаване на ISO за втората сесия има:
Примерен код

mkisofs -r -J -quiet -o следваща_сесия.iso -C  `cdrecord dev=/dev/hdc -msinfo` -M /dev/hdc  директория_съдържанието_на_която_ще_се_запише_в_ISO_образа


Много е важно при създаване на ISO-тo с втора или следваща сесия, диска да се намира в записващото устройство.
В горните примери записващото устройство е /dev/hdc.
(Уточнене: сесиите ги броя от едно не от нула).


Титла: cdrecord
Публикувано от: scraggy в Mar 19, 2005, 15:16
Много благодаря за из4ерпателния отговор :)


Титла: cdrecord
Публикувано от: Agent_SMITH в Mar 19, 2005, 18:40
mv