CD/DVD 레코딩과 .iso 파일 관리 - 윈디하나의 솔라나라
|
Mount Rainier
(패킷 쓰기 규격)를 사용했기 때문에 문제 없다. 또한 PC에서 부팅 가능한 CD/DVD를 만들기 위해 El Torito 규격이 나와있으며, Sparc 에서 부팅 하기위해서는 별도의 작업이 더 필요하다.root@wl ~ # wget http://downloads.sourceforge.net/project/cdrtools/cdrtools-3.01.tar.bz2 root@wl ~ # tar xvfj cdrtools-3.01.tar.bz2 root@wl ~ # cd cdrtools-3.01 root@wl ~/cdrtools-3.01 # make 1) root@wl ~/cdrtools-3.01 # make install 2)1)
configure
를 실행하지 않는다./opt/schily
에 설치된다. PATH
를 변경해야 한다.
root@wl ~ # svcadm disable svc:/system/filesystem/volfs:default 1)
root@wl ~ # cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.01 (i386-pc-solaris2.10) Copyright (C) 1995-2015 Jörg Schilling
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
scsibus0:
0,0,0 0) 'ATA ' 'ST3160815AS ' 'B ' Disk
0,1,0 1) 'ATA ' 'ST3160815AS ' 'D ' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) 'TSSTcorp' 'CD/DVDW SH-S183L' 'SB03' Removable CD-ROM
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
root@wl ~ # cdrecord -inq
Cdrecord-ProDVD-ProBD-Clone 3.01 (i386-pc-solaris2.10) Copyright (C) 1995-2015 Jörg Schilling
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=0,4,0.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-S183L'
Revision : 'SB03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
1) 솔라리스 9 이하는 /etc/init.d/volmgt stop
명령을 사용하면 된다.
root@wl ~ # cat /etc/default/cdrecord CDR_DEVICE=USCSI:1,0,0 CDR_SPEED=16 CDR_FIFOSIZE=16m mycdrecorder=0,4,0 -1 16m burnfree
cdrecord -v speed=# fs=# driveropts=burnfree dev=TARGET isofile.isospeed는 CDR_SPEED, fs에는 CDR_FIFOSIZE, dev에는 CDR_DEVICE값을 넣어준다 burnfree는 버퍼 언더런을 방지하기 위한 기술을 활성화 하는 옵션이다. 대부분의 레코더는 이 옵션(Sanyo BURN-Proof, Ricoh Just-Link, Yamaha Lossless-Link)을 지원한다. /etc/default/cdrecord에 지정한 알리아스를 사용하려면 아래와 같이 한다.
cdrecord -v dev=mycdrecorder isofile.iso
root@wl ~ # cdrecord -v dev=mycdrecorder sol-10-u9-ga-x86-dvd.iso cdrecord: No write mode specified. cdrecord: Assuming -sao mode. cdrecord: If your drive does not accept -sao, try -tao. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-ProDVD-ProBD-Clone 3.01 (i386-pc-solaris2.10) Copyright (C) 1995-2015 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '0,4,0' scsibus: 0 target: 4 lun: 0 Warning: Using USCSI interface. Using libscg version 'schily-0.9'. Driveropts: 'burnfree' SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'TSSTcorp' Identifikation : 'CD/DVDW SH-S183L' Revision : 'SB03' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: DVD+R Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD+R/DL Profile: DVD+R (current) Profile: DVD+RW Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-ROM Profile: CD-RW Profile: CD-R Profile: CD-ROM Profile: Removable Disk Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr). Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 917504 = 896 KB cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. FIFO size : 16777216 = 16384 KB Track 01: data 2047 MB Total size: 2047 MB = 1048320 sectors Current Secsize: 2048 Blocks total: 2295104 Blocks current: 2295104 Blocks remaining: 1246784 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 18 in real SAO 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. Starting new track at sector: 0 Track 01: 2047 of 2047 MB written (fifo 100%) [buf 99%] 13.5x. Track 01: Total bytes read/written: 2146959360/2146959360 (1048320 sectors). Writing time: 183.312s Average write speed 8.5x. Min drive buffer fill was 99% Fixating... Fixating time: 26.213s BURN-Free was 4 times used. cdrecord: fifo had 65520 puts and 65520 gets. cdrecord: fifo was 0 times empty and 7221 times full, min fill was 95%. root@wl ~ #
root@wl ~ # readcd -dev=1,0,0 f=disk.out sectors=10-20 Read speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x). Write speed: 2 kB/s (CD 0x, DVD 0x, BD 0x). Capacity: 1251680 Blocks = 2503360 kBytes = 2444 MBytes = 2563 prMB Sectorsize: 2048 Bytes Copy from SCSI (1,0,0) disk to file 'disk.out' end: 20 addr: 20 cnt: 10 Time total: 0.056sec Read 20.00 kB at 357.1 kB/sec. root@wl ~ # cat disk.out CD001Solaris SOL_10_1009_X86 ... root@wl ~ #
mkisofs -help
명령을 보면 세부 옵션이 상당히 많음을 알 수 있다.
root@wl ~ # mkdir imgfiles root@wl ~ # cd imgfiles root@wl ~/imgfiles # mkfile 10m "트랙1 - 윈디하나의 솔라나라 주제가.mp3" root@wl ~/imgfiles # mkfile 10m "트랙2 - 윈디하나의 솔라나라 여는노래.mp3" root@wl ~/imgfiles # mkfile 10m "트랙3 - 윈디하나의 솔라나라 닫는노래.mp3" root@wl ~/imgfiles # mkisofs -o ~/myiso.iso -r -J ~/imgfiles Setting input-charset to 'UTF-8' from locale. 32.22% done, estimate finish Thu Oct 21 10:38:42 2010 64.44% done, estimate finish Thu Oct 21 10:38:42 2010 96.56% done, estimate finish Thu Oct 21 10:38:42 2010 Total translation table size: 0 Total rockridge attributes bytes: 578 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 46000 15541 extents written (30 MB) root@wl ~/imgfiles # ls -l ~/myiso.iso -rw-r--r-- 1 root root 31827968 10월 21일 10:38 /root/myiso.iso
root@wl ~ # isodump myiso.iso 144 [ 1] 1c 2048 02/*. [SP=[skip=0],RR=1,PX=2,TF,CE=[1e,0,237][ER=[len_id=10,len_des=84,len_src=135,ext_ver=1,id="RRIP_1991A"]]] 110 [ 1] 1c 2048 02/*.. [RR=1,PX=2,TF] 180 [ 1] 1f 10485760 00/ ______1_.MP3;1[RR=1,NM=트랙1 - 윈디하나의 솔라나라 주제가.mp3,PX=1,TF] 180 [ 1] 141f 10485760 00/ ______2_.MP3;1[RR=1,NM=트랙2 - 윈디하나의 솔라나라 여는노래.mp3,PX=1,TF] 178 [ 1] 281f 10485760 00/ ______3_.MP3;1[RR=1,NM=트랙3 - 윈디하나의 솔라나라 닫는노래.mp3,PX=1,TF] Zone, zone offset: 1c 000000000000 root@wl ~ # isoinfo -d -i myiso.iso Setting input-charset to 'UTF-8' from locale. CD-ROM is in ISO 9660 format System id: Solaris Volume id: CDROM Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 15541 Joliet with UCS level 3 found. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' root@wl ~ # isovfy -i myiso.iso Root at extent 1c, 2048 bytes [0 0] No errors found root@wl ~ #
cdrecord -v isofile.iso
dd if=/dev/dsk/c1t0d0p0 of=isofile.iso
mkisofs -l -J -r -o isofile.iso /export/home/windy/record
mkisofs -R /export/home/windy/record | cdrecord -v fs=32m speed=8 dev=2,0 -
root@wl ~ # lofiadm -a /isofile.iso /dev/lofi/1 root@wl ~ # mount -F hsfs -o ro /dev/lofi/1 /mnt마운트 해제하기
root@wl ~ # umount /mnt root@wl ~ # lofiadm -d /dev/lofi/1
cdrecord blank=all|fast
RSS ATOM XHTML 5 CSS3 |
Copyright © 2004-2025 Jo HoSeok. All rights reserved. |