glug-nith-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Glug-nith-discuss] FUSE and SSHFS


From: Arjun Shankar
Subject: Re: [Glug-nith-discuss] FUSE and SSHFS
Date: Sun, 25 Mar 2007 22:23:26 +0530
User-agent: Mutt/1.5.14 (2007-02-12)

I'm posting on this thread to maintain continuity, though there isn't much
relation.

I have been playing around with FUSE example programs (they are there in the
/examples directory of the FUSE tarball (http://fuse.sourceforge.net), and
have modified one (examples/fusexmp.c) to mirror a specified dir instead of
the root dir. But it has some bugs, e.g renaming files doesnt work.

Anyone interested in setting these right? I would sure love some help!

Here is the link to the modified code:

http://glug-nith.org/~spectre/downloads/fusexmp-mod.c

The way to try this program out is:

1. Install FUSE (get the tarball and install, or get it from your distro's
repo)

2. As root, do: "modprobe fuse"

3. Do: "gcc -Wall `pkg-config fuse --cflags --libs` fusexmp-mod.c -o 
fusexmp-mod"

4. Do: "./fusexmp-mod /path/to/mount-point /FULL/PATH/to/dir/to/mirror"

5. Do: "cd /path/to/mount-point"

It is necessary that the mirrored dir's full path be given, and that it be
given as the last parameter to fusexmp-mod.

If you need help understanding anything, and are seriously interested, you
can always ask me! (though, I dont know much about this myself)

Arjun Shankar

-- 
GPG Key ID: 3BB7C34B
Keyserver : subkeys.pgp.net

Attachment: pgpmwqDcE7Niq.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]