104的小美工作家-找工作也可以試試喔!

2008年5月17日 星期六

Linux下文字模式光碟燒錄備份

一般的標準檔案名稱只能支援DOS的8.3格式,但在Linux下另外還有Rock Ridge和Joliet兩種延伸格式。Rock Ridge:支援30個字元、UID/GID檔案權限、POSIX符號連結、devices等。Joliet: Windows CD-ROM的檔案系統。

終端機文字命令:(LPIC Level II)
●mkisofs: 建立ISO9660檔案系統影像,用以燒錄到CD光碟。-- 開發網站
語法: mkisofs options [ -o filename ] path [ path... ]
選項:
-J  Joliet 延伸格式.
-r  用來保留檔案的UID/GID權限等.
-ldots  Allow ISO9660 filenames to begin with a period.
-l  Allow full 31 character filenames.
-o filename Write the image to the named file.
ex: mkisofs -T -r -ldots -l -J -o /var/tmp/image.iso /var/tmp/backup

●cdrecord: 用來燒錄音樂或資料光碟。-- 開發網站
語法: cdrecord -scanbus
  cdrecord [ general_options ] dev=device image_file
選項:
-v  Verbose output. Use one -v to track the burning process.
-dummy Only pretend to burn.
driveropts=burnfree Enables the burning mode that tolerates data underruns.
speed=speed  Set the burning speed.
dev=device  Specify which device to burn to.

* 文字模式還可參考此篇指南。

沒有留言: