Jump to content

macfuse, finaly somebody done it!


OoOoOoO
 Share

67 posts in this topic

Recommended Posts

make sure it will mount first w/o the the modified Disks file. If it won't mount in the first place, this won't fix it.

 

Otherwise it should work, i've used it to mount stuff automatically before this, and it works fine for me with this. What did you put in? You also need to change the disk reference from disk3s1 to whatever you're using...

Link to comment
Share on other sites

mickles's method is working. However, I think another method is to disable osx to automount NTFS volume as readonly before mount it using fuse.

 

In Terminal,

 

cd /etc

sudo nano fstab

 

add,

 

LABEL=NTFSxxx /private/mnt/NTFSxxx ntfs ro,noauto (replace NTFSxxx with real volume name)

^x

 

then,

 

cd /System/Library/StartupItems/Disks/

sudo nano Disks

 

add after "/sbin/autodiskmount -va"

 

PATH=$PATH:/usr/local/bin

export PATH

mkdir /Volumes/Storage

ntfs-3g /dev/disk2s1 /Volumes/"Storage" -o ping_diskarb,volname="Storage"

^x

 

reboot

Link to comment
Share on other sites

Sure it works without the Disk file edit... why would I try it without checking first? I have posted this earlier in the thread.

 

/sbin/autodiskmount -va

PATH=$PATH:/usr/local/bin
export PATH
umount /Volumes/External
rm -R /Volumes/External
mkdir /Volumes/Games
ntfs-3g /dev/disk0s2 /Volumes/"Games" -o ping_diskarb,volname="Games"

Link to comment
Share on other sites

everything works well until i get to the last step

 

 

sudo ntfs-3g /dev/disk0s1 /Volumes/"STORAGE" -o ping_diskarb,volname="STORAGE"
Failed to mount '/dev/disk0s1': Operation not supported
Mount is denied because NTFS is unclean. Choose one of these actions:
  Boot Windows and shutdown it cleanly, or if you have a removable
  device then click the 'Safely Remove Hardware' icon in the Windows
  taskbar notification area before disconnecting it.
Or
  Run 'ntfsfix' on Linux unless you have Vista, then mount NTFS with
  the 'force' option read-write, or with the 'ro' option read-only.
Or
  Mount the NTFS volume with the 'ro' option in read-only mode.

 

any help?

Link to comment
Share on other sites

uhhmmmm...... For some reason i can't install ntfs-3g, it says it needs macfuse but i have already installed macfuse. Any suggestions?

 

Edit Nevermind Fixed it using the files provided in this thread!!!

Edited by homer007
Link to comment
Share on other sites

I'm getting this after the last command:

 

Error opening partition device: Resource busy

Failed to startup volume: Resource busy

Failed to mount '/dev/disk0s3': Resource busy

Mount is denied because the NTFS volume is already exclusively opened.

The volume may be already mounted, or another software may use it which

could be identified for example by the help of the 'fuser' command.

 

 

edit:

On realfolkblues' post, there's something about Vista... This release works with read/write support on Vista installed disks right?

Edited by moid
Link to comment
Share on other sites

This is getting really annoying!! can someone please post the instructions more clearly!,

 

i have three partitions on my disk and one external ntfs drive (obviously third partition is for mac)

 

1) disk0s1 = Vista

2) disk0s2 = Downloads

3) disk1s1 = Backup

 

EDIT : Thanks for help!!! i Fixed it now all my drivers auto mount with read/write support!!!!

 

does anyone know how to auto mount external drivers??

Edited by homer007
Link to comment
Share on other sites

Just thought I would post my results here.

 

I followed the information provided by mickles but used it for both my ntfs partitions, set it up like this.

 

echo "Checking disks"
/sbin/autodiskmount -va
PATH=$PATH:/usr/local/bin
export PATH
umount /Volumes/Untitled
umount /Volumes/Untitled\ 1/
rm -r /Volumes/Untitled
rm -r /Volume/Untitled\ 1/
mkdir /Volumes/Windows\ System\ Disk/
mkdir /Volumes/Windows\ Storage/
ntfs-3g /dev/disk0s5 /Volumes/"Windows Storage" -o ping_diskarb,volname="Windows Storage"
ntfs-3g /dev/disk0s1 /Volumes/"Windows System Disk" -o ping_diskarb,volname="Windows System Disk"

 

Now this works fine except that you would have to relaunch finder to remove the original "ghost" partitions from the desktop .Once you do that then everything is sweet.

post-71699-1168968558_thumb.png

Edited by Mr Malicious
Link to comment
Share on other sites

I'm getting this after the last command:

 

Error opening partition device: Resource busy

Failed to startup volume: Resource busy

Failed to mount '/dev/disk0s3': Resource busy

Mount is denied because the NTFS volume is already exclusively opened.

The volume may be already mounted, or another software may use it which

could be identified for example by the help of the 'fuser' command.

edit:

On realfolkblues' post, there's something about Vista... This release works with read/write support on Vista installed disks right?

 

m8 just follow my instructions here and you should be fine!!

 

http://forum.insanelymac.com/index.php?showtopic=38920

Link to comment
Share on other sites

Ok, Here is what I did. I copied the ntfs.kext from /system/library/extensions to my desktop to back it up. Then I deleted it. Now OSx will not mount NTFS. Then I rebooted. OSX starts really fast when it doesn't have to mount NTFS. then I edited /System/Library/StartupItems/Disks/Disks file after I tried these in a terminal after typing "sudo su"

 

This is what I added after the line of /sbin/autodiskmount -va

PATH=$PATH:/usr/local/bin
export PATH
mkdir /volumes/200\ Gig
ntfs-3g /dev/disk0s1 /volumes/"200 Gig" -o ping_diskarb,volname="200 Gig"
mkdir /volumes/Windows\ XP
ntfs-3g /dev/disk1s1 /volumes/"Windows XP" -o ping_diskarb,volname="Windows XP"

Note: Because it never mounted with apple's NTFS, I don't have to remove the mount point.

 

Now my osx starts VERY fast, and I have read/write access to my NTFS partitions.

 

Here is how it looks when I just type in "mount" from the terminal

/dev/disk1s2 on / (local, journaled)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol
/dev/disk2s6 on /Volumes/Phat Boy (local, nodev, nosuid)
/dev/disk0s1@0 on /volumes/200 Gig (synchronous)
/dev/disk1s1@1 on /volumes/Windows XP (synchronous)
automount -nsl [234] on /Network (automounted)
automount -fstab [261] on /automount/Servers (automounted)
automount -static [261] on /automount/static (automounted)

 

So far, so good :thumbsup_anim: The only drawback is that the NTFS partitions are not shared through the network.

Edited by jaminmc
Link to comment
Share on other sites

So, I successfully mounted a ssh file system to my mac, but it does not show up on my desktop... The macFuse website states:

This assumes you have the MacFUSE runtime environment installed: either through the binary tarball or through compilation from scratch. For details on setting up MacFUSE, see the HOWTO page.

 

# Mounting the SSH file system

$ mkdir /some/mount/point # or use one that already exists

$ sshfs user@host:/some/directory /some/mount/point -oping_diskarb,volname=<volname>

 

<volname> should be a string you wish to use as the name of the newly mounted volume. If everything went fine, you should see the volume on your Desktop and in the Finder (unless you have disabled remote volumes from showing up in these places).

 

Once you are done using sshfs, you can unmount the volume either using the eject icon in the Finder or other common user-interface means of ejecting. Alternatively, you can do the following from the command line:

 

$ umount /some/mount/point

 

So, I ask, is the mounting of remote volumes on the desktop disabled by default? How do I enable it? Anyone successfully mount an ssh file system and have it show up on the desktop?

Link to comment
Share on other sites

To fix this error you can mount the ntfs-3g dmg and drop the ntfs-3g install pkg into your desktop.Next click on the pkg and pick show contents and go into the contents folder.

 

Open the file info.plist with textedit & look for this code

 

<key>IFRequirementDicts</key>
<array>
	<dict>
		<key>Level</key>
		<string>requires</string>
		<key>MessageKey</key>
		<string>macfuse_required</string>
		<key>SpecArgument</key>
		<string>/Library/Receipts/MacFUSE.pkg</string>
		<key>SpecType</key>
		<string>file</string>
		<key>TestObject</key>
		<true/>
		<key>TestOperator</key>
		<string>eq</string>
		<key>TitleKey</key>
		<string>macfuse_package</string>
	</dict>
</array>

 

Remove this code from the info.plist and close textedit,saving the newly edited info.plist. Now just click on the package and install.

Link to comment
Share on other sites

For those getting the error on "Mac fused not installed"

you can go to /System/Receipt (or something like this)

 

and You will find a:

 

MacFuse Core.pkg

 

Copy it and rename the copy to

 

MacFuse.pkg

 

Im not sure about the caps, just keep the same caps as the one with "Core", just remove the core part.

 

After that you will be able to install.

Link to comment
Share on other sites

To fix this error you can mount the ntfs-3g dmg and drop the ntfs-3g install pkg into your desktop.Next click on the pkg and pick show contents and go into the contents folder.

 

Open the file info.plist with textedit & look for this code

 

<key>IFRequirementDicts</key>
<array>
	<dict>
		<key>Level</key>
		<string>requires</string>
		<key>MessageKey</key>
		<string>macfuse_required</string>
		<key>SpecArgument</key>
		<string>/Library/Receipts/MacFUSE.pkg</string>
		<key>SpecType</key>
		<string>file</string>
		<key>TestObject</key>
		<true/>
		<key>TestOperator</key>
		<string>eq</string>
		<key>TitleKey</key>
		<string>macfuse_package</string>
	</dict>
</array>

 

Remove this code from the info.plist and close textedit,saving the newly edited info.plist. Now just click on the package and install.

thanx jas i got it installed now

Link to comment
Share on other sites

Just to remind, for those using NTFS volume with eastern Asian folders/files, it's better to add locale parameter, i.e.,

 

use

ntfs-3g /dev/disk0s1 /Volumes/"Storage" -o ping_diskarb,volname="Storage",locale=zh_CN

 

instead of,

ntfs-3g /dev/disk0s1 /Volumes/"Storage" -o ping_diskarb,volname="Storage"

 

Otherwise, all folders/files containing eastern Asian Language will be invisible. You may change zh_CN to real locale setting.

Link to comment
Share on other sites

 Share

×
×
  • Create New...