Tag Info

Hot answers tagged

9

OS X uses diskarbitrationd which discovers new storage devices and probes them for mountable filesystems. The Disk Arbitration framework handles notifying applications of disk mount/unmount events, and allows them to influence whether a volume is mounted or not. Consult the man page for diskarbitrationd for very limited further information; for example, ...


8

I build automator workflows like this all the time. You only need two actions, and they're both Files & Folders actions. 1) Get Specified Servers. This will let you build a list of shares to connect to. If you can map it from Finder -> Go -> Connect to server, you can use this. 2) Connect to Servers. This will connect to any servers passed to it ...


8

You may want to consider using the NFS Manager application to help you locate and disable the NFS automount. You should refer to this section of the manual for assistance. The mount name /CIFS and the lack of NFS information indicates you may be running Sharity. Check if it's installed, using Spotlight. If it is, you can find the documentation here.


7

NFS mounts should show up in Disk Utility. Open Disk Utility.app (In /Applications/Utilities/) and under the File menu select NFS Mounts. Select the URL of the drive that keeps showing up and click the minus button on the lower left corner of the screen to remove it.


5

I had the same problem with CIFS-mount, x-browser… That happened because I tried Sharity 3 and 'deleted' it by putting the icon in the trash, like Mac users usually do. :) But the program was still installed and put the CIFS icon on the Desktop every day. I solved it using the following Terminal command: sudo /Library/StartupItems/Sharity3/uninstall


5

The likely most robust solution is to create a launchd job with the StartOnMount property set to -boolean YES: StartOnMount <boolean> This optional key causes the job to be started every time a filesystem is mounted. This is how Time Machine does it (see /System/Library/LaunchDaemons/com.apple.backupd-attach.plist).


5

I use the following applescript to mount directories in conjunction with MarcoPolo so network shares are automatically mounted when I get to both my office and home. You'll need to change USERNAME, PASSWORD, SERVER/SHARENAME and possibly smb:// depending on your server type. tell application "Finder" try mount volume ...


4

TL;DR Use AppleScript, but do not specify the user name or password. Background In my case, none of the suggestions that I found online worked perfectly. I had several AFP volumes that I wanted to mount automatically. Following the advice given here and elsewhere, the obvious solution seemed to be an AppleScript file with something along these lines: ...


4

I found this script from http://hints.macworld.com/article.php?story=20050215082247458, but I'll reproduce it below. Open up Script Editor and paste in: set sfiles to "afp://user:pass@host/volume" tell application "Finder" mount volume sfiles end tell Replace sfiles with the appropriate details of your AFP volume. Add ...


4

Mounting the sparsebundle can be accomplished via command line using the 'hdiutil' command. You can also create a shell script that will perform this action. This script assumes that the image is located at /Users/somebody/Image.sparsebundle, and that the passphrase used to encrypt the image is "testpass"): #!/bin/bash # # This script mounts the disk image ...


3

I ran across this today which is one way to do it. In summary for Mountain Lion: Edit the file /etc/auto_master Within add /- auto_smb Create /etc/auto_smb Within add /Volumes/mount_point -fstype=smbfs,soft ://user:pass@smbserver/share The author goes onto mention a second method using the vifs command, but I've never tried that one and it seems to do ...


3

I think I can get you started, but using terminal commands, which you said you'd prefer to avoid. Apologies, but it might give you a starting point. All of the following you could put in a bash script and run as a login item. You'll need to first share out the target drive(s) (MyBook in the examples below) using file sharing (System Preferences > Sharing > ...


3

1. Edit the file /Applications/Tunnelblick.app/Contents/Resources/client.up.osx.sh and add these commands at the end of the file, just before exit 0 : su USERNAME -c ' mkdir /Volumes/TimeCapsule mount_afp afp://afp_username@server/volumename /Volumes/TimeCapsule ' open /Volumes/TimeCapsule Replace USERNAME with your username on the system. 2. Then add ...


3

You don't mention under which context you are mounting the disk, but what about going the other way and mounting the disk with the Applescript? I mention context because when mounting a disk with Applescript is the big caveat that if it is a network volume, and the network is password-protected, then the user name and password would have to be stored as ...


2

The following Hint on Mac OS X Hints details a way to do this. Basically you'll create (or modify) the file /etc/fstab and add a line similar to: UUID=F0E430C1-5558-3BB3-9FA9-6904B663FEEA none hfs rw,noauto The actual UUID will vary, you can find the UUID for your disk in system.log: In Mac OS X Panther, Disk Utility and the diskutil command ...


2

Stuffit Expander (Select StuffIt Expander Only if you want to download it from that site, dont get any adware crap) can open bin files, and from what I remember cue files are just information maps about bin files. I forget if you can view them as Volumes, but that seems like a secondary concern, converting them is a lengthy process if you have more than a ...


2

Check your start up items in system preferences. It might be in there which would be why it keeps auto mounting.


2

OK, what follows is an adapted version of a shell script that I have running on my local Macs to auto mount certain AFP volumes when I'm at home. You'll need to adjust the mount_nfs line, enter the MAC address for your home router, and adjust the volume name for the mount (if you want). I have this script triggered to run every 5 minutes via a launchd file ...


2

save this as ~/Library/LaunchAgents/cifs.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>localhost.CIFS</string> ...


2

Boot script The best thing I can come up with, is a script that will run at boot, and will check whether each Apple_HFS TYPE of volume (disk*s*) is mounted. When the volume isn't mounted, try to repair and mount the volume. Script commands explained List local HFS volumes The diskutil list command is used to retrieve all local volumes that contain an ...


2

I have spent quite a bit of time figuring out automounts of NFS shares in OS X... Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible: /etc/auto_master (see last line): # # Automounter master map # +auto_master # Use directory service /net -hosts -nobrowse,hidefromfinder,nosuid /home ...


1

You need to mount the drive once, then go to Settings Panel and Users & Groups. There you can add it. If you hide it, it will mount but don't open the finder screen upon logging in.


1

I would suggest trying two things. As a disclaimer, I have no idea what could be causing this because it makes no sense. These are just some basic Finder troubleshooting steps: Suggestion 1: Open Terminal from /Applications/Utilities Run the command killall Finder Log out of your user account and log back in Try again Suggestion 2: Open Finder ...


1

I finally got it working. I used the info at this site. The instructions are now included in brew installations. Basically use brew or macports to install ntfs-3g, fuse4x, and fuse4x-kext. If you have an icon in System Preferences for fuse or macfuse, remove those, you don't need them. Follow the instructions after you finish installing them. You can also ...


1

I'm not sure if this will help you. If all your looking to do is save the connection information, finder will solve that problem. http://support.apple.com/kb/TA22243 Just add it your list of favorite servers and it's point and click. The information appears to be outdated, but I'm sure the process is still similar. I just checked and there is another way to ...


1

The volume is mounted automatically again. I never did find out how Mac OS X decides which volumes to mount and which not. But whatever it is, Mac OS decided to mount the volume again. Apparently the solution is to reboot until it works.


1

Assuming there's no dramas with the volumes themselves, you can mount additional volumes at login by adding them as Login Items for your user account in the System Preferences.


1

The launchd daemons and agents should be mounting these for you... com.apple.diskarbitrationd com.apple.diskmanagementd com.apple.DiskArbitrationAgent ... so unless you were editing these or your filesystem had the files go corrupt it might be faster to install Lion onto an external drive and test to see if a clean install remedies the issue. If so, ...


1

Your mac is doing this because of cached MCX. It was at some point or it thinks it has or still is bound to a directory server, most probably Open Directory on OS X Server. I will bind it to whatever server you had bound to and do a clean unbind. also check on the server to see if you can see this computer account (you might have to enable the advanced view ...


1

Firstly, does lsof show which files are actually open on the share? Does df actually show a mounted filesystem or is Finder being helpful and pinging an available share and just connecting to see what the share points might be, not actually mounting a true filesystem. Perhaps some program you are unaware is causing the mount. There are lots of places you ...



Only top voted, non community-wiki answers of a minimum length are eligible