Improved and documented workaround for udev

This commit is contained in:
2011-09-21 13:34:21 +00:00
parent 71c9dc9f28
commit d9e6bde437
4 changed files with 86 additions and 11 deletions

View File

@ -438,6 +438,22 @@ It will not read startup files, will abort on option dev_translation= ,
will not have a fifo buffer, and will not be able to put out help texts or
debugging messages.
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...
Closing and re-opening 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"
------------------------------------------------------------------------------
System Dependend Drive Permission Examples

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.09.20.132438"
#define Cdrskin_timestamP "2011.09.21.133344"