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.
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 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 ...
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 ...
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, ...
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 ...
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.
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 ...
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 ...
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 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.
There certainly isn't the same amount necessary as the DMG, so you sure can mount a 100GB DMG into a file system that has less (there will be trivial consumptions, maybe a few kb, but nothting that you'll notice). The whole thing works in the way, that the system attaches a file-system driver to the file with the DMG. The driver will present the DMG file ...
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 ...
It's read-only because it's formatted with NTFS (the Windows filesystem), which OS X can only read without the help of third party software. If reformatting isn't a problem, then that's likely the easiest way to go. If you need to transfer between OS X and Windows with the stick, use the FAT filesystem. If you're just using it with Macs, the defaults will ...
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 ...
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).
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 ...
Had the same experience as the OP. Tried using nrg2iso, tried renaming the file to .iso and also tried the dd command from that MacRumors thread. Nothing worked. However, I then found nrg4iso which worked perfectly! The project has been abandoned since 2007 but it still works.
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 ...
I had the same problem, and after a search over the web, I found the following updated package of macfuse that worked for me: http://www.tuxera.com/mac/macfuse-core-10.5-2.1.9.dmg
No. Logging out dismounts the drives. USB changes will wake most macs from sleep assuring an uncontrolled unmount should users be logged in. The file systems should be clean and synced when entering sleep, but there is no guarantee of it. Firewire drives also could be corrupted in a similar fashion. With journaled filesystems you'll likely only lose a ...
For future references, instead of MacFusion I'd go with fuse4x which is basically an updated version of MacFusion, actively developed.
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 open(1) command can do it: /usr/bin/open /full/path/to/OF.sparseimage
Use URL encoding to protect the wonky characters in the password. Essentially each character (or byte of UTF-8) can be encoded as a % followed by two hex digits specifying the encoded byte. In your example, \ -> %5C and @ -> %40: mount -t afp afp://adminname:aaaaa%5C%4011111@ServerIPAddress/ShareName /Volumes/TimeMachine This worked in my test.
Only top voted, non community-wiki answers of a minimum length are eligible