Yandex.Disk as a file system

    Recently, Yandex announced its new service, similar to DropBox. Many immediately began to pour it from a bucket, although, I think, in vain.

    One of the advantages for me personally, Linuxoid - you do not need to install additional applications, as is the case with DropBox. The service can be connected through the Nautilus file manager using WebDAV. Which I, in fact, immediately did.

    However, I did not limit myself to this, because gua access is not entirely good, no one canceled the consoles.

    Connect Yandex.Disk as a file system , for example, in Ubuntu.

    Install the davfs2 package :

    # apt-get install davfs2

    Create a mount point:

    # mkdir /mnt/yandex.disk

    We mount our disk by entering the login and password from our mail on ( use https, Luke !):

    # mount -t davfs /mnt/yandex.disk/

    Make sure that everything is in order:
    # df -h /mnt/yandex.disk/
    Filesystem            Size  Used Avail Use% Mounted on
                           10G  7.7M   10G   1% /mnt/yandex.disk

    10 gigabytes is always good for any backups or quick file sharing, especially if it is a server.

    A simple script for automatic mounting (thanks to uscr via ):
    spawn mount.davfs /clouds/yandex.disk/
    expect "Username:"
    send "\r"
    expect "Password:"
    send "PASS\r"
    expect eof

    Also popular now: