bispawel / macfuse

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

(SSHFS-only?) Ejecting in Finder does nothing #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have only tested this with SSHFS; it may or may not apply to all of MacFUSE.

When you have mounted a volume and it appears in the Finder, the Finder lets 
you eject it through 
cmd-E, File -> Eject, or the little button in the sidebar. This, however, 
appears to not actually cause 
MacFUSE to unmount the volume.

What steps will reproduce the problem?
1. Mount a volume with SSHFS, e.g. 'mkdir foo; sshfs somehost: foo -o 
ping_diskarb'.
2. When the volume appears in Finder, select it and eject, e.g. by typing cmd-E

What is the expected output? What do you see instead?
The expected result is for the volume to unmount, and to disappear in the 
Finder. However, nothing 
actually happens. The volume remains mounted and browseable. You can easily 
unmount the volume 
in Terminal (in the above example, with 'umount foo'), but it should be 
possible for the user to eject it 
through the expected path (in Finder).

What version of the product are you using? On what operating system?
fuse-0.1.0b004.tar.bz2 binary tarball, Mac OS X 10.4.8 (8L2127), MacBookPro1,1.

Original issue reported on code.google.com by chucker...@gmail.com on 12 Jan 2007 at 2:23

GoogleCodeExporter commented 8 years ago
This is tough; something is using the filesystem, and that's why you can't 
eject it.
Are you sure that you have no terminal windows cd-ed into the filesystem? No 
files
open in apps? Spotlight not indexing it :(?

Original comment by motown...@gmail.com on 12 Jan 2007 at 3:01

GoogleCodeExporter commented 8 years ago
Shouldn't it show up in 'lsof -n | grep $(mountpoint)', then? Also, doesn't 
Finder throw an error when 
unmounting fails because something's open?

For example, if I mount a disk image, launch an app inside, then try to eject 
the image, I get this dialog in the 
Finder:
"The Disk '...' is in use and could not be ejected.
Try quitting applications and try again."

I don't get that with this SSHFS, and lsof lists, as far as I can see, nothing.

Original comment by chucker...@gmail.com on 12 Jan 2007 at 3:12

GoogleCodeExporter commented 8 years ago
Actually, fs_usage shows mds every now and then, in /.vol paths. Perhaps that 
/is/ the reason, after all. :(

Original comment by chucker...@gmail.com on 12 Jan 2007 at 3:13

GoogleCodeExporter commented 8 years ago
What happens when you unmount the disk with umount /Volumes/disk?

I also notice that clicking the eject button in the Finder does nothing toward 
unmounting the disk -- but umount 
works fine.

Original comment by devin.l...@gmail.com on 12 Jan 2007 at 6:46

GoogleCodeExporter commented 8 years ago
Those having Finder issues, please try fuse-0.1.0b005 and make sure you use the 
'-oping_diskarb' option while 
mounting a MacFUSE volume from the command line.

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

GoogleCodeExporter commented 8 years ago
I cannot reproduce this in fuse-0.1.0b006. Thanks!

Original comment by chucker...@gmail.com on 12 Jan 2007 at 5:23

GoogleCodeExporter commented 8 years ago
Great to hear things are working for you.

Original comment by motown...@gmail.com on 12 Jan 2007 at 10:43