| |
Miscellaneous: Mkisofs(last edit: 2000-11-22)
So you're going to burn some cd he? Oke first of all you have to make an iso and you can
do this on FreeBSD with a program called 'mkisofs'.
Here's the command line:
user@host:/temp/files>mkisofs -o /tmp/isos/myiso.iso -l .
-o Specify the output file name
-l Full 31 char filenames
The above command makes an iso file in the dir '/tmp/isos/' named 'myiso.iso' and put the
files from the currentdir in the iso.
Man mkisofs
-l Allow full 31 character filenames. Normally the
ISO9660 filename will be in an 8.3 format which is
compatible with MS-DOS, even though the ISO9660
standard allows filenames of up to 31 characters.
If you use this option, the disc may be difficult
to use on a MS-DOS system, but this comes in handy
on some other systems (such as the Amiga). Use
with caution.
-L Allow ISO9660 filenames to begin with a period.
Usually, a leading dot is replaced with an under-
score in order to maintain MS-DOS compatibility.
This violates the ISO9660 standard, but it happens
to work on many systems. Use with caution.
-o filename
is the name of the file to which the iso9660
filesystem image should be written. This can be a
disk file, a tape drive, or it can correspond
directly to the device name of the optical disc
writer. If not specified, stdout is used. Note
that the output can also be a block special device
for a regular disk drive, in which case the disk
partition can be mounted and examined to ensure
that the premastering was done correctly.
-x path
Exclude path from being written to CDROM. path
must be the complete pathname that results from
concatenating the pathname given as command line
argument and the path relative to this directory.
Multiple paths may be excluded. Example:
mkisofs -o cd -x /local/dir1 -x /local/dir2 /local
NOTE: The -m and -x option description should both
be updated, they are wrong. Both now work identi-
cal and use filename globbing. A file is excluded
if either the last component matches or the whole
path matches.
See also cdrecord
Click here to go back to the index.
|