You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ross Boylan <ro...@biostat.ucsf.edu> on 2004/07/24 21:13:31 UTC

Using FAT32 from Linux

I dual boot Linux and Windows.  I know that subversion will work on
either (except as a server for Win9x/Me), but want to double check one
particular scenario.

Can I use the svn client under Linux to create or work with a working
copy on a FAT file system?

I assume that I won't have upper/lower case issues, e.g., a file foo
and another named FOO.

I can live with the files having Linux line endings when I switch into
Windows.

I think I'm going to keep the server just on Linux, but out of
curiosity, could I put the repository on a FAT file system?

Aside from file name issues, I'm concerned there might be some subtle
locking requirements that FAT isn't up to.

I gather from previous posts that even if the repository were on FAT
it would not be accessible from Windows because of some differences in
the file structures used by Berkeley db in the two systems.  I also
see suggested work-arounds, but since I'm almost never in Windows I
think I can live without that adventure.

Running subversion 1.0.0-1 on Debian GNU/Linux.

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Max Bowsher <ma...@ukf.net>.
Ulrich Eckhardt wrote:
> Ross Boylan wrote:
>> I dual boot Linux and Windows.  I know that subversion will work on
>> either (except as a server for Win9x/Me), but want to double check one
>> particular scenario.
>
> This is only half the truth: the BDB can't be used on DOS based systems.
That
> means, that you can't use SVN's file:// on such a system. It has nothing
to
> do with serving or not, although usually, the server is the part that uses
> that mode to access the SVN filesystem.
>
>> I gather from previous posts that even if the repository were on FAT
>> it would not be accessible from Windows because of some differences in
>> the file structures used by Berkeley db in the two systems.
>
> Yes, the database has different layouts on different machines. However,
for
> your case I seem to remember that MS Windows/x86 and Linux/x86 use
compatible
> binary layouts.

*Almost* compatible binary layouts.

You need to run recovery to discard and re-write the __db.00* files.

(or use fsfs repositories instead).

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Ross Boylan <Ro...@stanfordalumni.org>.
On Wed, Jul 28, 2004 at 10:28:35PM -0500, kfogel@collab.net wrote:
> Ross Boylan <ro...@biostat.ucsf.edu> writes:
> > Unfortunately no one has answered my most important operational
> > question: can I put a svn working copy on a FAT32 file system while
> > running Linux?  Any takers?
> 
> Uh, try it and see? :-)

Well, if it failed that would be definitive.

I'm more concerned that it would seem to work, but fail
intermittently.  I'd expect if there's a problem it would be fairly
subtle (e.g., file locking) and might be erratic.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by kf...@collab.net.
Ross Boylan <ro...@biostat.ucsf.edu> writes:
> Unfortunately no one has answered my most important operational
> question: can I put a svn working copy on a FAT32 file system while
> running Linux?  Any takers?

Uh, try it and see? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
Ross Boylan wrote:
> On Mon, Jul 26, 2004 at 12:31:43PM +0200, Ulrich Eckhardt wrote:
>> Ross Boylan wrote:
>>> I dual boot Linux and Windows.  I know that subversion will work on
>>> either (except as a server for Win9x/Me), but want to double check one
>>> particular scenario.
>>
>> This is only half the truth: the BDB can't be used on DOS based systems.
>> That means, that you can't use SVN's file:// on such a system. It has
>> nothing to do with serving or not, although usually, the server is the
>> part that uses that mode to access the SVN filesystem.
>
> Huh?  My understanding is that, until recently, the server had to use
> BDB.  If the server runs in Windows, as is claimed, then BDB must run
> there.  Or do you mean DOS as in DOS and Win <= 3.1 systems?  I know
> subversion needs newer Windows systems.
>
> file:// is a client access method, I thought.

I wouldn't call it a client access method, as there is no server involved. It 
rather directly invokes the BDB methods, which is the same as the server 
does. Therefore, using 'file://..' access methods and running servers is not 
possible under DOS based systems. If I understand this correctly.
 With DOS based I mean of course legacy DOS itself, but also its derivatives 
like all MS Windows versions that are not based on Windows NT. Those are 3.x 
9x and ME, IIRC.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Max Bowsher <ma...@ukf.net>.
Ross Boylan wrote:
> Unfortunately no one has answered my most important operational
> question: can I put a svn working copy on a FAT32 file system while
> running Linux?  Any takers?


The problems I expect:

Case insensitivity.

eol-style = native means different things on Windows and Linux.


Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Ross Boylan <ro...@biostat.ucsf.edu>.
On Mon, Jul 26, 2004 at 12:31:43PM +0200, Ulrich Eckhardt wrote:
> Ross Boylan wrote:
> > I dual boot Linux and Windows.  I know that subversion will work on
> > either (except as a server for Win9x/Me), but want to double check one
> > particular scenario.
> 
> This is only half the truth: the BDB can't be used on DOS based systems. That 
> means, that you can't use SVN's file:// on such a system. It has nothing to 
> do with serving or not, although usually, the server is the part that uses 
> that mode to access the SVN filesystem.

Huh?  My understanding is that, until recently, the server had to use
BDB.  If the server runs in Windows, as is claimed, then BDB must run
there.  Or do you mean DOS as in DOS and Win <= 3.1 systems?  I know
subversion needs newer Windows systems.

file:// is a client access method, I thought.

> 
> > I gather from previous posts that even if the repository were on FAT
> > it would not be accessible from Windows because of some differences in
> > the file structures used by Berkeley db in the two systems.
> 
> Yes, the database has different layouts on different machines. However, for 
> your case I seem to remember that MS Windows/x86 and Linux/x86 use compatible 
> binary layouts.
> 
I think that remark was about endianness and word length.  As someone
already pointed out, a little care is still needed when switching.

> Uli

Unfortunately no one has answered my most important operational
question: can I put a svn working copy on a FAT32 file system while
running Linux?  Any takers?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
Ross Boylan wrote:
> I dual boot Linux and Windows.  I know that subversion will work on
> either (except as a server for Win9x/Me), but want to double check one
> particular scenario.

This is only half the truth: the BDB can't be used on DOS based systems. That 
means, that you can't use SVN's file:// on such a system. It has nothing to 
do with serving or not, although usually, the server is the part that uses 
that mode to access the SVN filesystem.

> I gather from previous posts that even if the repository were on FAT
> it would not be accessible from Windows because of some differences in
> the file structures used by Berkeley db in the two systems.

Yes, the database has different layouts on different machines. However, for 
your case I seem to remember that MS Windows/x86 and Linux/x86 use compatible 
binary layouts.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Ross Boylan <Ro...@stanfordalumni.org>.
On Mon, Jul 26, 2004 at 09:10:40AM +1000, Chris Jensen wrote:
> Hi Ross,
> >I can live with the files having Linux line endings when I switch into
> >Windows.
> 
> I haven't tried this, and I don't know much about subversion internal so 
> I could be way of base, but perhaps you should check how svn is going to 
> deal with line endings when commiting. With native EOL I would guess 
> that it coverts the EOL's both on commit and checkout - but if you're on 
> Windows, checking in something that was checked out on linux, then will 
> the EOL's get coverted properly/at all?

Unless I make a special effort, svn will just leave the files as is.
If I touch them in Windows it will be to edit them with emacs, and I
believe that notes the line end conventions and preserves them.  I
should probably double check that, because otherwise I'll get lots of
spurious differences.

The other factor that might confuse things is that, even if I have
Windows EOL's, I'll be doing svn from Linux.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using FAT32 from Linux

Posted by Chris Jensen <cj...@edex.com.au>.
Hi Ross,
> I can live with the files having Linux line endings when I switch into
> Windows.

I haven't tried this, and I don't know much about subversion internal so 
I could be way of base, but perhaps you should check how svn is going to 
deal with line endings when commiting. With native EOL I would guess 
that it coverts the EOL's both on commit and checkout - but if you're on 
Windows, checking in something that was checked out on linux, then will 
the EOL's get coverted properly/at all?