Hot answers tagged mount
All volumes, including DMGs, are mounted in /Volumes. You can get a list of mounted volumes by typing ls /Volumes in Terminal. You can navigate to a Disk Image using cd /Volumes/nameOfImage.
Well, MacFusion was going to be my answer but since you've tried that I'll recommend my second favourite app when it comes to mounting shares: Panic's Transmit. It's new, very awesome, feature lets you mount any share that it can connect to in the UI as a "disk" in your Finder that you can drag files to. SFTP, SSH, S3...very cool.
You could easily achieve this using mount_smbfs (which is, actually, a wrapper for mount -t smbfs) : mount_smbfs //user@SERVER/folder ./mntpoint Optionally, add the workgroup : mount_smbfs -W workgroup //user@SERVER/folder ./mntpoint You could, of course, change the ./mntpoint (for something like /Volumes/smb). After doing this, simply go to ./...
The hdiutil command-line utility gives you more flexibility, and is extensively documented in man hdiutil. Something like this should do: hdiutil attach -mountpoint ~/myMountPoint mySparsebundle.dmg
Much better to do this: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.UserNotificationCenter.plist Which will just stop the UserNotificationCenter service from running, leaving your system files intact! beware: as noted in the comments, this will disable all system notifications, including those when programs request access to system ...
You should take a look at mount’s help: man mount Upon closer inspection you’ll see that the filesystem’s type is: mount -t smbfs //username:password@MACHINENAME/SHARENAME /SomeLocalFolderOfChoice Password (and theoretically username) are optional. The result of the above command will be no output (if all went ok), but a cd /SomeLocalFolderOfChoice, ...
The best solution I've found today (2015) is to use Homebrew and Cask to install osxfuse and sshfs: brew cask install sshfs And then: sshfs username@hostname:/remote/directory/path /local/mount/point -ovolname=NAME It works! :-)
Certainly not an elegant answer but, you can disable UserNotificationCenter.app found in /system/library/coreservices - replace it with another app or file with the same name. It will stop any warnings popping up (including that your drive is full) so watch out for that, but in my experience it does what you are looking for. I actually did this to my mac a ...
Use the open(1) command and a URL: open 'smb://username:password@server/share' Pros: Creates the mount point in /Volumes for you. Cons: Requires the Finder to be running.
You want to run diskutil coreStorage unlockVolume <UUID>, where the UUID is the Logical Volume UUID associated with your encrypted disk, /dev/disk3. You can get the lvUUID by running diskutil cs list in the terminal and looking for the output related to /dev/disk3. The identifier is a long string that would look something like this 'B807C2A0-577F-...
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 (...
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 ...
All the files are still there, you just can't get at them since the mount point has changed the system's ability to resolve files in /Users/whatever (a.k.a.~) Going forward, try mounting the drive under /Volumes (as in sudo ext4fuse /dev/disk2s7 /Volumes/myDrive) You should probably reboot the Mac since many programs will have issues saving work to the ...
When using OS X, it's usually more advisable to use diskutil for disk-related activities. TL;DR: To mount a volume/disk by identifier: diskutil mount /dev/diskXsY # mounts just that volume diskutil mountDisk /dev/diskX # mounts the whole disk To mount a volume by UUID: diskutil mount [Volume/Partition UUID] To mount a volume by label: ...
I use binchunker to convert .bin/.cue files to a single .iso file on my Mac. You can obtain binchunker via Macports. Here's some more info from the manpage: bchunk - CD image format conversion from bin/cue to iso/cdr SYNOPSIS bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename> DESCRIPTION bchunk converts a ...
You can add entries in /etc/fstab to prevent volumes from mounting. This is similar to the technique @cksum describes. Here are some example one-liners. They will create an fstab file if it doesn't exist, otherwise they will append. You need admin privileges. Prevent an HFS (Mac) volume named Archive from mounting. If it is mounted manually, it will be ...
OS X uses the Autofs stack to mount network file systems. Keith Winston has a good introduction to Autofs on OS X stating that: OS X uses an autofs code stack based on Sun's Solaris version of Unix. Many of the advanced features are not documented very well, and this can be an issue unless you are familiar with Solaris. I was not and had to do quite a ...
Use HomeBrew to install fuse4x and sshfs The commands to install are: brew install sshfs when you run it, it gives two other commands that I needed to run in order to install the fuse4x kernel extension. Run them. Then, to mount the ssh filesystem mkdir ~/mymountdir sshfs username@hostname:/home/thedir ~/mymountdir it will ask you for your password.
You can use hdiutil to mount a disk image that is protected with a passphrase. hdiutil attach -agentpass /path/to/image.dmg That should attempt to mount the disk image, prompting you for the passphrase. If it's encrypted with a public key, you can pass that using option -pubkey.
Try using mount -u -w: sudo mount -u -w /Volumes/YourDriveName -u modifies the status of an already mounted filesystem. -w mounts a filesystem as read-write.
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).
You should be able to use Disk Arbitrator to do most of what you want. Certainly requirement 1 is met and you should be able to achieve most of 2 with it too.
Transmit - The ultimate Mac OS X FTP + SFTP + S3 app can do this. Another choice would be ExpanDrive - SFTP/FTP/S3 Drive but I think Transmit is the better option (I own both and am affiliated with neither). There are demos of both programs available, so you can try both. Note that Transmit is sold both through the Mac App Store and directly the developer ...
Try with DAEMON Tools Lite for Mac, you can download here: http://www.daemon-tools.cc/products/dtMacLite This software has figured out how to trick the computer to thinking a DVD is mounted and I don't know if you can re-implement it via the command line tool vndevice you mentioned.
I/O Error usually means your disk has hardware failure. I would backup everything ASAP and change the disk. Disk Warrior will probably not solve the issue as it's only repairing a corrupted filesystem. If you can mount it at some point (try repeatedly), use Carbon Copy Cloner to backup your important data on a new drive. If you can't, try some recovery ...
Your drive is in the process of failing and will soon become unusable. Drives fail for a number of reasons and all modern drives will try and protect your data by moving what it can from bad sectors to good ones then mark those sectors bad so nothing gets written to them. However, if the data is corrupted to begin with, moving it only means you are ...
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 "smb://USERNAME:PASSWORD@...
As of March 2013, the current free software solution is Fuse for OS X plus a package for SSHFS (a download link on Fuse for OS X webpage). Macfusion is a GUI for easy mounting/unmounting remote shares but it needs to be patched to work with SSHFS/Fuse for OS X.
Instead of installing ext4fuse yourself, try using homebrew to install it. (This is the method recommended by the developer.) Read the developer's install page here. Incidentally, if you're from Linux you're probably used to using apt-get to install things. Homebrew describes itself as "The missing package manager for OS X", and makes it a lot easier to ...
Only top voted, non community-wiki answers of a minimum length are eligible