On Tue, 26 Feb 2002 12:20, Aurelien Jarno wrote:
> I am currently writing a small application using the serial port. To
> respect standards, my application create a file in /var/lock, for example
> /var/lock/LCK..ttyS0
>
> What is the standard when using devfs and devices in /dev/tts ?
> /var/lock/LCK..tts0 ?
Most code is using /var/lock/LCK..0, which will work OK as long as only
serial ports are locked. We need something better though. Maybe
/var/lock/...tts.0 (and as a general rule make it /var/lock/...ZZ where ZZ is
the device name with /dev/ stripped off and all '/' characters replaced by
'.' characters)?
--
Signatures >4 lines are rude. If you send email to me or to a mailing list
that I am subscribed to which has >4 lines of legalistic junk at the end
then you are specifically authorizing me to do whatever I wish with the
message (the sig won't be read).
|