clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: May 03 2006,02:50 |
|
hswerdfe, fuse + sshfs is pretty cool. Did you get it to compile? If not that's your first hurdle. You'll need the kernel sources, the gcc compiler, and you'll need to run apt-get to get the libglib2.0-dev package. I made an sshfs.dsl package that I can submit to the repository if that's too much work.
In the dsl I made an "Initialize sshfs" menu item that runs
sudo insmod /lib/modules/2.4.26/kernel/fs/fuse/fuse.o sudo ldconfig
Then you create a directory as your mount point
mkdir trump
finally you mount the ssh location
sshfs dsl@127.0.0.1: trump
give your password and you're good to go. Now doing an ls -l trump shows the directory of the remote host. You can copy files to and from there just like it's a real directory. To unmount, use sudo umount trump
You could add the sshfs.dsl to the root of your CD, then it would be loaded automatically. Add the sudo insmod and sudo ldconfig lines to your /opt/bootlocal.sh, and whatever other startup things you need. You may also need to add a sudo/etc/init.d/mkwriteable.sh line to make the system writeable, I don't know.
|