From: Lars O. G. <gr...@gm...> - 2007-01-29 15:32:45
|
> i am planning to set up a netatalk-fileserver and was asked to implement > a function that informs the user, if a file he wants to open is already > in use by another user. can anyone give me a hint how to do this, or > where this might be already documented? Hi, do you need file locking (which is made to ensure that data integrity is preserved in a technical meaning) or something that is working on a more general layer, giving you a dialog box saying "the file UVW is in use by user XYZ"? The first is the applications responsibility as far as I understand and should be supported on netatalks side. The second would need some coding I guess. Interesting idea, though, some kind of what cvs does with an appleshare frontend. Lars. |