You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by José Moreira <jo...@wemake.pt> on 2005/02/16 11:34:50 UTC
subversion as a low-level filesystem
Hello, i was wondering about the viability of the implementation of a
'version controller' filesystem (kernel level). I believe that something
like that could be as or more useful that WinFS or similar. Anyone has
an opinion? thanks
--
José Moreira
WeMake - Tecnologias de Informação,
Rua Pinto de Aguiar, 223 2º Esq
4400-252 Vila Nova de Gaia
http://www.wemake.pt
PORTUGAL
Tel: +351 22 3744827 Fax: +351 22 3744831
Re: subversion as a low-level filesystem
Posted by Andy Peters <de...@latke.net>.
Clemens Schwaighofer wrote:
> On 02/16/2005 11:06 PM, Johannes Lochmann wrote:
>
>>On Wednesday 16 February 2005 12:34, José Moreira wrote:
>>Hello all,
>>>Hello, i was wondering about the viability of the implementation of a
>>>'version controller' filesystem (kernel level).
>>
>>Didn't VMS have such a beast?
>
> yes, and that would be something that would be great to have it back in
> the OS.
Especially now that disk space is dirt cheap and annoyances like disk
quotas have gone the way of, uh, VMS ...
-a
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Tim Gebhardt <su...@gebhardtcomputing.com>.
Clemens Schwaighofer wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 02/16/2005 11:06 PM, Johannes Lochmann wrote:
>
>
>>On Wednesday 16 February 2005 12:34, José Moreira wrote:
>>
>>Hello all,
>>
>>
>>
>>
>>>Hello, i was wondering about the viability of the implementation of a
>>>'version controller' filesystem (kernel level).
>>>
>>>
>>Didn't VMS have such a beast?
>>
>>
>
>yes, and that would be something that would be great to have it back in
>the OS.
>
>- --
>[ Clemens Schwaighofer -----=====:::::~ ]
>[ TBWA\ && TEQUILA\ Japan IT Group ]
>[ 6-17-2 Ginza Chuo-ku, Tokyo 104-0061, JAPAN ]
>[ Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343 ]
>[ http://www.tequila.co.jp http://www.tbwajapan.co.jp ]
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (GNU/Linux)
>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
>iD8DBQFCFT6RjBz/yQjBxz8RAlCpAJ0W95bkNY8hUUfNnqDZejPt8lnyWACeOmrh
>SJ7VW4PkfaxaKBNV0jbx5xg=
>=Amgg
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
Windows 2003 offers something like it called Shadow Copies. I haven't
used it (don't really have the money for Win2k3), but has anyone else?
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/sdcbc_sto_irvi.asp
Tim Gebhardt
subversion@gebhardtcomputing.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Clemens Schwaighofer <cs...@tequila.co.jp>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/16/2005 11:06 PM, Johannes Lochmann wrote:
> On Wednesday 16 February 2005 12:34, José Moreira wrote:
>
> Hello all,
>
>
>>Hello, i was wondering about the viability of the implementation of a
>>'version controller' filesystem (kernel level).
>
>
> Didn't VMS have such a beast?
yes, and that would be something that would be great to have it back in
the OS.
- --
[ Clemens Schwaighofer -----=====:::::~ ]
[ TBWA\ && TEQUILA\ Japan IT Group ]
[ 6-17-2 Ginza Chuo-ku, Tokyo 104-0061, JAPAN ]
[ Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343 ]
[ http://www.tequila.co.jp http://www.tbwajapan.co.jp ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCFT6RjBz/yQjBxz8RAlCpAJ0W95bkNY8hUUfNnqDZejPt8lnyWACeOmrh
SJ7VW4PkfaxaKBNV0jbx5xg=
=Amgg
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Johannes Lochmann <j....@i-penta.at>.
On Wednesday 16 February 2005 12:34, José Moreira wrote:
Hello all,
> Hello, i was wondering about the viability of the implementation of a
> 'version controller' filesystem (kernel level).
Didn't VMS have such a beast?
> I believe that something
> like that could be as or more useful that WinFS or similar. Anyone has
> an opinion?
would be a very nice feature, IMO
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Branko Čibej <br...@xbc.nu>.
Ulrich Eckhardt wrote:
>José Moreira wrote:
>
>
>>Hello, i was wondering about the viability of the implementation of a
>>'version controller' filesystem (kernel level). I believe that something
>>like that could be as or more useful that WinFS or similar. Anyone has
>>an opinion?
>>
>>
>
>There are voices that there are already way too many non-hardware drivers
>(protocol drivers and filesystem drivers) in Linux. The danger of people that
>do kernel level coding but are not aware of require
>
Relax. You can always write a user-mode VFS, and I'm pretty sure nobody
in their right mind would put BDB into kernel mode.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
José Moreira wrote:
> Hello, i was wondering about the viability of the implementation of a
> 'version controller' filesystem (kernel level). I believe that something
> like that could be as or more useful that WinFS or similar. Anyone has
> an opinion?
There are voices that there are already way too many non-hardware drivers
(protocol drivers and filesystem drivers) in Linux. The danger of people that
do kernel level coding but are not aware of requirements for kernel-level
code is immense, in particular drivers for non-critical hardware (soundcards)
have been rumoured to be in bad state often.
Adding Subversion (possibly even with a BDB backend) to the kernel adds
incredible amounts of code, none of which was written with the assumption of
running with kernel privileges. Consider things like a null pointer: I
wouldn't mind a program relying on a segfault for dereferencing it, but at
kernel level that a big nono. Also, you can't rely on the OS cleaning up
after you when you exit. Stackspace is also scarce. There is almost no C
runtime. No assertion support exists to guarantee pre/postconditions.
Sorry, but rather start hacking on one of those facilities that finally export
a decent API for implementing filesystems to userspace and then create the
gruecode to connect that to a Subversion backend.
A totally different approach would be to use the FAM or similar things to
auto-commit things, which could be implemented in 100% userspace and even
portably so (assuming FAM and Subversion were already ported).
IMHO
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Ben Collins-Sussman <su...@collab.net>.
On Feb 16, 2005, at 8:47 AM, José Moreira wrote:
> My programming skills are far for the ability to implement
> filesystems but its a good idea
>
Turn on SVNAutoversioning in your http-accessible svn repository. You
can then mount it on almost any OS as a network share, and the
versioning is transparent. Read appendix C for details. The feature
isn't 100% complete, but it will be when the svn 1.2 locking stuff is
released.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by José Moreira <jo...@wemake.pt>.
My programming skills are far for the ability to implement filesystems
but its a good idea
Jeffrey Vaughan wrote:
> José Moreira wrote:
>
>> Hello, i was wondering about the viability of the implementation of a
>> 'version controller' filesystem (kernel level). I believe that
>> something like that could be as or more useful that WinFS or similar.
>> Anyone has an opinion? thanks
>
>
> The VMS filesystem, iirc, was versioning.
> http://en.wikipedia.org/wiki/OpenVMS_filesystem has a little
> inforamation about this. It would be super exciting to have versioned
> files under linux. Good luck:)
>
> Jeff
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
> .
>
--
José Moreira
WeMake - Tecnologias de Informação,
Rua Pinto de Aguiar, 223 2º Esq
4400-252 Vila Nova de Gaia
http://www.wemake.pt
PORTUGAL
Tel: +351 22 3744827 Fax: +351 22 3744831
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Charles Bailey <ba...@newman.upenn.edu>.
--On February 16, 2005 11:40:58 AM -0600 Steve Greenland <st...@lsli.com>
wrote:
> On Wed, Feb 16, 2005 at 09:13:45AM -0500, Jeffrey Vaughan wrote:
>> Jos? Moreira wrote:
>> > Hello, i was wondering about the viability of the implementation of a
>> > 'version controller' filesystem (kernel level). I believe that
>> > something like that could be as or more useful that WinFS or similar.
>> > Anyone has an opinion? thanks
>>
>> The VMS filesystem, iirc, was versioning.
>
> Mmmm, kinda sorta. It would keep multiple versions of files, indicated
> by a trailing ';N' on the file name; e.g. foo.txt;1, foo.txt;2, etc.
> Sometimes useful (editor), sometimes *extremely* annoying (program that
> logged to a file every few minutes by opening, appending, and closing.)
You're fine if you're appending, which doesn't create a new version. As
this implies, though, versions aren't static: you can add to, overwrite, or
delete specific versions of a file. In practice, I rarely found this a
problem, but it's addressing a different set of versioning issues than svn.
There was a "journal-based" filesystem available for VMS for a while which
might've allowed you to reconstruct prior moments in a file's existence,
but it faded away pretty quickly.
--
Nostalgically,
Charles Bailey < bailey _at_ newman _dot_ upenn _dot_ edu >
Newman Center at the University of Pennsylvania
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Steve Greenland <st...@lsli.com>.
On Wed, Feb 16, 2005 at 09:13:45AM -0500, Jeffrey Vaughan wrote:
> Jos? Moreira wrote:
> >Hello, i was wondering about the viability of the implementation of a
> >'version controller' filesystem (kernel level). I believe that something
> >like that could be as or more useful that WinFS or similar. Anyone has
> >an opinion? thanks
>
> The VMS filesystem, iirc, was versioning.
Mmmm, kinda sorta. It would keep multiple versions of files, indicated
by a trailing ';N' on the file name; e.g. foo.txt;1, foo.txt;2, etc.
Sometimes useful (editor), sometimes *extremely* annoying (program that
logged to a file every few minutes by opening, appending, and closing.)
- You could set attributes on a file so that would keep only a specified
number of versions. You could set this on the directory level, so
any *new* files inherited it.
- The obscure bad thing was that the version number was limited to
32767. The next time you opened and tried to write the file, it would
fail. You could fix this by renameing the file to a lower version number
(e.g. "rename foo.log;32767 foo.log;1"), but you had to be careful
because:
- When you accessed "foo.txt", it would open the *highest numbered*
file, not necessarily the newest. So not only did you have to rename
the highest versioned one, but delete all the other ones. this was also
problematic, because:
- If you forgot to set the maximum number of versions to keep,
you ended up with 32766 files to delete. If you did the obvious
"delete/exclude=foo.log;1 foo.log;*" (well, obvious on VMS, anyway) it
would take friggin' *forever*, because directories were store in lexical
order, and had to be rebuilt if you deleted an intermediate entry, so
the above command would cause a directory re-build for every single
file. Deleting from the end was cheap and fast, though, so everyone
had/wrote/stole a script to loop through file entries in reverse order.
Subversion it was not.
More VMS Fun Facts on request,
Steve
--
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
-- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: subversion as a low-level filesystem
Posted by Jeffrey Vaughan <va...@seas.upenn.edu>.
José Moreira wrote:
> Hello, i was wondering about the viability of the implementation of a
> 'version controller' filesystem (kernel level). I believe that something
> like that could be as or more useful that WinFS or similar. Anyone has
> an opinion? thanks
The VMS filesystem, iirc, was versioning.
http://en.wikipedia.org/wiki/OpenVMS_filesystem has a little
inforamation about this. It would be super exciting to have versioned
files under linux. Good luck:)
Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org