Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Writing on a CD
- Date: Fri, 8 Dec 2006 18:48:46 +0900 (JST)
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Writing on a CD
- References: <586d0f820612080102n25b9563fq883d9b83bf60b731@example.com>
On Fri, 8 Dec 2006, John Joseph wrote:
Wanted to transfer some data to a CD. How do I do that. Looking for some simple tips on this issue
For what it's worth, here are the scripts I use to make an ISO file and then burn that file to a CD.
cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974#!/bin/sh if [ X"$1" = X"-b" ]; then netbsd_bootable="true" shift fi if [ -z "$2" ]; then echo 1>&2 "Usage: [sudo] makeiso [-b] <root-dir> <output-file>" exit 2 fi bootfile=$(cd $1; echo */installation/floppy/boot-big.fs) if [ -n "$netbsd_bootable" ]; then # Bootable, so assume it's an OS CD and preserve file ownership, suid, etc. mkisofs -o "$2" -J -r -l -allow-leading-dots \ -c boot.catalog -b "$bootfile" "$1" else # We use -R to reset ownership, etc., # because we assume this should be a completely readable CD. mkisofs -o "$2" -J -R -l -allow-leading-dots "$1" fi#!/bin/sh if [ -z "$1" ]; then echo "Usage: cdburn <image-file> [options ...]" exit 2 fi image_file="$1"; shift # XXX Should this really be -tao? It was the old default.... cdrecord dev=/dev/rcd0d -eject -tao "$@" "$image_file"
- References:
- [tlug] Writing on a CD
- From: John Joseph
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Writing on a CD
- Next by Date: [tlug] routers and port forwarding
- Previous by thread: Re: [tlug] Writing on a CD
- Next by thread: [tlug] Re: Writing on a CD
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links