Documentation: setup-git-server-over-http: Mention davfs2
PATCH 1/1 Documentation: setup-git-server-over-http: Mention davfs2
I just came across an interesting file system driver that allows to mount WebDAV resources into file system tree: davfs2. I though it would be worth mentioning this on setup-git-server-over-http.txt.
I also added a header for the "testing" section.
---
davfs2 seems pretty stable and performance is quite good.
Documentation/howto/setup-git-server-over-http.txt | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-)
Documentation/howto/setup-git-server-over-http.txt +16 -3
@@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your browser to check whether it asks for a password and accepts the right password. + +Step 2 1/2: testing your WebDAD server +-------------------------------------- + On Debian: To test the WebDAV part, do:
@@ -173,9 +177,18 @@ On Debian: Most tests should pass. -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for -example, konqueror can open WebDAV URLs as "webdav://..." or -"webdavs://...". +An alternative is to use davfs2, a driver that allows monting a WebDAV +resource into the system tree. This requires root access and kernel +support (probably your kernel includes this). + + $ apt-get install davfs2 + $ mkdir -p /mnt/webdav + $ mount -t davfs http://<servername>/ /mnt/webdav + $ ls /mnt/webdav + $ umount /mnt/webdav + +If you prefer GUIs, for example, konqueror can open WebDAV URLs as +"webdav://..." or "webdavs://...". If you're into Windows, from XP onwards Internet Explorer supports WebDAV. For this, do Internet Explorer -> Open Location ->
Signature · 1 line
1.5.4.3
Documentation/howto/setup-git-server-over-http.txt Now go to http://<username>@<servername>/my-new-repo.git in your · line 167
Quoted 6 lines · Giovanni Funchal
+++
b/Documentation/howto/setup-git-server-over-http.txtDocumentation/howto/setup-git-server-over-http.txt +4
-0@@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your + +Step 2 1/2: testing your WebDAD server +-------------------------------------- +
Typo? (s/WebDAD/WebDAV/)
Documentation/howto/setup-git-server-over-http.txt On Debian: · line 179
Quoted 4 lines
Documentation/howto/setup-git-server-over-http.txt +3
-0@@ -173,9 +177,18 @@ On Debian: +An alternative is to use davfs2, a driver that allows monting a WebDAV +resource into the system tree. This requires root access and kernel +support (probably your kernel includes this).
s/monting/mounting/
Signature · 5 lines
Marcus Griep GPG Key ID: 0x5E968152 —— http://www.boohaunt.net את.ψο´
PATCH 1/1 Documentation: setup-git-server-over-http: Mention davfs2
I just came across an interesting file system driver that allows to mount WebDAV resources into file system tree: davfs2. I though it would be worth mentioning this on setup-git-server-over-http.txt.
I also added a header for the "testing" section.
--- Documentation/howto/setup-git-server-over-http.txt | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-)
Documentation/howto/setup-git-server-over-http.txt +16 -3
@@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your browser to check whether it asks for a password and accepts the right password. + +Step 2 1/2: testing your WebDAV server +-------------------------------------- + On Debian: To test the WebDAV part, do:
@@ -173,9 +177,18 @@ On Debian: Most tests should pass. -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for -example, konqueror can open WebDAV URLs as "webdav://..." or -"webdavs://...". +An alternative is to use davfs2, a driver that allows mounting a WebDAV +resource into the system tree. This requires root access and kernel +support (probably your kernel includes this). + + $ apt-get install davfs2 + $ mkdir -p /mnt/webdav + $ mount -t davfs http://<servername>/ /mnt/webdav + $ ls /mnt/webdav + $ umount /mnt/webdav + +If you prefer GUIs, for example, konqueror can open WebDAV URLs as +"webdav://..." or "webdavs://...". If you're into Windows, from XP onwards Internet Explorer supports WebDAV. For this, do Internet Explorer -> Open Location ->
Signature · 1 line
1.6.0.6.g8822b
Quoted 3 lines · Giovanni Funchal
I just came across an interesting file system driver that allows to mount WebDAV resources into file system tree: davfs2. I though it would be worth mentioning this on setup-git-server-over-http.txt.
I might agree with "It would be worth mentioning", but I do not think that is what you did.
Quoted 10 lines
Documentation/howto/setup-git-server-over-http.txt +6
-3+ +Step 2 1/2: testing your WebDAV server +-------------------------------------- + -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for -example, konqueror can open WebDAV URLs as "webdav://..." or -"webdavs://...". +An alternative is to use davfs2, a driver that allows mounting a WebDAV +resource into the system tree. This requires root access and kernel
Documentation/howto/setup-git-server-over-http.txt On Debian: · line 191
Quoted 10 lines
Documentation/howto/setup-git-server-over-http.txt +10
-0+support (probably your kernel includes this). + + $ apt-get install davfs2 + $ mkdir -p /mnt/webdav + $ mount -t davfs http://<servername>/ /mnt/webdav + $ ls /mnt/webdav + $ umount /mnt/webdav + +If you prefer GUIs, for example, konqueror can open WebDAV URLs as +"webdav://..." or "webdavs://...".
You are dropping mention of cadaver and the only remaining suggestion for command line testing is via davfs2.
Googling for "davfs2 WebDAV" returns 13,600 hits, while "cadaver WebDAV" hits 39,100. In addition, testing with davfs2 requires you to have root access.
When troubleshooting a nonworking system, it often is easier to do it from a command line tool than from GUI (one of whose main point is to hide away the low-level details). And I thought the title of this semi-section was "Testing"?
Offering alternatives for command line tools is good, but that is not what this patch does.
Quoted 2 lines
Googling for "davfs2 WebDAV" returns 13,600 hits, while "cadaver WebDAV" hits 39,100.
Woops, sorry for that, in fact I greatly misunderstood the statement "A command line tool to test WebDAV is cadaver." I though this meant "The command line tool is dead / It does not exist anymore". I didn't realize "cadaver" was its name!
Quoted 1 line
In addition, testing with davfs2 requires you to have root access.
When davfs2 is properly configured, the file system can be mounted in user space by non-root users. Root access is needed only when installing. Cadaver also needs root access for installation,
-- Giovanni
Quoted 47 lines · Junio C Hamano
Quoted 3 lines · Giovanni Funchal
I just came across an interesting file system driver that allows to mount WebDAV resources into file system tree: davfs2. I though it would be worth mentioning this on setup-git-server-over-http.txt.
I might agree with "It would be worth mentioning", but I do not think that is what you did.
Quoted 10 lines
Documentation/howto/setup-git-server-over-http.txt +6
-3+ +Step 2 1/2: testing your WebDAV server +-------------------------------------- + -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for -example, konqueror can open WebDAV URLs as "webdav://..." or -"webdavs://...". +An alternative is to use davfs2, a driver that allows mounting a WebDAV +resource into the system tree. This requires root access and kernelDocumentation/howto/setup-git-server-over-http.txt On Debian: · line 191
Quoted 10 lines
Documentation/howto/setup-git-server-over-http.txt +10
-0+support (probably your kernel includes this). + + $ apt-get install davfs2 + $ mkdir -p /mnt/webdav + $ mount -t davfs http://<servername>/ /mnt/webdav + $ ls /mnt/webdav + $ umount /mnt/webdav + +If you prefer GUIs, for example, konqueror can open WebDAV URLs as +"webdav://..." or "webdavs://...".You are dropping mention of cadaver and the only remaining suggestion for command line testing is via davfs2.
Googling for "davfs2 WebDAV" returns 13,600 hits, while "cadaver WebDAV" hits 39,100. In addition, testing with davfs2 requires you to have root access.
When troubleshooting a nonworking system, it often is easier to do it from a command line tool than from GUI (one of whose main point is to hide away the low-level details). And I thought the title of this semi-section was "Testing"?
Offering alternatives for command line tools is good, but that is not what this patch does.
Quoted 5 lines · Giovanni Funchal
Quoted 1 line
In addition, testing with davfs2 requires you to have root access.
When davfs2 is properly configured, the file system can be mounted in user space by non-root users. Root access is needed only when installing.
Ok, then I misread your description. This part should be clarified:
Quoted 2 lines
Quoted 2 lines
Documentation/howto/setup-git-server-over-http.txt On Debian: · line 181
Quoted 2 lines
Documentation/howto/setup-git-server-over-http.txt +2
-0+An alternative is to use davfs2, a driver that allows mounting a WebDAV +resource into the system tree. This requires root access and kernel
s/This/Installing this module/;
Quoted 3 lines
Quoted 3 lines
Documentation/howto/setup-git-server-over-http.txt On Debian: · line 184
Quoted 3 lines
Documentation/howto/setup-git-server-over-http.txt +3
-0+support (probably your kernel includes this). + + $ apt-get install davfs2
s/\$ /# /;
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ $ mkdir -p
/mnt/webdav
ditto.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Documentation/howto/setup-git-server-over-http.txt +3
-0+ $ mount -t davfs http://<servername>/ /mnt/webdav + $ ls /mnt/webdav + $ umount /mnt/webdav