bispawel / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

no way to unmount filesystems - fusermount not installed #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Install as instructed
2. Mount an ssh filesystem
3. Attempt to run `fusermount -u mountpoint` to unmount

I attempted to pass '--with-util' to the fuse ./configure options and
re-install - no luck there. Running make in the fuse-2.6.1/util produces
the following output:

gcc -DHAVE_CONFIG_H -I. -I. -I../include  -D_FILE_OFFSET_BITS=64   
-D__FreeBSD__=10 -O -g -arch i386 -arch ppc -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -c fusermount.c
fusermount.c:30:20: error: mntent.h: No such file or directory
fusermount.c:30:20: error: mntent.h: No such file or directory
fusermount.c:36:23: error: sys/fsuid.h: No such file or directory
fusermount.c:40:27: error: sys/sysmacros.h: No such file or directory
fusermount.c:36:23: error: sys/fsuid.h: No such file or directory
fusermount.c:40:27: error: sys/sysmacros.h: No such file or directory
fusermount.c: In function ‘lock_mtab’:
fusermount.c:108: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:108: error: (Each undeclared identifier is reported only once
fusermount.c:108: error: for each function it appears in.)
fusermount.c:108: error: parse error before string constant
fusermount.c: In function ‘add_mount’:
fusermount.c:159: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:160: error: storage size of ‘ent’ isn’t known
fusermount.c:167: warning: assignment makes pointer from integer without a cast
fusermount.c: In function ‘unmount_fuse’:
fusermount.c:232: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:233: error: parse error before string constant
fusermount.c:238: warning: assignment makes pointer from integer without a cast
fusermount.c:246: warning: assignment makes pointer from integer without a cast
fusermount.c:264: warning: assignment makes pointer from integer without a cast
fusermount.c:266: error: dereferencing pointer to incomplete type
fusermount.c:267: error: dereferencing pointer to incomplete type
fusermount.c:268: error: dereferencing pointer to incomplete type
fusermount.c:272: error: dereferencing pointer to incomplete type
fusermount.c:273: error: dereferencing pointer to incomplete type
fusermount.c:277: error: dereferencing p
fusermount.c: In function ‘lock_mtab’:
fusermount.c:108: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:108: error: (Each undeclared identifier is reported only once
fusermount.c:108: error: for each function it appears in.)
fusermount.c:108: error: parse error before string constant
fusermount.c: In function ‘count_fuse_fs’:
fusermount.c:333: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:334: warning: initialization makes pointer from integer
without a cast
fusermount.c:340: warning: assignment makes pointer from integer without a cast
fusermount.c:341: error: dereferencing pointer to incomplete type
fusermount.c: In function ‘add_mount’:
fusermount.c:159: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:160: error: storage size of ‘ent’ isn’t known
fusermount.c:167: warning: assignment makes pointer from integer without a cast
fusermount.c: In function �
�unmount_fuse’:^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@fuser
mount.c:450:
error: ‘MS_RDONLY’ undeclared here (not in a function)^@fusermount.c:232:
error: ‘_PATH_MOUNTED’ undeclared (first use in this function)^@
fusermount.c:233: error: parse error before string constant
fusermount.c:452: error: ‘MS_NOSUID’ undeclared here (not in a function)
fusermount.c:454: error: ‘MS_NODEV’ undeclared here (not in a function)
fusermount.c:238: warning: assignment makes pointer from integer without a cast
fusermount.c:456: error: ‘MS_NOEXEC’ undeclared here (not in a function)
fusermount.c:246: warning: assignment makes pointer from integer without a
castn)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@fusermount.c:460: error: ‘MS_NOATIME’ undeclared here (not in a function)
fusermount.c:264: warning: assignment makes pointer from integer without a cast
fusermount.c:266: error: dereferencing pointer to incomplete type
fusermount.c:267: error: dereferencing pointer to incomplete type
fusermount.c:268: error: dereferencing pointer to incomplete type
fusermount.c:272: error: dereferencing pointer to incomplete typeointer to
incomplete type
fusermount.c:278: error: dereferencing pointer to incomplete type
fusermount.c:273: error: dereferencing pointer to incomplete type
fusermount.c:277: error: dereferencing pointer to incomplete type
fusermount.c:278: error: dereferencing pointer to incomplete type
fusermount.c: In function ‘get_mnt_opts’:
fusermount.c:511: error: invalid operands to binary &
fusermount.c: In function ‘count_fuse_fs’:
fusermount.c:333: error: ‘_PATH_MOUNTED’ undeclared (first use in this
function)
fusermount.c:334: warning: initialization makes pointer from integer
without a cast
fusermount.c:340: warning: assignment makes pointer from integer without a cast
fusermount.c:341: error: dereferencing pointer to incomplete type
fusermount.c: In function ‘do_mount’:
fusermount.c:600: error: invalid operands to binary |
fusermount.c: At top level:
fusermount.c:450: error: ‘MS_RDONLY’ undeclared here (not in a function)
fusermount.c:699: warning: passing argument 3 of ‘mount’ makes integer from
pointer without a cast
fusermount.c:452: error: ‘MS_NOSUID’ undeclared here (not in a
function)fusermount.c:699: warning: passing argument 4 of ‘mount’ makes
pointer from integer without a cast^@
fusermount.c:699: error: too many arguments to function ‘mount’
fusermount.c:454: error: ‘MS_NODEV’ undeclared here (not in a function)
fusermount.c:703: warning: passing argument 3 of ‘mount’ makes integer from
pointer without a cast
fusermount.c:703: warning: passing argument 4 of ‘mount’ makes pointer from
integer without a cast
fusermount.c:456: error: ‘MS_NOEXEC’ undeclared here (not in a 
unction)^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@fusermount.c:458: error: ‘MS_SYNCHRONOUS’ undeclared here (not in a 
function)
fusermount.c:460: error: ‘MS_NOATIME’ undeclared here (not in a function)
fusermount.c: In function ‘get_mnt_opts’:
fusermount.c:511: error: invalid operands to binary &
fusermount.c: In function ‘do_mount’:
fusermount.c:600: error: invalid operands to binary |
fusermount.c:699: warning: passing argument 3 of ‘mount’ makes integer from
pointer without a cast
fusermount.c:699: error: too many arguments to function ‘mount’
fusermount.c:703: warning: passing argument 3 of ‘mount’ makes integer from
pointer without a cast
fusermount.c:703: warning: passing argument 4 of ‘mount’ makes pointer from
integer without a cast
fusermount.c:703: error: too many arguments to function ‘mount’
lipo: can't figure out the architecture type of: /var/tmp//ccDXv1Rx.out
make: *** [fusermount.o] Error 1

Original issue reported on code.google.com by jnewl...@gmail.com on 11 Jan 2007 at 9:50

GoogleCodeExporter commented 8 years ago
You should just be able to use the regular system "umount" command.

Original comment by clins...@gmail.com on 11 Jan 2007 at 10:06

GoogleCodeExporter commented 8 years ago
that worked great, sorry for the fuss

Original comment by jnewl...@gmail.com on 11 Jan 2007 at 10:10

GoogleCodeExporter commented 8 years ago

Original comment by si...@gmail.com on 12 Jan 2007 at 12:06