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

  免費注冊 查看新帖 |

Chinaunix

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

Linux下刻錄CD/DVD [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-10-19 10:39 |只看該作者 |倒序瀏覽

                                老文章,一直放在公司的wiki上,轉過來歸檔,懶得再翻回來,湊或著看吧=。=
僅僅針對CUI,對倒騰感興趣的可以看看。至于圖形界面的工具,也就不介紹了
This article describes How to burn CDs in the Linux
Kernel Setup
Linux Kernel Configuration: ATAPI Support. You should make you system support the CDr devices.
               
               
                Device Drivers -> ATA/ATAPI/MFM/RLL support ->
  • ATA/ATAPI/MFM/RLL support
      
  • Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
       
  • Include IDE/ATAPI CDROM support
       
  • generic/default IDE chipset support
    Basic Tools Installation
    Install the base tools :
    # emerge cdrtools
    User and Group
    # gpasswd -a $username cdrw
    # chmod 750 /usr/bin/cdrecord
    # chown squall:cdrw /usr/bin/cdrecord
    og out and log in. User burning should work now.
    If cdrecord still complains permissions denied ("Cannot open
    '/dev/hdc'. Cannot open SCSI driver."), make sure the user who runs
    cdrecord is also in the group which owns the CDRW drive (ie /dev/hdc).
    The default group is cdrom:
    # ls /dev/hdc -l
    brw-rw----  1 root cdrom 3, 64 Mar 23 12:58 /dev/hdc
    Add the user to the cdrom group:
    # gpasswd -a $username cdrom
    log out, log in and try again.
    Configure Device
    To burn an iso with cdrecord you will have to find out the device id.
    This is used to identify your burner on the scsi bus. Yes even for
    ATAPI drives you will need the device id. Find it by issuing the
    following command
    # cdrecord dev=ATAPI -scanbus
    It will give out put like below:
    Cdrecord-ProDVD-Clone 2.01.01a11 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2006 JÃ;¶rg Schilling
    scsidev: 'ATAPI'
    devname: 'ATAPI'
    scsibus: -2 target: -2 lun: -2
    Warning: Using ATA Packet interface.
    Warning: The related Linux kernel interface code seems to be unmaintained.
    Warning: There is absolutely NO DMA, operations thus are slow.
    Using libscg version 'schily-0.8'.
    scsibus0:
            0,0,0     0) '_NEC    ' 'DVD_RW ND-3540A ' '1.F1' 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) *
    Notice the 3 numbers seperated by commas, this is the device id that
    should be used for cdrecord. Mine is 0,0,0 but yours could be different
    so you need to replace it below with your device id.
    Some people will advice to use dev=/dev/hdc but this is unsupported and
    might not work. It might work for you, but it is wrong. Try this
    method, however, if the recommended method returns no results.
    Blank CDuse the command below to erase your CD
    # cdrecord blank=fast dev=ATAPI:0,0,0
    Change 0,0,0 with the device id you found
    Burn CDRW
    Preparing the ISO image
    First, create a directory and then copy all the files you want to burn into /tmp/iso. Then create the image.iso
    # mkdir /tmp/iso
    # cp *.doc /tmp/iso
    # mkisofs -o /tmp/image.iso /tmp/iso
    Burn CD
    To burn the iso use the following command. Replace the 0,0,0 (device id) with the id you found
    cdrecord dev=ATAPI:0,0,0 /tmp/image.iso
    You might also want to add driveropts=burnfree to turn on buffer
    underrun protection. Note that your burner will have to support buffer
    underrun protection for this to work.
    Save the settings to the configure file
    Create the config file for cdrecord: /etc/default/cdrecord
    And put there something like this:

    mycdr=ATAPI:0,0,0    -1    -1    burnfree
    CDR_DEVICE=mycdr
    CDR_SPEED=24
    CDR_FIFOSIZE=30000k
    In this example the cd-r device is /dev/hdb, burnfree is enabled,
    writing speed is reduced to 24x (set CDR_SPEED to -1 and max speed
    supported by drive and media will be used) and fifo size is increased
    to 30 megs.
                   
                   
                   
                   

    本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u1/34010/showart_403551.html
  • 您需要登錄后才可以回帖 登錄 | 注冊

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

      

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

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP