> hello everyone!
> i have a notebook and a desktop-pc, both running opensuse.
> i want to be able to seamlessly connect and disconnect each computers
> from the aspect of storage: just to plug in the network cable into the
> notebook and few seconds later (automatically) to have desktop-pc
> storage mounted (and unmounted after disconnection).
> it that possible (and implementable in a easy way?) what protocol can be
> used? SSHFS? NFS? what else is there? (i know, there is also SMBFS. but
> it would be great to reflect all permissions correctly and AFAIK SMBFS
> is not able to do this for *nix, right?)
> thanks in advance!
I'm using sshfs to connect two Ubuntu boxes. It took only a few minutes to
set up and is extremely convenient to use.
I installed sshfs, added the fuse module to /etc/modules, added myself to
the fuse group, logged out and back in to activate the group membership,
very convenient to use and I don't have to be root to mount my remote
share. I can unmount just as easily, fusermount -u ~/mountdir.
You can list the sshfs partition in /etc/fstab, enabling you to mount the
fileshare with mount -a or even automount if you like.
This trick is hack #84 in O'Reilly's "Ubuntu Hacks." It's an excellent
linux book, as are "Linux Server Hacks", vols 1 & 2. I haven't used
opensuse but the basic method will be similar.