[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Repo on FAT32 accesed from Windows and Linux

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-03-12 02:07:58 CET

Rafal Hajdacki <hajdi@pf.pl> writes:

> Hi,
> I tried to create SVN repo on FAT32 formatted drive. I wanted to access
> it locally from Windows and Linux via ra_local. But I have a problem. If
> I create repo on linux I can't checkout it on Windows and vice versa.
> Here is output of svn co on Linux:
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///mnt/common/svn/win'
> svn: Berkeley DB error while opening environment for filesystem
> /mnt/common/svn/win/db:
> Invalid argument
> Is Berkeley DB format different on Windows and Linux?

The shared memory functionality is different across the two systems,
so yes, a portion of the format differs.

> What can I do to share repo locally between Linux and Windows?

I'm not sure if anyone has experimented with deleting the __db.* files
from /path/to/repos/db, and then running 'svnadmin recover' on the
repository. I suppose this could solve the problem for you (unless
the log.* files -- which you most certainly don't want to delete --
also have platform-specific formats).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 12 02:09:21 2004

This is an archived mail posted to the Subversion Users mailing list.