Clarifications about motivation and duties of the participants

This commit is contained in:
Thomas Schmitt 2007-04-19 11:34:54 +00:00
parent 175e5759ea
commit c4bbef2ad2
1 changed files with 3 additions and 2 deletions

View File

@ -68,8 +68,9 @@ So it may be necessary to use a cautious open() without O_EXCL and to aquire
a POSIX lock via fcntl(). "Cautious" means to add O_NDELAY to the flags of a POSIX lock via fcntl(). "Cautious" means to add O_NDELAY to the flags of
open(), because this is declared to avoid side effects within open(). open(), because this is declared to avoid side effects within open().
With this gesture it is important to use the standard paths because With this gesture it is important to use the paths expected by our burn
fcntl(F_SETLK) does not lock the device but only a device-inode. programs: /dev/sr[0..255] /dev/scd[0..255] /dev/sg[0..255] /dev/hd[a..z]
because fcntl(F_SETLK) does not lock the device but only a device-inode.
std_path = one of the standard device files: std_path = one of the standard device files:
/dev/sr[0..255] /dev/scd[0..255] /dev/sg[0..255] /dev/hd[a..z] /dev/sr[0..255] /dev/scd[0..255] /dev/sg[0..255] /dev/hd[a..z]