Subject Re: [firebird-support] Database on network drive?
Author Helen Borrie
At 02:42 PM 1/04/2004 +0200, you wrote:


>Tom Munro Glass schrieb:
>
> > Will FB, either the full server or the embedded server, work with a
> database
> > file located on a fileserver? The file could either be accessible via a
> > mapped network drive or a UNC address.
>
>If really required it should be an simple modification in jrd.cpp.
>Just remove the checks for network drives (ISC_check_if_remote) and
>recompile the server.
>
>Beware: Firebird might damage databases opened from several machines!
>Super-Server should prevent this by exclusively locking the file -
>this should block other machines from accessing it.

Erm, don't try this on any database you love. It's not a question of
removing the checks for network drives. The Firebird server manages its
own diskspace. To do so, it has to request its host OS for space to
allocate. If you're really keen to break a database, don't go to the
trouble of hacking the code. There's a configuration setting in
firebird.conf put there for the benefit of those who like cheap thrills.

/hb



>Elmar
>
>
>
>
>Yahoo! Groups Links
>
>
>
>