Annotation of wikisrc/tutorials/how_to_use_fuse_in_netbsd.mdwn, revision 1.2

1.2     ! schmonz     1: **Contents**
        !             2: 
        !             3: [[!toc]]
        !             4: 
        !             5: #  Using the FUSE in NetBSD -current 
        !             6: 
        !             7: #  Requirements 
        !             8: 
        !             9: You will need a current kernel and userland, and up to date pkgsrc-current (pkgsrc/filesystems) 
        !            10: 
        !            11: #  Introduction 
        !            12: 
        !            13: The sources we refer to in this HowTo can exist anywhere on your system (normally in /usr)   
        !            14: That's why we use src/foo/bar (i.e src/lib/libpuffs) instead of full path. 
        !            15: 
        !            16: #  Setup 
        !            17: 
        !            18: Make sure that your Kernel configuration file contains the following option under filesystem 
        !            19:     
        !            20:       file-system PUFFS  
        !            21:     
        !            22: 
        !            23: And this under pseudo-devices 
        !            24:     
        !            25:       pseudo-device putter
        !            26:     
        !            27: 
        !            28: Add this to your /etc/mk.conf 
        !            29:     
        !            30:       MKPUFFS=yes 
        !            31:     
        !            32: 
        !            33: Build your kernel and update your userland. 
        !            34: 
        !            35: Make sure you run "make includes" in your source tree in src/sys if you at some point update your NetBSD sources so that you have proper header files.   
        !            36: Most importantly the src/lib/libpuffs headers. 
        !            37:     
        !            38:       # cd src/sys
        !            39:       # make USETOOLS=no includes 
        !            40:       # cd src/lib/libpuffs 
        !            41:       # make USETOOLS=no includes
        !            42:     
        !            43: 
        !            44: Check if libpuffs is properly installed 
        !            45:     
        !            46:       # cd src/lib/libpuffs 
        !            47:       # make USETOOLS=no cleandir dependall
        !            48:       # make USETOOLS=no install   
        !            49:     
        !            50: 
        !            51: Check if librefuse is properly installed. 
        !            52:     
        !            53:       # cd src/lib/librefuse 
        !            54:       # make USETOOLS=no cleandir dependall
        !            55:       # make USETOOLS=no install
        !            56:     
        !            57: 
        !            58: Check if fusermount is up to date and installed 
        !            59:     
        !            60:       # cd src/usr.sbin/fusermount
        !            61:       # make USETOOLS=no cleandir dependall
        !            62:       # make USETOOLS=no cleandir install
        !            63:     
        !            64: 
        !            65: Check if puffs is up to date and installed 
        !            66:     
        !            67:       # cd src/usr.sbin/puffs
        !            68:       # make USETOOLS=no cleandir dependall
        !            69:       # make USETOOLS=no install
        !            70:     
        !            71:       This will compile and install mount_9p, mount_portal, mount_psshfs and mount_sysctlfs
        !            72:     
        !            73: 
        !            74: #  Install and Usage 
        !            75: 
        !            76: Mount_psshfs 
        !            77: 
        !            78: Mounting a remote filesystem over ssh 
        !            79:     
        !            80:        # mount_psshfs user@host:/path/to/directory /mountpoint 
        !            81:        # umount /mountpoint 
        !            82:         
        !            83:     
        !            84: 
        !            85: Stuff from /usr/pkgsrc/filesystems. 
        !            86: 
        !            87: Fuse-ntfs-3g 
        !            88: 
        !            89: Mounting a ntfs filesystem 
        !            90:     
        !            91:        # ntfs-3g /dev/device /mountpoint 
        !            92:        # umount /mountpoint
        !            93:     
        !            94: 
        !            95: Fuse-obexftp 
        !            96: 
        !            97: Mounting an obexfs filesystem (Make sure your bluetooth connection is established with your device) 
        !            98:     
        !            99:        # obexfs -b 00:11:22:33:44:55 -B 10 /mnt/mountpoint 
        !           100:     
        !           101: 
        !           102: (Where the 00:11:22:33:44:55 is the address of your Bluetooth device ) 
        !           103: 
        !           104: Fuse-encfs 
        !           105: 
        !           106: Fuse-cryptofs 
        !           107: 
        !           108: Fuse-cddfs 
        !           109: 
        !           110: Fuse-curlftps 
        !           111: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb