(Finished mknod, write. Start chmod, chown) |
|||
Line 43: | Line 43: | ||
* KIO needs to be modified so that it is aware of KioFuse mounts and so that it uses its native functions (as opposed to POSIX) to access those resources. | * KIO needs to be modified so that it is aware of KioFuse mounts and so that it uses its native functions (as opposed to POSIX) to access those resources. | ||
=== POSIX Capabilities === | === POSIX Capabilities === | ||
− | See the FUSE API for | + | See the FUSE API for the list of all [http://fuse.sourceforge.net/doxygen/structfuse__operations.html file I/O commands]. |
{| border="1" | {| border="1" | ||
! Name !! Description !! Filename | ! Name !! Description !! Filename | ||
Line 51: | Line 51: | ||
| ReadLink || Determine destination of link || style="background-color: lightgreen;" | Done | | ReadLink || Determine destination of link || style="background-color: lightgreen;" | Done | ||
|- | |- | ||
− | | MkNod || Create file || style="background-color: | + | | MkNod || Create file || style="background-color: lightgreen;" | Done |
|- | |- | ||
| MkDir || Create a directory || style="background-color:#ff4242;" | Not Started | | MkDir || Create a directory || style="background-color:#ff4242;" | Not Started | ||
Line 65: | Line 65: | ||
| Link || Create a hard link || style="background-color:#ff4242;" | Not Started | | Link || Create a hard link || style="background-color:#ff4242;" | Not Started | ||
|- | |- | ||
− | | Chmod || Change permissions of a file or directory || style="background-color:# | + | | Chmod || Change permissions of a file or directory || style="background-color:#ffc642;" | Work In Progress |
|- | |- | ||
− | | Chown || Change owner of a file or directory || style="background-color:# | + | | Chown || Change owner of a file or directory || style="background-color:#ffc642;" | Work In Progress |
|- | |- | ||
| Truncate || Change the size of a file || style="background-color:#ff4242;" | Not Started | | Truncate || Change the size of a file || style="background-color:#ff4242;" | Not Started | ||
Line 75: | Line 75: | ||
| Read || Read the contents of a file || style="background-color: lightgreen;" | Done | | Read || Read the contents of a file || style="background-color: lightgreen;" | Done | ||
|- | |- | ||
− | | Write || Write data to a file || style="background-color: | + | | Write || Write data to a file || style="background-color: lightgreen;" | Done |
|- | |- | ||
| Truncate || Change the size of a file || style="background-color:#ff4242;" | Not Started | | Truncate || Change the size of a file || style="background-color:#ff4242;" | Not Started |
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
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.
svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/libs/kiofuse
cd kiofuse
cmake .
make
kiofuse --mountpoint <mountpoint> --URL <URL>
fusermount -u <mountpoint>
Real-world example:
mkdir ~/fuse-source
wget http://superb-east.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.2.tar.gz -P ~
./kiofuse --mountpoint ~/fuse-source --URL tar:~/fuse-2.7.2.tar.gz &
dolphin ~/fuse-source & nautilus ~/fuse-source & thunar ~/fuse-source &
See the FUSE API for the list of all file I/O commands.
Name | Description | Filename |
---|---|---|
GetAttr | Permissions, Owner, Group | Done |
ReadLink | Determine destination of link | Done |
MkNod | Create file | Done |
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 | Work In Progress |
Chown | Change owner of a file or directory | Work In Progress |
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 | Done |
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 |
The source code to KioFuse can be browsed at: http://websvn.kde.org/trunk/playground/libs/kiofuse/