· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
CD-RW »ç¿ëÇϱâ À§ÇÑ Áغñ°úÁ¤

CD-RW »ç¿ëÇϱâ À§ÇÑ Áغñ°úÁ¤

1.1.1. Ä¿³Î¿É¼Ç È®ÀÎ

  • ¿©±â¼­ ¹Ýµå½Ã ¼±ÅõǾî¾ß ÇÒ ¿É¼ÇÀº ´ÙÀ½°ú °°½À´Ï´Ù.
  • Âü°í·Î ÀÌ ¿É¼ÇÀº 2.4.18 À» ±âÁØÀ¸·Î ÇÕ´Ï´Ù. (Linux Kernel v2.6 ¿¡¼­µµ ¸¶Âù°¡Áö·Î ºñ½ÁÇÑ ¿É¼ÇÀ» üũÇϼ¼¿ä.)
    <M>   SCSI emulation support
    <M>   SCSI generic support
    <M> ISO 9660 CDROM file system support
    [*]   Microsoft Joliet CDROM extensions
    
    • ±×·¯³ª ¸¸¾à ÀÌ°ÍÀÌ ¾ÈµÈ´Ù¸é °ü·Ã ¿É¼ÇÀÎ ´ÙÀ½À» È®ÀÎÇÏ¼Å¾ß ÇÕ´Ï´Ù.
      ATA/IDE/MFM/RLL support  ---> 
           <*> ATA/IDE/MFM/RLL support 
             IDE, ATA and ATAPI Block devices  ---> 
               <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support 
               <*>   Include IDE/ATA-2 DISK support 
               <M>   Include IDE/ATAPI CDROM support 
               <M>   SCSI emulation support 
         SCSI support  ---> 
           <M> SCSI support 
           <M>   SCSI disk support 
           (20) Maximum number of SCSI disks that can be loaded as modules 
           <M>   SCSI CD-ROM support 
           [*]     Enable vendor-specific extensions (for SCSI CDROM) 
           (4) Maximum number of CDROM devices that can be loaded as modules 
           <M>   SCSI generic support 
         File systems  ---> 
           [*] Quota support 
           <M> Kernel automounter support 
           <M> Kernel automounter version 4 support (also supports v3) 
           <M> ISO 9660 CDROM file system support 
           [*]   Microsoft Joliet CDROM extensions
      

1.1.2. lilo.conf È®ÀÎ

append="hdc=ide-scsi"
  • ÀÌ Ç׸ñÀÌ ¾øÀ¸¸é Ãß°¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ÀÌ ¿É¼ÇÀº ide¸¦ scsi·Î º¸ÀÌ°Ô ÇÏ´Â Ä¿³Î ÀÎÀÚÀÔ´Ï´Ù.
  • ¿¹·Î ´ÙÀ½°ú °°½À´Ï´Ù.
    image=/boot/bzImage-2.4.18 
           label=CDRWtest 
           read-only 
           append="hdc=ide-scsi"
    
  • Linux Kernel v2.6¿¡¼­´Â ÀÌ ÀÛ¾÷À» ¼öÇàÇÒ ÇÊ¿ä°¡ ÀüÇô ¾ø½À´Ï´Ù. ÀÚ½ÅÀÇ Ä¿³ÎÀÌ v2.6 ÀÌ»óÀ̶ó¸é ÀÌ ºÎºÐÀº ÇÏÁö ¸¶¼¼¿ä.

1.1.3. ISO fileÀ» CD·Î ±Á´Â ¸í·É

bash# cdrecord -v -eject speed=<RW speed> dev=<Device number> <ISO Image file name>
  • À§¿Í °°Àº Çü½ÄÀ» ÅëÇØ CD¸¦ ±Á°Ô µÇ´Âµ¥ ¿©±â¼­ RW speed´Â ±¸ÀÔ´ç½Ã ¹Ú½º³ª ¼³¸í¼­¿¡ ³ª¿ÍÀÖÀ»°Ì´Ï´Ù. Åë»ó 4¶ó°í ÇÏ¸é ¹«³­ÇÒµí ÇÏÁö¸¸ ÀÚ½ÅÀÇ CDRW¿¡ ¸Â°Ô »ç¿ëÇϼ¼¿ä. ±×¸®°í Device number´Â "cdrecord -scanbus" ¸í·ÉÀ» ÅëÇؼ­ ¾Ë¼ö ÀÖ½À´Ï´Ù.
  • Linux Kernel v2.6¿¡¼­´Â "cdrecord -scanbus -dev=ATA:" ¸í·ÉÀ¸·Î ¹æ¹ýÀÌ ¹Ù²î¾ú½À´Ï´Ù.
  • ÀúÀÇ °æ¿ì´Â ´ÙÀ½°ú °°ÀÌ ³ª¿À´Â±º¿ä.
    • Linux Kernel v2.4 ÀÌÇÏ ¹öÁ¯¿¡¼­
      bash# cdrecord -scanbus 
         Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?g Schilling 
         Linux sg driver version: 3.1.22 
         Using libscg version 'schily-0.5' 
         scsibus0: 
              0,0,0     0) 'TOSHIBA ' 'DVD-ROM SD-R2002' '1Q35' Removable CD-ROM 
              0,1,0     1) * 
              0,2,0     2) * 
              0,3,0     3) * 
              0,4,0     4) * 
              0,5,0     5) * 
              0,6,0     6) * 
              0,7,0     7) * 
         bash# _ 
      
    • Linux Kernel v2.6 ÀÌ»ó ¹öÁ¯¿¡¼­
      bash# cdrecord -scanbus -dev=ATA:
      Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J\uffffrg Schilling
      cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
      cdrecord: There are unsettled issues with Linux-2.5 and newer.
      cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
      scsidev: 'ATA:'
      devname: 'ATA'
      scsibus: -1 target: -1 lun: -1
      Warning: Using badly designed ATAPI via /dev/hd* interface.
      Linux sg driver version: 3.5.27
      Using libscg version 'schily-0.8'.
      scsibus1:
              1,0,0   100) 'SAMSUNG ' 'CD-ROM SC-152G  ' 'C401' Removable CD-ROM
              1,1,0   101) 'HL-DT-ST' 'RW/DVD GCC-4480B' '1.02' Removable CD-ROM
              1,2,0   102) *
              1,3,0   103) *
              1,4,0   104) *
              1,5,0   105) *
              1,6,0   106) *
              1,7,0   107) *
      
  • ¿©±â¼­ ¿¹¸¦ µéÀÚ¸é Àú´Â backup.iso¸¦ ±Á°í ½ÍÀ»¶§ ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÇ°Ú³×¿ä.
    • Linux Kernel v2.4 ÀÌÇÏ ¹öÁ¯¿¡¼­
      bash# cdrecord -v -eject speed=4 dev=0,0,0 backup.iso
      
    • Linux Kernel v2.6 ÀÌ»ó ¹öÁ¯¿¡¼­ (devºÎºÐ¿¡ Á÷Á¢ device¸¦ ÁöÁ¤Çϴ°ÍÀÌ °¡´ÉÇØÁ³½À´Ï´Ù.)
      bash# cdrecord -v -eject speed=4 dev=/dev/cdrom backup.iso
      
    • ±×¸®°í ¸¸¾à ÀÚ½ÅÀÌ ±Á°íÀÚ ÇÏ´Â CD¸Åü°¡ CD-RW¶ó¸é ¸ÕÀú ±ú²ýÈ÷ û¼ÒÇÏ´Â ÀÛ¾÷ÀÌ ÇÊ¿äÇѵ¥ ÀÌ·¸°Ô ÇϽøé CD-RW¸Åü¸¦ û¼ÒÇÏ°í ±Á°Ô µË´Ï´Ù. ÇÏÁö¸¸ "-blank=all" ÀÇ °æ¿ì´Â ¿ÏÀüÈ÷ ¼Ò°ÅÇØÁÖ´Â °ÍÀ¸·Î ½Ã°£ÀÌ ¸¹ÀÌ ÇÊ¿ä·Î ÇÕ´Ï´Ù. ¶§¹®¿¡ "-blank=minimal" ¿É¼ÇÀ» »ç¿ëÇϽô°ÍÀ¸·Î ½Ã°£À» ´ÜÃàÇÒ¼ö ÀÖ½À´Ï´Ù.
      cdrecord -v -eject -blank=all speed=4 dev=0,0,0 backup.iso
      
  • Âü°í·Î "root" À¯Àú·Î ÇÏ¼Å¾ß µË´Ï´Ù. ÀÏ¹Ý À¯Àú·Î CD¸¦ ±Á±â À§Çؼ­´Â ¸î°¡Áö È®ÀÎ »çÇ×ÀÌ ´õ Àִµ¥ ±×ºÎºÐÀº °¢ÀÚ ÇØ°áÇغ¸¼¼¿ä.

1.1.4. ½ÇÇàÈ­¸é ¿¹

  • ´ÙÀ½Àº Linux Kernel v2.6±âÁØ ½ÇÇàÈ­¸éÀÔ´Ï´Ù. (Fedora Core1 CD1 iso image¸¦ ±Á´Â È­¸é)
    bash# cdrecord -v -eject -blank=minimal speed=4 dev=/dev/hdd -data yarrow-i386-disc1.iso
    cdrecord: No write mode specified.
    cdrecord: Asuming -tao mode.
    cdrecord: Future versions of cdrecord may have different drive dependent defaults.
    cdrecord: Continuing in 5 seconds...
    Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J\uffffrg Schilling
    cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
    cdrecord: There are unsettled issues with Linux-2.5 and newer.
    cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
    TOC Type: 1 = CD-ROM
    scsidev: '/dev/hdd'
    devname: '/dev/hdd'
    scsibus: -2 target: -2 lun: -2
    Warning: Open by 'devname' is unintentional and not supported.
    Linux sg driver version: 3.5.27
    Using libscg version 'schily-0.8'.
    SCSI buffer size: 64512
    atapi: 1
    Device type    : Removable CD-ROM
    Version        : 0
    Response Format: 1
    Vendor_info    : 'HL-DT-ST'
    Identifikation : 'RW/DVD GCC-4480B'
    Revision       : '1.02'
    Device seems to be: Generic mmc2 DVD-ROM.
    Current: 0x000A
    Profile: 0x000A (current)
    Profile: 0x0009
    Profile: 0x0008
    Profile: 0x0002 (current)
    Profile: 0x0010
    Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
    Driver flags   : MMC-2 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Drive buf size : 1944096 = 1898 KB
    FIFO size      : 4194304 = 4096 KB
    Track 01: data   629 MB
    Total size:      723 MB (71:39.12) = 322434 sectors
    Lout start:      723 MB (71:41/09) = 322434 sectors
    Current Secsize: 2048
    ATIP info from disk:
      Indicated writing power: 5
      Reference speed: 2
      Is not unrestricted
      Is erasable
      ATIP start of lead in:  -11615 (97:27/10)
      ATIP start of lead out: 335925 (74:41/00)
      1T speed low:  0 (reserved val  0) 1T speed high:  4
      2T speed low:  0 (reserved val  5) 2T speed high:  0 (reserved val 12)
      power mult factor: 4 5
      recommended erase/write power: 3
      A1 values: 02 4A B0
      A2 values: 5C C6 26
    Disk type:    Phase change
    Manuf. index: 18
    Manufacturer: Plasmon Data systems Ltd.
    Blocks total: 335925 Blocks current: 335925 Blocks remaining: 13491
    Starting to write CD/DVD at speed 4 in real TAO mode for single session.
    Last chance to quit, starting real write    0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Performing OPC...
    Blanking PMA, TOC, pregap
    Blanking time:   46.613s
    BURN-Free is OFF.
    Performing OPC...
    Starting new track at sector: 0
    Track 01:  629 of  629 MB written (fifo 100%) [buf 100%]   4.2x.
    Track 01: Total bytes read/written: 660340736/660340736 (322432 sectors).
    Writing  time: 1079.441s
    Average write speed   4.0x.
    Min drive buffer fill was 100%
    Fixating...
    Fixating time:   78.796s
    cdrecord: fifo had 10402 puts and 10402 gets.
    cdrecord: fifo was 0 times empty and 10314 times full, min fill was 76%.
    

ID
Password
Join
The luck that is ordained for you will be coveted by others.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-02-01 10:13:32
Processing time 0.0077 sec