ioslaves with *any* linux apps -> it works :-))

Alexander Neundorf neundorf at kde.org
Thu Jan 8 21:51:18 GMT 2004


Hi,

in kdenonbeta/fuse_kio/ you can find a fuse-kio-bridge/daemon/however you 
wanna call it.
FUSE: Filesystem in USErspace: http://sourceforge.net/projects/avf
-> implement file systems in user space (instead of kernel space)
The code in kdenobeta makes it possible to mount ioslaves or a general 
ioslave-gateway via fuse and make them this way available to all linux 
apps :-)

For the impatient: SCREENSHOTS at the end of the mail.

What you have to do:

get the code for fuse:

http://sourceforge.net/project/showfiles.php?group_id=21636

download the sources for fuse 1.0 , I didn't test 1.1 yet.

Unpack, compile, make install. 
modprobe fuse

Get and compile the sources from kde cvs and compile and install fuse_kio

1. Option:

mount an remote host, e.g. via fish:

fuse_kio /your/mountpoint fish://user@host/

and then browse there with any app you want, open files, write files, 
basically everything should work (of course there are probably bugs)

2. Option:

mount a general ioslave - fuse "gateway"

fuse_kio --gateway /your/gatewaymountpoint

find a remote file, e.g. fish://you@wherever/home/you/sometext.html

replace the "://" with ":__" (two underscores) and prepend /your/
gatewaymountpoint, gives:

/your/gatewaymountpoint/fish:__you at wherever/home/you/sometext.html

and open this file e.g. with OOo writer:

swriter /your/gatewaymountpoint/fish:__you at wherever/home/you/sometext.html

and see what happens :-))

Here are two SCREENSHOTS, see how konqy displays the remote directory using 
the fish ioslave, and note the full path of the html file in OOo swriter, in 
the combo box :-)

http://www.neundorf.net/pics/swriter_with_fuse-kio-gateway.png

The address translation can be done via a script, and then we can open remote 
file also with non-KDE apps :-)

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net





More information about the kde-core-devel mailing list