Projects/KioFuse: Difference between revisions

    From KDE TechBase
    No edit summary
    No edit summary
    Line 1: Line 1:
    {{Template:I18n/Language Navigation Bar|KioFuse}}
    {{Template:I18n/Language Navigation Bar|KioFuse}}


    KioFuse allows you to mount remote directories into the root hierarchy of your local file system, thereby exposing KDE's advanced access capabilities (SSH, SAMBA/Windows, FTP, TAR/GZip/BZip2) to POSIX-compliant applications such as Firefox, OpenOffice, GNOME apps, shell utilities and more. Another important advantage of KioFuse is that it allows you to arrange the hierarchy of '''all''' your remote, archived and compressed files in whichever way makes sense to you.
    KioFuse allows you to mount remote directories into the root hierarchy of your local file system, thereby exposing [http://docs.kde.org/stable/en/kdebase/kioslave/index.html KDE's advanced access capabilities] (SSH, SAMBA/Windows, FTP, TAR/GZip/BZip2, WebDav, etc) to POSIX-compliant applications such as Firefox, OpenOffice, GNOME apps, shell utilities and more. Another important advantage of KioFuse is that it allows you to arrange the hierarchy of '''all''' your remote, archived and compressed files in whichever way makes sense to you.


    KioFuse works by acting as a bridge between KDE's [http://api.kde.org/4.0-api/kdelibs-apidocs/kio/html/namespaceKIO.html KIO filesystem design] and [http://fuse.sourceforge.net FUSE].
    KioFuse works by acting as a bridge between KDE's [http://api.kde.org/4.0-api/kdelibs-apidocs/kio/html/namespaceKIO.html KIO filesystem design] and [http://fuse.sourceforge.net FUSE].
    Line 7: Line 7:
    === Installation ===
    === Installation ===


    * Install kdelibs (version 4.0 or higher) provided by your Operating System or compile it according to these [http://techbase.kde.org/Getting_Started/Build/KDE4 intructions].
    * Install kdelibs (version 4.0 or higher) provided by your Operating System or compile it according to these [http://techbase.kde.org/index.php?title=Getting_Started/Build/KDE4 KDE4 intructions].
    * Type the following commands into a terminal:
    * Type the following commands into a terminal:
    <code>
    <code>
    Line 23: Line 23:
    * Unmount with:
    * Unmount with:
    <tt>fusermount -u <mountpoint></tt>
    <tt>fusermount -u <mountpoint></tt>
    Real-world example:
    <code>
    # Create the mount point
    mkdir ~/linux-sources
    # Download the linux kernel
    wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
    # Mount the archive in ~/linux-sources
    kiofuse --mountpoint ~/linux-sources --URL linux-2.6.23.tar.bz2
    # Browse the source code without ever needing to unpack it!
    dolphin ~/linux-sources
    </code>


    === Features ===
    === Features ===

    Revision as of 20:16, 30 December 2007


    KioFuse


    KioFuse allows you to mount remote directories into the root hierarchy of your local file system, thereby exposing KDE's advanced access capabilities (SSH, SAMBA/Windows, FTP, TAR/GZip/BZip2, WebDav, etc) to POSIX-compliant applications such as Firefox, OpenOffice, GNOME apps, shell utilities and more. Another important advantage of KioFuse is that it allows you to arrange the hierarchy of all your remote, archived and compressed files in whichever way makes sense to you.

    KioFuse works by acting as a bridge between KDE's KIO filesystem design and FUSE.

    Installation

    • Install kdelibs (version 4.0 or higher) provided by your Operating System or compile it according to these KDE4 intructions.
    • Type the following commands into a terminal:

    svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/libs/kiofuse cd kiofuse cmake . make

    Running KioFuse

    • Mount with:

    kiofuse --mountpoint <mountpoint> --URL <URL>

    • Unmount with:

    fusermount -u <mountpoint>

    Real-world example:

    1. Create the mount point

    mkdir ~/linux-sources

    1. Download the linux kernel

    wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2

    1. Mount the archive in ~/linux-sources

    kiofuse --mountpoint ~/linux-sources --URL linux-2.6.23.tar.bz2

    1. Browse the source code without ever needing to unpack it!

    dolphin ~/linux-sources

    Features

    Name Description Filename
    GetAttr Permissions, Owner, Group Done
    ReadLink Determine destination of link Done
    MkNod Create file Work In Progress
    MkDir Create a directory Not Started
    UnLink Remove a symlink Not Started
    RmDir Remove a directory Not Started
    SymLink Create a symlink Not Started
    Rename Rename a file or directory Not Started
    Link Create a hard link Not Started
    Chmod Change permissions of a file or directory Not Started
    Chown Change owner of a file or directory Not Started
    Truncate Change the size of a file Not Started
    Open Open a file for reading, writing, and/or truncating Done
    Read Read the contents of a file Done
    Write Write data to a file Work In Progress
    Truncate Change the size of a file Not Started
    StatFS Get Filesystem Statistics Not Started
    Flush Flush cached data Not Started
    FSync Synchronize file contents Not Started
    SetXAttr Set external attributes Not Started
    GetXAttr Get external attributes Not Started
    ListXAttr List external attributes Not Started
    RemoveXAttr Remove external attributes Not Started
    OpenDir Open a directory Not Started
    ReadDir List files and subdirectories Done
    ReleaseDir Release directory Not Started
    FSyncDir Synchronize directory contents Not Started
    Init Initialize filesystem Not Started
    Destroy Clean up filesystem Not Started
    Access Check file access permissions Work In Progress
    Create Create and open a file Not Started
    FTruncate Change the size of an open file Not Started
    FGetAttr Get attributes of an open file Not Started
    Lock Lock a resource Not Started
    UTimeNS Change the access and mod times in nanoseconds Not Started