Fuse 

  1. FUSE¶õ?
  2. ¼³Ä¡
  3. /dev/fuse
  4. Permission denied
  5. ¸¶¿îÆ®Çغ¸±â
  6. unmount

FUSE¶õ?  

Pyrasis ´ÔÀǠȨÆäÀÌÁö ¼Ò°³µÇ¾îÀִµ¥ Filesystem in Userspace ÀÇ ¾àÀÚ·Î ÇÁ·ÎÁ§Æ® ȨÆäÀÌÁö°¡ http://fuse.sourceforge.net/ ÀÔ´Ï´Ù.
ÀÌ°É·Î ÆÄÀϽýºÅÛÀ» À¯Àú ¸ðµå¿¡¼­ ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù.

¿¹¸¦ µé¾î sshfs¶ó°í Çؼ­ ssh·Î Á¢¼ÓÇÑ ¼­¹öÀÇ ÆÄÀϽýºÅÛÀ» ¸¶¿îÆ®Çؼ­ ¾µ ¼ö ÀÖ½À´Ï´Ù.

µ¥ºñ¾È¿¡ Àֱ淡 ¼³Ä¡ÇغýÀ´Ï´Ù.

¼³Ä¡  

 $ sudo apt-get install sshfs
2~3°³ÀÇ ÆÐÅ°Áö°¡ ¼³Ä¡µË´Ï´Ù.

/dev/fuse  

http://fuse.sourceforge.net/wiki/index.php/SshfsFaq ¿¡ ³ª¿À´Âµ¥ udev¸¦ ¾È¾²¸é device node¸¦ ¸¸µé¾î¾ß ÇÑ´ä´Ï´Ù. Á¦°¡ udev¸¦ ¾²´ÂÁø ¸ð¸£°ÚÁö¸¸ ¿¡·¯°¡ ³ª¹Ç·Î
$ sudo mknod -m 666 /dev/fuse c 10 229

Permission denied  

¸¶¿îÆ®ÇÒ ¶§ ÆÛ¹Ì¼Ç ¿¡·¯ ³ª¸é ´ÙÀ½ ¸µÅ©°¡ µµ¿ò µÉ °Ì´Ï´Ù. http://ubuntuforums.org/showthread.php?p=414400
$ sudo chmod +x /usr/bin/fusermount
$ sudo chmod o+rw /dev/fuse ¶Ç´Â »ç¿ëÀÚ¸¦ fuse ±×·ì¿¡ µî·Ï.

¸¶¿îÆ®Çغ¸±â  

$ sshfs hostname: mountpoint
ÀÌ·¸°Ô ¸¶¿îÆ® ÇÕ´Ï´Ù.
ÀÏ¹Ý À¯Àú ±ÇÇÑÀ¸·Î °¡´ÉÇÕ´Ï´Ù.
daniel@debian:~$ sshfs root@mpcore: remote
root@mpcore's password:
daniel@debian:~$ ls remote/ 
CodeSourcery  MiBench    anaconda-ks.cfg     masq.sh     work
Desktop       Music      ffmpeg              rc          workspace
Documents     Pictures   install.log         rootfs
Download      Public     install.log.syslog  test_omp.c
KISOS.zip     Templates  iptables_save       tt

unmount  

$ fusermount -u remote