亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2417 | 回復(fù): 0
打印 上一主題 下一主題

burn cd 轉(zhuǎn)載 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2002-06-06 11:53 |只看該作者 |倒序?yàn)g覽
CD-ROM drives are commonly used for duplicating existing CDs, and for making CD data backups of hard disk files. This article demonstrates how both tasks can be accomplished using cdrecord on the Solaris[tm] Operating Environment.

A simple command line program, cdrecord, means burning CDs using Solaris software is quick, simple, and cost-effective. The cdrecord program, which works for both SPARC[tm] and Intel Architecture systems, is included on the Solaris Software Companion CD (Update 2 and higher), and is also available for free download from www.sun.com/software/solaris/freeware/download.html.

While optional, configuring a cdrecord startup file, /etc/default/cdrecord, will save time in the future. This startup configuration file can hold information that cdrecord will need every time it's used, such as the CD recorder's speed, device name, the preferred buffer size, and so on. Alternately, these options can be entered into the command line before every use.

The first step is to identify the cd recorder device name, which can be found by scanning the device buses. In order to scan the devices, however, the volume management must be turned off.

Log in as root
Turn off volume management by typing /etc/init.d/volmgt stop
Discover the CD recorder and CD-ROM drive device names by typing cdrecord -scanbus at the root prompt. The command output should be similar to:
# cdrecord -scanbus
cdrecord 1.9 (i386-pc-solaris2. Copyright (C) 1995-2000

1,0,0 100) 'CREATIVE' 'CD5233E ' '1.00' Removable CD-ROM
2,4,0 204) 'PLEXTOR' 'CD-R PX-R820T' '1.05' Removable CD-ROM


The device ID is the first three numbers listed in each entry -- in this case, device 2,4,0 is the CD recorder, for example. The configuraiton file can also include a recording speed (for example, 8 times), and a buffer size (for example, 8 megabytes) to help avoid under runs. To create the configuration file, located in /etc/default/cdrecord, type:

# cat /etc/default/cdrecord
CDR_FIFOSIZE=8m
CDR_SPEED=8
CDR_DEVICE=USCSI:2,4,0

The cdrecord program startup configuration file is now set up for the future!


CD to CD

To duplicate an existing CD, insert the CD into the CD-ROM drive. (Remember, duplicating CDs might require certain copyright and license permissions!) Then:

Determine the controller and target numbers. These are listed in the cdrecord -scanbus output (from before): 1,0,0 100) 'CREATIVE' 'CD5233E ' '1.00' Removable CD-ROM. The first number is the controller number, and the second number is the target number. In this case, they are one and zero, respectively. Also note that in the Solaris 8 platform, the IDE CD-ROM drive device names are very similar to SCSI device names -- both contain target numbers.

Choose an output file with sufficient free hard disk space (at least 700 megabytes recommended). For this example, the free space is located in the /local file system.

Capture an ISO image file of the CD by typing (at root prompt):

# dd if=/dev/dsk/c1t0d0p0 of=/local/mycdromfile.iso

It will take about five to ten minutes to copy the entire CD image file to disk. After inserting a blank CD into the CD-ROM drive, burn the image from disk onto a second CD by typing:

# cdrecord -v /local/mycdromfile.iso

This should take about 15 to 30 minutes, depending on the speed of the CD burner. In the above command, -v displays each step with extra information, just in case something isn't successful.


Data to CD

Many users also utilize CD-ROM drives to create data backups on CD of a system's home directory and files. The Solaris 8 Operating Environment includes a very useful command for this, mkisofs, which creates an image file when pointed at a system directory. To make an image file of a home directory, for example /home/neal, type:


# mkisofs -l -L -r -o /local/mycdromfile2.iso /home/neal

This will take all the files in the /home/neal directory and create a CD-ROM ISO image file at /local/mycdromfile2.iso.

When this is finished, insert a blank CD into the CD-ROM drive, and type:

# cdrecord -v /local/mycdromfile2.iso

This will copy the data image onto the blank CD, and should take about 15 to 30 minutes depending on the speed of the burner. More information about the mkisofs command, including all its configurable options, can be found by typing man mkisofs at a shell prompt.

For additional software and hardware information, documentation, source code, and a list of supported CD recorders for cdrecord (an open source project), visit the Freshmeat Web site. To learn more about the Solaris Operating Environment, please visit www.sun.com/solaris.
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP