README: add mount.davfs example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
da559ee7ca
commit
178b63b13b
1 changed files with 36 additions and 1 deletions
37
README.md
37
README.md
|
@ -44,9 +44,44 @@ Serving HTTPS:// :9999
|
|||
|
||||
# Accompanying Clients
|
||||
|
||||
There are a number of webdav clients.
|
||||
There are a number of [webdav clients](http://www.webdav.org/projects/).
|
||||
|
||||
## ChromeOS
|
||||
|
||||
For my specific use case, I am working with ChromeOS and there is a [WebDAV Storage Provider](https://chrome.google.com/webstore/detail/webdav-file-system/hmckflbfniicjijmdoffagjkpnjgbieh?hl=en).
|
||||
|
||||
## Linux
|
||||
|
||||
For Linux hosts, there is a package commonly `davfs2`, that provides a `mount.davfs` command.
|
||||
See `mount.davfs(8)` man page for more information.
|
||||
|
||||
Basic example:
|
||||
```bash
|
||||
[vbatts@valse] {master} ~$ sudo mount.davfs https://bananaboat.usersys:9999/ ./x
|
||||
Please enter the username to authenticate with server
|
||||
https://bananaboat.usersys:9999/ or hit enter for none.
|
||||
Username: vbatts
|
||||
Please enter the password to authenticate user vbatts with server
|
||||
https://bananaboat.usersys:9999/ or hit enter for none.
|
||||
Password:
|
||||
mount.davfs: the server certificate is not trusted
|
||||
issuer: Acme Co
|
||||
subject: Acme Co
|
||||
identity: localhost
|
||||
fingerprint: ce:19:a6:e7:0a:85:c2:01:fb:71:a6:bf:dd:56:3a:47:30:a8:7a:37
|
||||
You only should accept this certificate, if you can
|
||||
verify the fingerprint! The server might be faked
|
||||
or there might be a man-in-the-middle-attack.
|
||||
Accept certificate for this session? [y,N] y
|
||||
[vbatts@valse] {master} ~$ ls x/file
|
||||
x/file
|
||||
[vbatts@valse] {master} ~$ cat !$
|
||||
cat x/file
|
||||
[vbatts@valse] {master} ~$ echo Howdy > !$
|
||||
echo Howdy > x/file
|
||||
[vbatts@valse] {master} ~$ cat x/file
|
||||
Howdy
|
||||
[vbatts@valse] {master} ~$ sudo umount ./x
|
||||
/sbin/umount.davfs: waiting while mount.davfs (pid 8931) synchronizes the cache .. OK
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue