From 2b9151eb64b7f584712256c161e529b6f727bcbf Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 4 Apr 2011 14:07:38 +0000 Subject: [PATCH] Added an example of a startup file --- libisoburn/trunk/Makefile.am | 1 + libisoburn/trunk/doc/startup_file.txt | 22 +++++++++++++++++++ .../trunk/xorriso/make_xorriso_standalone.sh | 4 +++- .../trunk/xorriso/xorriso_makefile_am.txt | 1 + libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 libisoburn/trunk/doc/startup_file.txt diff --git a/libisoburn/trunk/Makefile.am b/libisoburn/trunk/Makefile.am index 658f8a3d..c47108d9 100644 --- a/libisoburn/trunk/Makefile.am +++ b/libisoburn/trunk/Makefile.am @@ -233,6 +233,7 @@ EXTRA_DIST = \ doc/comments \ doc/doxygen.conf.in \ doc/partition_offset.wiki \ + doc/startup_file.txt \ README \ AUTHORS \ CONTRIBUTORS \ diff --git a/libisoburn/trunk/doc/startup_file.txt b/libisoburn/trunk/doc/startup_file.txt new file mode 100644 index 00000000..2c15d484 --- /dev/null +++ b/libisoburn/trunk/doc/startup_file.txt @@ -0,0 +1,22 @@ +# This is an example for a xorriso startup file. +# If found at one of the following addresses then its text lines will get +# executed by xorriso as commands before any of its program arguments: +# /etc/default/xorriso +# /etc/opt/xorriso/rc +# /etc/xorriso/xorriso.conf +# $HOME/.xorrisorc +# Note: Command -no_rc as first program argument prevents this execution. + + +# Disallow the use of hard disk /dev/sda and its partitions as +# pseudo-drive (e.g. as output target of an ISO image). + +-drive_class banned /dev/sda* + + +# Allow the use of /dev/sdb, /dev/sdc, and /dev/sdd as pseudo-drives +# without the prefix "stdio:" which is usually required for device addresses +# which begin by "/dev/" but represent no CD drives. + +-drive_class harmless /dev/sd[bcd] + diff --git a/libisoburn/trunk/xorriso/make_xorriso_standalone.sh b/libisoburn/trunk/xorriso/make_xorriso_standalone.sh index b07fcf23..8fb97b47 100755 --- a/libisoburn/trunk/xorriso/make_xorriso_standalone.sh +++ b/libisoburn/trunk/xorriso/make_xorriso_standalone.sh @@ -208,7 +208,9 @@ copy_files xorriso/xorriso_buildstamp_none.h \ "$lone_dir"/xorriso/xorriso_buildstamp_none.h create_dir "$lone_dir"/doc -copy_files doc/partition_offset.wiki "$lone_dir"/doc +copy_files doc/partition_offset.wiki \ + doc/startup_file.txt \ + "$lone_dir"/doc create_dir "$lone_dir"/test copy_files \ diff --git a/libisoburn/trunk/xorriso/xorriso_makefile_am.txt b/libisoburn/trunk/xorriso/xorriso_makefile_am.txt index 05f00250..18edb6c8 100644 --- a/libisoburn/trunk/xorriso/xorriso_makefile_am.txt +++ b/libisoburn/trunk/xorriso/xorriso_makefile_am.txt @@ -315,6 +315,7 @@ EXTRA_DIST = \ doc/susp_aaip_2_0.txt \ doc/susp_aaip_isofs_names.txt \ doc/zisofs_format.txt \ + doc/startup_file.txt \ libisofs/aaip-os-dummy.c \ libisofs/aaip-os-linux.c \ libisofs/aaip-os-freebsd.c \ diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 79a9aadd..61dfc1a0 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.04.04.071443" +#define Xorriso_timestamP "2011.04.04.140752"