diff --git a/Makefile.am b/Makefile.am index 658f8a3d..c47108d9 100644 --- a/Makefile.am +++ b/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/doc/startup_file.txt b/doc/startup_file.txt new file mode 100644 index 00000000..2c15d484 --- /dev/null +++ b/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/xorriso/make_xorriso_standalone.sh b/xorriso/make_xorriso_standalone.sh index b07fcf23..8fb97b47 100755 --- a/xorriso/make_xorriso_standalone.sh +++ b/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/xorriso/xorriso_makefile_am.txt b/xorriso/xorriso_makefile_am.txt index 05f00250..18edb6c8 100644 --- a/xorriso/xorriso_makefile_am.txt +++ b/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/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 79a9aadd..61dfc1a0 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.04.04.071443" +#define Xorriso_timestamP "2011.04.04.140752"