Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I would like to include versioning for my custom file system in my CENTOS 5.2 machine..I searched for some auto versioning tools and came across tool called bazaar.While installing it i got some dependency errors...i have some how managed to reduce it to two errors using dag.wieers ,rpmphone.net....can anyone assist me in getting these two dependency files??Thanks in advance
root@host$rpm -ivh bzr-1.9-1.fc9.i386.rpm
warning: bzr-1.9-1.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6df2196f
error: Failed dependencies:
libpython2.5.so.1.0 is needed by bzr-1.9-1.fc9.i386
python(abi) = 2.5 is needed by bzr-1.9-1.fc9.i386
Thanks for your reply.I just want make a file system to be enabled with auto versioning with svn ...how can it be done...i don't want svn clients ..i just want to enable svn auto version functionality and set revision numbers for the files created so that files can be recovered or roll backed to the previous revision number state.
So it sounds like you are talking about something like:
Quote:
Filesystems on each disk (with the exception of ODS-1) are hierarchical. A fully specified filename consists of a nodename, a username and password, a device name, directory, filename, file type, and a version number, in the format:
Do you want to use version control while writing your "custom filesystem" or are automatic version backups a feature of your "custom filesystem"?
Hi jschiwal,
Thanks for your reply.I have installed svn and tried out versioning it worked fine.Each time i need to give commit so as to set my revision numbers.I don't want this to happen.All i need is to enable auto-versioning in my custom file system so that each time when a user makes any changes to it (files or folders) the versions need to be committed automatically.FYI i am using Centos 5.2...Please help me in this regard.I am a beginner to linux.Thanks in advance.
Why is the snapshot delay so long? How do I change it?
First, when it notices a file change, it always schedules the next action for what seems like an hour away. Is this by design? I am assuming it will group the actions together and backup a many grouped actions at once?
The snapshot delay is configurable on a by-directory basis and can be changed by double-clicking on the delay entry in the Preferences->Include table. Just type in the desired delay (e.g. 5 min.)
I would warn you, however that making the delay too small (for example, 1 sec.) will cause far too many snapshots and waste space on your hard drive.
You are correct in assuming that actions are grouped together so that snapshots can be taken at once. The smallest timeslot used for scheduling is 1 min. by default.
Watching /home
I'm trying to watch my home directory and deleting a file on my desktop results in a dozen changes.
Right. Don't do that.
Watching the /home directory may result in hundreds of unnecessary snapshots a day because many programs use temporary files that are created under your home directory. The good news is that, usually, the file is gone by the time TimeVault gets around to snapping it, and so an entry is made that a file changed, but no snapshot is made.
not sure if this will fit your needs or not.. but something to look at. it's not really a versioning system but a snapshot in time.
I still don't know what you mean by "custom filesystem". Did you write your own filesystem. Is it based on an existing file system such as ext3. When you describe the versioning part, is doesn't sound like it has anything to do with a filesystem.
If you want a share accessible over the internet, with versioning, maybe a webdav server would fit the bill.
I'm not very familiar with webdav but it may do what you want and be usable by both Windows and Linux users.
I still don't know what you mean by "custom filesystem". Did you write your own filesystem. Is it based on an existing file system such as ext3. When you describe the versioning part, is doesn't sound like it has anything to do with a filesystem.
If you want a share accessible over the internet, with versioning, maybe a webdav server would fit the bill.
I'm not very familiar with webdav but it may do what you want and be usable by both Windows and Linux users.
I mean a newly created folder where my project is located.I want to set versioning in my project folder so that i can get back my changes in files and folders contained in it(deletion ,any modification done to the project folder)..I have heard of webdav.Can you tell me how can i configure webdav? please.....
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..
Delta-V is an extension of the WebDAV protocol, adding versioning of resources.
Clients and Servers
Since Delta-V is always a feature of WebDav, not found by itself, in reviewing WebDAV clients and servers, look for the Delta-V feature. Here are just a few notable client & server softwares:
* Subversion (SVN) is a leading source control system which also serves as a limited Delta-V server (implementing a subset of the protocol) via SVN layer mod_dav_svn.
* Explorer implements Delta-V.
* A number of commercial products as Xythos implement Delta-V.
So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..
So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..
Hi Farslayer,
I tried out WebDAV .
I included the these four lines in /etc/httpd/conf/httpd.conf file
<Location /svn>
DAV svn
SVNPath /var/svn_repo
SVNAutoversioning on
</Location>
where svn_repo is the svn repository file.In my browser i tried to access the repository using http://localhost/svn it worked out .I was able to view all the files in my svn repository.But i cant have the provision of deleting or modifying the files.
My second question is in the above configiration statement there is a configiration line SVNAutoversioning on
What does this mean?Each time when i make changes i need to manually commit it so as to assign a revision number for my changes i have done.My idea is to enable auto versioning(revision number should be assigned automatiaclly as soon the the folder or file is modified).Can this be done?Please help me in this regard.
I read in some forums that WebDAV doesnt provide for autoversioning and WebDAV + DeltaV standard provides for autoversioning.Can you please explain me what is DeltaV and how to include this in my configiration.Thanks in advance.
Last edited by fizeelinux; 01-07-2009 at 09:39 PM.
webdav looks like the same thing as a SVN system except with a web based interface.. if subversion isn't a good solution for you, I don't see how webdav would be..
So in order to use webdav, you have to setup Subversion anyhow... or a similar product to handle the versioning..
Hi Farslayer
i have configured auto versioning for a svn repository.If i have a directory say 'A' and it has number of files in it and if i modify the content of the file say file1(file1 is a file in directory 'A'),save it and check for revision numbers of the file1 using a svn client 'Syncro' i was able to see only the latest two revisions .Again i made some changes to the same file 'file1' saved the file and checked for the revision numbers.It showed me the last updated two revision numbers.I was not able to see the previous revision numbers..But if i check for the revision numbers for the directory 'A' it is showing all of the revision numbers (showing revision numbers for each and every changes done to files in it).I am sure autoversioning functionality is working properly but why is showing only the latest revision numbers for the file in the repo but showing all the revision numbers while checking the for the folder containing the file..I hope that my problem is quite clear to you..Please help me in this regard..Thanks in advance..
Last edited by fizeelinux; 02-10-2009 at 05:50 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.