Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119163 - pilot-link-0.11.8 does not use lockfiles
Summary: pilot-link-0.11.8 does not use lockfiles
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 23:04 UTC by Zrajm C Akfohg
Modified: 2006-01-16 01:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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