Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119163

Summary: pilot-link-0.11.8 does not use lockfiles
Product: Gentoo Linux Reporter: Zrajm C Akfohg <zrajm>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal CC: zrajm
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zrajm C Akfohg 2006-01-15 23:04:43 UTC
The pilot-xfer does not make use of device lockfiles ("/var/lock/LCK..ttyS0" et al.)

Since pilot-xfer (and, I suppose, all the other tools used for transfering data to/from a PDA in that package/ebuild) does not use lockfiles starting two instances of the program will cause the transfer to fail, without any error messages on pilot-xfer's part. (If data were sent *to* the handheld I expect some real unpleasant data corruption could take place.)

I would suggest implementing the lockfile scheme spoken of in /usr/src/linux/Documentation/devices.txt (under heading "Serial ports", at the very end of the file).

I have no idea whether or not this is suggestion applicable/relevant when using an USB cradle, rather than one connected to a serial port.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-16 01:01:14 UTC
(In reply to comment #0)
> I would suggest implementing the lockfile scheme spoken of in
> /usr/src/linux/Documentation/devices.txt (under heading "Serial ports", at the
> very end of the file).

Good suggestion, but wrong place. Please, take this upstream, Gentoo does not develop this app.

http://bugs.pilot-link.org/main_page.php