Subject | Re: [firebird-support] Symlink safety? |
---|---|
Author | Ann W. Harrison |
Post date | 2005-10-03T19:15:43Z |
Jason Dodson wrote:
you'll get an error saying that the file is in use. SuperServer on
windows opens the file using file system modes exclusive write, shared
read. Assuming the file system works - which is likely in this case
though unlikely in the case of network mounted files - you won't have a
problem. Linux and unixes allow us to access the primitive file id
which we use to lock access.
Regards
Ann
> Would there be ill effects if I were to create several symlinks to the sameThat should be OK. The worst that's likely to happen is that on Windows
> file, and super server connect to each of them x times?
you'll get an error saying that the file is in use. SuperServer on
windows opens the file using file system modes exclusive write, shared
read. Assuming the file system works - which is likely in this case
though unlikely in the case of network mounted files - you won't have a
problem. Linux and unixes allow us to access the primitive file id
which we use to lock access.
Regards
Ann