Filesystems mounten via SSH

Met shfs kun je remote filesystems mounten als ware zij beschikbare op je eigen computertje. Dus da’s mooi. Om het te kunnen gebruiken moet er een kernel module gebouwd worden:

Eerst:
apt-get install shfs-source shfs-utils module-assistant

Dan:
module-assistant build shfs

Module-assistant waarschuwt als er nog dingen missen zoals kernel headers ofzo.

Daarna:
module-assistant install shfs-source

En dan kun je mounten:

shfs user@host:/direcotory /mnt/remote

Eventueel nog chmod +s /usr/bin/shfsmount en chmod +s /usr/bin/shfsumount om ook als gewone gebruiker shfs te kunnen gebruiken.

Leave a Reply