subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Read-Only file systems (Was: Worst Error Message?)
Date Mon, 01 Aug 2011 18:16:53 GMT
2011/8/1 Stefan Sperling <stsp@elego.de>:
> On Mon, Aug 01, 2011 at 04:38:46PM +0200, Markus Schaber wrote:
>>
>> Hi,
>>
>> Von: Stefan Sperling [mailto:stsp@elego.de]
>> > On Mon, Aug 01, 2011 at 04:12:41PM +0200, Markus Schaber wrote:
>> > > Can subversion cope with repositories and working-copies on
>> read-only
>> > media?
>> > >
>> > > Maybe some Live-Demo CD bringing an example SVN repository?
>> >
>> > No.
>>
>> So subversion needs write access to both repository and working copies,
>> even if the user performs only operations which he "thinks" to be
>> read-only like "status", "diff", "compare to revision" for working
>> copies, and "repo browsing" and "compare to revision" for repositories?
>
> Yes. For all read opreations it needs to create read-locks to prevent other
> clients from writing at the same time. Another example is that during diff
> it needs to create temporary files to write diffs to.
>
> Repo browsing (e.g. svn ls URL) will probably work as long the repository
> is on a writable filesystem.
>

It is written in SVN book that repository that uses FSFS should work
on read-only media.
Is it something that was broken recently?

- see "Usable from a read-only mount" row in the table in the middle of

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.planning.html


> It is possible that some things happen to work.
> But you'll need to experiment to find out.
>
> The general answer is "no it won't work". It is not a supported use case.
>

Best regards,
Konstantin Kolinko

Mime
View raw message