From 7d0f899f5327f931d873f72a129886d701c84d3b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 21 Sep 2011 13:44:03 +0000 Subject: [PATCH] Mentioned configure-time options for udev anti-collision waiting time --- xorriso/README_gnu_xorriso | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/xorriso/README_gnu_xorriso b/xorriso/README_gnu_xorriso index b11f7978..f9e57767 100644 --- a/xorriso/README_gnu_xorriso +++ b/xorriso/README_gnu_xorriso @@ -95,7 +95,8 @@ development package is installed, then rather build xorriso by: Never omit the "make clean" command after switching libreadline enabling. Other deliberate dependency reduction options of ./configure are: --disable-libacl avoid use of ACL functions like acl_to_text() - --disable-xattr avoid use of xattr functions like listxattr() + --disable-xattr avoid use of xattr functions like listxattr() on Linux + resp. extattr_list_file() on FreeBSD --disable-zlib avoid use of zlib functions like compress2() this also avoids the use of libjte and option -jigdo. @@ -125,6 +126,20 @@ and the cdrecord emulation of xorriso can be told to use this peculiar read mode by: --enable-track-src-odirect +Linux only: +libburn tries to avoid a collision with udev's drive examination by waiting +0.1 seconds before opening the device file for a longer time, after udev +might have been alarmed by drive scanning activities. +The waiting time can be set at ./configure time with microsecond granularity. +E.g. 2 seconds: + CFLAGS="$CFLAGS -DLibburn_udev_wait_useC=2000000" + ./configure ...options... +Waiting can be disabled by zero waiting time: + CFLAGS="$CFLAGS -DLibburn_udev_wait_useC=0" +Alternatively, libburn can try to be nice by opening the device file, +closing it immediately, waiting, and only then opening it for real: + CFLAGS="$CFLAGS -DLibburn_udev_extra_open_cyclE -DLibburn_udev_wait_useC=500000" + Drives and Disk File Objects