|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 41 article |
2001-08-23 04:38:55 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
IDE¹æ½Ä CD Writer¸¦ »ç¿ë |
|
|
[ CD rewritable ]
( ¸Å´º¾óÀÌ ¾øÀ¸´Ï Çϵå¿þ¾î Á¤º¸¸¦ ¸ø ã°Ú¾î¿ä. T_T )
¸®´ª½º¿¡¼ CD ·¹ÄÚµù ¾ËÂ¥ ¸®´ª½º ¹èÆ÷ÆÇÀ» ¸¸µé¸é¼ »ó´çÈ÷ ¸¹ÀÌ ÇؿԱ⠶§¹®¿¡
»ó´çÈ÷ Àß Áö¿øµÈ´Ù´Â °ÍÀ» ÀÍÈ÷ ¾Ë°í ÀÖ¾ú½À´Ï´Ù. CD ¸¦ ±¸¿ì¸é¼ (Çѱ¹¿¡¼¸¸
±Á´Â´Ù¶ó°í ÇÏ´Â ÁÙ ¾Ë¾Ò´õ´Ï ¿Ü±¹¿¡¼µµ Burning À̳ª Roast µîÀÇ ´Ü¾î¸¦
»ç¿ëÇÏ´õ±º¿ä. :) MP3 µµ Ʋ¾îº¸°í ³Ý½ºÄÉÀÌÇÁµµ ½ÇÇàÇØ º¸°í ¸¹Àº ÁþÀ» ÇغÃÁö¸¸
º°´Ù¸¥ ÀÌ»óÀÌ ¾ø¾ú±â ¶§¹®¿¡ Ç×»ó ¸®´ª½º¿¡¼ CD ¸¦ ±¸¿ö¿Ô½À´Ï´Ù.
ÇÏÁö¸¸ À̹ø Å×½ºÆ® Á¦Ç°À¸·Î ¿Â IDE CD-RW ¿¡ ´ëÇؼ´Â ´çȤ°¨À» ´À³¥ ¼ö ¹Û¿¡
¾ø¾ú½À´Ï´Ù. CD-Writing ÇÏ¿ìÅõ¸¦ ¾Æ¹«¸® ºÁµµ CD-RW ¿¡ ´ëÇÑ ¾ð±ÞÀÌ ¾ø°í ¸®´ª½º
µ¿È£È¸ °Ô½ÃÆÇ¿¡ CD-RW ¸¦ »ç¿ëÇØ º¸¾Ò´Ù´Â ±Ûµµ ¾ø¾ú±â ¶§¹®¿¡ »ç½Ç °ÅÀÇ Å×½ºÆ®¸¦
Æ÷±âÇÏ°í °íÀÌ °íÀÌ ¸ð¼ÅµÎ°í ÀÖ¾ú½À´Ï´Ù.
±×°ÍÀÇ ÀúÈñÀÇ Å« ½Ç¼ö¿´½À´Ï´Ù. ¿½ÉÈ÷ ã¾Æ º¸Áöµµ ¾Ê°í ¾ÈµÇ³ªº¸´Ù¶ó°í
Áö·ÊÁüÀÛÀ» ÇÑ ´öºÐ¿¡ Å©°Ô µÞÅë¼ö¸¦ ¸Â¾Ò½À´Ï´Ù. cdrecord
[ http://www.fokus.gmd.de/
research/cc/glone/employees/joerg.schilling/private/cdrecord.html ]
¶ó´Â CD ·¹ÄÚµù ÇÁ·Î±×·¥¿¡ µþ·Á ¿À´Â ¹®¼µéÀ» »ìÆì º¸´Â Áß¿¡ README.cdrw ¶ó´Â
À̸§ÀÇ ¹®¼°¡ ÀÖ´Â °ÍÀ» ºÃ½À´Ï´Ù. ¾îµð¼ ÁÖ¿öµéÀº °Íó·³ ±×³É Çϵåµð½ºÅ©¿¡
ÆÄÀÏÀ» º¹»çÇÏ°í Áö¿ì°í ÇÏ´Â ½ÄÀ¸·Î´Â µÇÁö ¾Ê°ÚÁö¸¸ º¸ÅëÀÇ CD-R ¾²µíÀÌ CD ¿¡
±â·ÏÀ» ÇÒ ¼ö ÀÖ°í ¶ÇÇÑ Áö¿ï ¼öµµ ÀÖ´Ù´Â ³»¿ëÀÌ µé¾î ÀÖ¾ú½À´Ï´Ù. (Áö±Ý ¹Ý¼ºÇÏ°í
ÀÖ½À´Ï´Ù.)
ºÎ·ª ºÎ·ª RICOH MP6200A IDE ATAPI CD-RW ¸¦ ½Ã½ºÅÛ¿¡ ºÙÀÌ°í Å×½ºÆ®¸¦
½ÃÀÛÇÏ¿´½À´Ï´Ù. CD-RW ¸¦ ½Ã½ºÅÛ¿¡ ºÙÀÌ°í ºÎÆÃÀ» ÇÏ´Ï Ä¿³Î¿¡¼ ÀϹÝÀûÀÎ IDE
CD-ROM À¸·Î ÀνÄÀ» ÇÏ¿©¼ ¹«¸® ¾øÀÌ ÀÛµ¿ÀÌ µÇ¾ú½À´Ï´Ù.
¿©±â¼ ÇÑ°¡Áö ¹®Á¦¸¦ ¸¸³µ½À´Ï´Ù. ÇöÀç ¸®´ª½º¿¡ ÀÖ´Â CD ·¹ÄÚµù ÇÁ·Î±×·¥µéÀº
¸ðµÎ ½ºÄ«½Ã¸¸ÀÌ Áö¿øµÇ°í ÀÖ¾ú´Ù´Â °ÍÀÔ´Ï´Ù. IDE ¿¡ ÀÖ´Â CD-RW ¸¦ ÀÌ¿ëÇÒ
¹æ¹ýÀÌ ¾ø´õ±º¿ä. ¿ª½Ã ´äÀº ¹®¼¿¡ ÀÖ¾ú½À´Ï´Ù.
'SCSI emulation support' ¸¦ ÀÌ¿ëÇÏ¸é °¡´ÉÇÏ´Ù´Â °ÍÀ̾ú½À´Ï´Ù.
+--[ SCSI emulation À̶õ? ]------------------------------------------------+
IDE ATAPI ÀåÄ¡¸¦ ½ºÄ«½Ã ÀåÄ¡ÀÎ °Í ó·³ ÇØÁÖ´Â ±â´ÉÀÔ´Ï´Ù. ATAPI
µå¶óÀ̹ö¸¦ »ç¿ëÇÏ´Â ÀåÄ¡Áß ¾²±â¸¦ ÇØ¾ß ÇÏ´Â (ATAPI PD-CD ³ª ATAPI IDE
CD-RW °°Àº) ÀåÄ¡ÀÇ °æ¿ì¿¡ ÇÊ¿äÇÏ´Ù°í ÇÕ´Ï´Ù. (±âº» ATAPI µå¶óÀ̹ö´Â
¾²±â¸¦ Áö¿øÇÏÁö ¾Ê´Â°¡ º¾´Ï´Ù. µÚÁ®ºÁµµ ±×¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¹®¼¸¦ ãÀ»
¼ö ¾ø¾î¼ ÀÌ·¸°Ô ¹«Ã¥ÀÓÇÑ ±ÛÀ» ¾à°£ ½è½À´Ï´Ù.)
+--------------------------------------------------------------------------+
½ºÄ«½Ã ¿¡¹Ä·¹ÀÌ¼Ç ±â´ÉÀº ¾ÈÁ¤ ¹öÁ¯ Ä¿³Î 2.0.35 ºÎÅÍ Á¤½ÄÀ¸·Î Æ÷ÇÔÀÌ µÇ¾î
Àֱ⠶§¹®¿¡ ¾ËÂ¥ ¸®´ª½º(·¹µåÇÞ) 5.1 ÀÌ»óÀ» »ç¿ëÇÏ½Å´Ù¸é º°´Ù¸¥ ¹«¸® ¾øÀÌ
»ç¿ëÀÌ °¡´ÉÇÒ °ÍÀÔ´Ï´Ù.
´Ù¸¸ ÇöÀç »ç¿ëµÇ´Â ¹èÆ÷ÆǵéÀÇ Ä¿³Î¿¡ ÀÌ ±â´ÉÀÌ Æ÷ÇԵǾî ÀÖÁö ¾Ê±â ¶§¹®¿¡
»ç¿ëÀÚ°¡ ±â´ÉÀ» Ãß°¡ÇÑ ÈÄ ´Ù½Ã ÄÄÆÄÀÏÀ» ÇØÁÖ¾î¾ß ÇÑ´Ù´Â ¾à°£ÀÇ ºÒÆíÇÔÀÌ
ÀÖ½À´Ï´Ù.
·¹µåÇÞÀ» ±âÁØÀ¸·Î ¼³¸íµå¸°´Ù¸é ½ºÄ«½Ã ¿¡¹Ä·¹ÀÌ¼Ç ÀÌ¿Ü¿¡ CD ·¹ÄÚµùÀ» À§ÇÑ
´Ù¸¥ ±â´ÉµéÀº ¸ðµÎ Æ÷ÇԵǾî Àֱ⠶§¹®¿¡ Ä¿³Î ¼Ò½º°¡ ÀÖ´Â µð·ºÅ丮·Î À̵¿ ÈÄ
(/usr/src/linux ¿¡ À§Ä¡ÇÕ´Ï´Ù.)
make menuconfig (ȤÀº make xconfig) ¸í·ÉÀ¸·Î Ä¿³Î ¼³Á¤ ¸Å´º¸¦ ºÎ¸£½Å ÈÄ
'Floppy, IDE, and other block devices' ¸Þ´º¿¡¼ 'SCSI emulation support'¸¦
ÄѽŠÈÄ Ä¿³ÎÀ» ´Ù½Ã ÄÄÆÄÀÏ ÇÏ½Ã¸é µË´Ï´Ù. (¸ðµâÀº ±»ÀÌ ÄÄÆÄÀÏÇÒ ÇÊ¿ä°¡
¾ø½À´Ï´Ù.)
[ ±×¸² ] CDRW-01.gif, CDRW-02.gif
+--[ °£´ÜÇÑ Ä¿³Î ÄÄÆÄÀÏ ]--------------------------------------------------+
make mrproper
:Ä¿³Î ¼Ò½º¸¦ Ãʱ⠻óÅ·Π¹Ù²Ù´Â °ÍÀÔ´Ï´Ù. ±»ÀÌ ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ¾Æ´Ï
ÇÏÁö ¸¶½Ã°í ÀÌÀüÀÇ ¼³Á¤À» À¯ÁöÇÏ´Â °ÍÀÌ ´õ ÁÁÀ» °ÍÀÔ´Ï´Ù.)
make menuconfig (xconfig, menuconfig)
:Ä¿³Î ¼³Á¤À» Çϱâ À§ÇÔÀÔ´Ï´Ù. menuconfig Àº ¸Þ´º Çü½ÄÀÇ ¼³Á¤ÆÇÀÌ ¶ß°í
xconfig Àº X ȸ鿡 GUI ·Î ¼³Á¤ÆÇÀÌ ¶å´Ï´Ù. config Àº Á¤¸» ½ä··ÇÑ Y,N
¸ðµåÀÔ´Ï´Ù. ºñÃßõÀÔ´Ï´Ù.
make dep clean zImage
:ÀÇÁ¸¼º °Ë»ç¿Í Àâ´ÙÇÑ ÆÄÀϵéÀÇ Ã»¼Ò ±×¸®°í Ä¿³Î À̹ÌÁöÀÇ »ý¼ºÀÔ´Ï´Ù.
»õ·ÎÀÌ ¸¸µé¾îÁö´Â Ä¿³Î À̹ÌÁö´Â /usr/src/linux/arch/i386/boot µð·ºÅ丮¿¡
zImage ¶ó´Â À̸§À¸·Î »ý¼ºµË´Ï´Ù. ÀÌ ÆÄÀÏÀ» / ³ª /boot Á¤µµ¿¡ Àû´çÇÑ
À̸§À¸·Î º¹»çÇϽðí /etc/lilo.conf ÀÇ ³»¿ëÀ» Âü°íÇÏ¿© ¼öÁ¤ÇϽŠÈÄ¿¡
/sbin/lilo ¸¦ ½ÇÇàÇØ ÁÖ½Ã¸é µË´Ï´Ù.
make modules modules_install
:¸ðµâ ÄÄÆÄÀÏ ±×¸®°í ¼³Ä¡ ºÎºÐÀÔ´Ï´Ù. ¸ðµâÀº /lib/modules/Ä¿³Î¹öÁ¯
µð·ºÅ丮¿¡ ¼³Ä¡µË´Ï´Ù.
+--------------------------------------------------------------------------+
ATAPI IDE CD-R(W) ¸¦ »ç¿ëÇϱâ À§Çؼ ²À ÇÊ¿äÇÑ Ä¿³ÎÀÇ ±â´ÉÀº ¾Æ·¡¿Í °°½À´Ï´Ù.
Á¦´ë·Î µÇÁö ¾Ê´Â´Ù¸é ÀÌ Áß¿¡ ¹«¾ð°¡ ºüÁöÁö ¾Ê¾Ò´ÂÁö È®ÀÎÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù.
Floppy, IDE and other block devices
--+
+- IDE/ATAPI CD-ROM support
+- SCSI emulation support
SCSI Support
--+
+- SCSI support
+- SCSI CD-ROM support
+- SCSI generic support
¸¶Áö¸·À¸·Î ÇÑ°¡Áö Ãß°¡ ÀÛ¾÷ÀÌ ÇÊ¿äÇÕ´Ï´Ù. '/etc/lilo.conf' ÆÄÀÏ¿¡
append="hd?=ide-scsi" ¶ó´Â ¶óÀÎÀ» Ãß°¡ÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù. Ãß°¡ÇÒ °÷Àº ½ºÄ«½Ã
¿¡¹Ä·¹À̼ÇÀ» Áý¾î ³ÖÀº À̹ÌÁö¸¦ »ç¿ëÇÏ´Â ºÎºÐ ¾Æ·¡ÀÔ´Ï´Ù.
hd? ºÎºÐÀº CD-RW °¡ IDE ¸î¹ø° ÀåÄ¡³Ä¿¡ µû¶ó¼ ´Þ¶óÁý´Ï´Ù. ¾Æ·¡ÀÇ Ç¥¸¦ Âü°í
ÇϽñ⠹ٶø´Ï´Ù.
+----------------------------+
| IDE ÀåÄ¡ | ÀåÄ¡¸í |
+----------+--------+--------+
| Primary | Master | hda |
| +--------+--------+
| | Slave | hdb |
+----------+--------+--------+
| Secondry | Master | hdc |
| +--------+--------+
| | Slave | hdd |
+----------+--------+--------+
[ ±×¸² ] CDRW-03.gif
¸ðµç °ÍÀÌ Á¦´ë·Î µÇ¾ú´Ù¸é ºÎÆýÿ¡ ¾Æ·¡¿Í ºñ½ÁÇÑ È¸éÀ» º¸½Ç ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
Ȥ½Ã¶óµµ Áö³ªÄ¡¼Ì´Ù¸é dmesg ¸í·ÉÀ¸·Î ´Ù½Ã Çѹø º¸½Ç ¼ö ÀÖ½À´Ï´Ù. :)
hdc: RICOH MP6200A, ATAPI drive - enabling SCSI emulation
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: RICOH Model: MP6200A Rev: 2.20
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
scsi : detected 1 SCSI cdrom total.
ÇöÀç CD-RW ¿¡ ·¹ÄÚµùÀÌ °¡´ÉÇÑ ÇÁ·Î±×·¥Àº Á¦°¡ ¾Ë°í ÀÖ´Â Çѵµ³»¿¡¼´Â
'cdrecord' ¹Û¿¡ ¾ø½À´Ï´Ù. ¾ÈÁ¤ ¹öÁ¯ÀÇ °æ¿ì 1.6.1 final ±îÁö ³ª¿Í ÀÖ´Â
»óÅÂÀÌ¸ç °³¹ß ¹öÁ¯Àº 1.8a15 ±îÁö ³ª¿Í ÀÖ½À´Ï´Ù. ¾ÈÁ¤ ¹öÁ¯À̳ª °³¹ß ¹öÁ¯ ¸ðµÎ
CD-RW ¿¡ ·¹ÄÚµù ±×¸®°í »èÁ¦¸¦ Áö¿øÇÕ´Ï´Ù.
cdrecord FTP »çÀÌÆ®
[ ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/cdrecord-1.6.1.tar.gz ] ¿¡¼
´Ù¿î ¹ÞÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù. °³¹ß ¹öÁ¯ÀÇ °æ¿ì ¾ËÂ¥ ¸®´ª½º FTP ¼¹ö
[ ftp://linux.sarang.net
/pub/alzza-5.2/i386/RedHat/RPMS/cdrecord-1.8a14-2.i386.rpm ] ¿¡¼ ´Ù¿î
¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù.
CD ·¹ÄÚµùÀÇ °æ¿ì´Â ÀϹÝÀûÀÎ CD ·¹ÄÚ´õ¸¦ »ç¿ëÇϵíÀÌ ÇÏ¸é µË´Ï´Ù. ÀüÇô Ʋ¸°
Á¡ÀÌ ¾ø½À´Ï´Ù. mkisofs ¸¦ ÀÌ¿ëÇØ CD À̹ÌÁö¸¦ »ý¼º ÈÄ cdrecord ¸¦ ÀÌ¿ëÇØ
±â·ÏÀ» ÇÏ½Ã¸é µË´Ï´Ù.
cdrecord -v dev=0,0 speed=4 test.img
-v ´Â ÀÚ¼¼ÇÑ Ãâ·Â, dev ´Â ÀåÄ¡ ÁöÁ¤ÀÔ´Ï´Ù. 0,0 ¿¡¼ ¾ÕÀÇ 0 ÀÌ ½ºÄ«½Ã ID ¸¦
ÁöÁ¤ÇÏ´Â °ÍÀÌ°í µÚ´Â ½Å°æ¾²½Ç °Í ¾ø´Â ºÎºÐÀÔ´Ï´Ù. ½ºÄ«½Ã ID ¸¦ ¸î¹øÀ»
»ç¿ëÇÏ°í ÀÖ´ÂÁö ¸ð¸£½Ã°Ú´Ù¸é cdrecord -scanbus ¸í·ÉÀ¸·Î ÇöÀç »ç¿ëÇÏ°í ÀÖ´Â
½ºÄ«½Ã ÀåÄ¡µéÀÇ ID ¸¦ º¼ ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
·¹ÄÚµù¿¡ °üÇÑ °ÍÀÎ cdrecord ȨÆäÀÌÁö³ª CD-Writing ÇÏ¿ìÅõ
[ http://metalab.unc.edu/mdw/HOWTO/CD-Writing-HOWTO.html ] ¸¦ Âü°íÇϽøé
ÁÁÀ» °ÍÀÔ´Ï´Ù.
±â·ÏµÈ µ¥ÀÌŸ¸¦ Áö¿ì´Â °Íµµ ¾ÆÁÖ °£´ÜÇÕ´Ï´Ù.
cdrecord -v dev=0,0 speed=4 -blank=[type]
ÀÌ·¸°Ô ¸í·ÉÀ» ÁÖ½Ã¸é µË´Ï´Ù. type ¿¡ ´ëÇÑ ¼³¸íÀº cdrecord -blank=help
¸í·ÉÀ¸·Î º¸½Ç ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù. Âü°í·Î fast ·Î Áö¿ì´Âµ¥ ¾à 4ºÐ Á¤µµÀÇ ½Ã°£ÀÌ
°É·ÈÀ¸¸ç Æ÷¸Ë?ÈÄ¿¡ ´Ù¸¥ µ¥ÀÌŸ¸¦ ½áµµ ¾Æ¹«·± ÁöÀåÀÌ ¾ø¾ú½À´Ï´Ù.
½±°Ô Á¢±ÙÇÏÁö ¸øÇÏ´Â Àåºñ Áß ÇϳªÀ̱⠶§¹®¿¡ ¸¹Àº Á¦Ç°¿¡ ´ëÇØ Å×½ºÆ®¸¦
Çغ¼ ¼ö ¾ø¾ú½À´Ï´Ù. Á¦°¡ Å×½ºÆ®ÇÑ Á¦Ç°Àº 'RICHO MP6200A' ¿Í '»ï¼º SCW-230'
À̾úÀ¸¸ç RICHO MP6200A ´Â Á¦´ë·Î ÀÛµ¿ÇÏ¿´À¸³ª SCW-230 ¸ðµ¨ÀÇ °æ¿ì ¾ÈÁ¤ ¹öÁ¯
Ä¿³Î¿¡¼ ÀνÄÀ» ÇÏÁö ¸øÇÏ°í °³¹ß ¹öÁ¯ÀÇ Ä¿³Î¿¡¼ °Ü¿ì ÀνÄÀ» ÇÏÁö¸¸ Á¦´ë·Î
ÀÛµ¿ÇÏÁö ¸øÇÏ¿© Å« ¾Æ½¬¿òÀ» ³²°å½À´Ï´Ù.
ÀÌ ÀÌ¿ÜÀÇ CD-R(W) µé¿¡ ´ëÇÑ Áö¿ø ¿©ºÎ´Â À¯´Ð½º¿¡¼ÀÇ CD ¶óÀÌÅÍ È£È¯ ¸ñ·Ï
ÆäÀÌÁö [ http://www.guug.de:8080/cgi-bin/winni/lsc.pl ] ¿¡¼ º¸½Ç ¼ö ÀÖÀ»
°ÍÀÔ´Ï´Ù.
ÀÌ ±ÛÀÌ CD-RW »Ó¸¸ÀÌ ¾Æ´Ï¶ó ATAPI IDE ¹æ½ÄÀÇ CD-R À» »ç¿ëÇϽô ºÐµé¿¡°Ôµµ
µµ¿òÀÌ µÉ ¼ö ÀÖÀ¸¸®¶ó »ý°¢ÇÕ´Ï´Ù. :)
|
|
Page Loading [ 0.04 Sec ]
SQL Time [ 0 Sec ]
|
|
|