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.
Yes. You'll need to create a file called "fstab" in /etc if it is not already there: sudo nano /etc/fstab Next, we'll need the partitions Unique Universal Identifier (UUID). Open Disk Utility, and highlight the partition you'd like to no have auto-mounted. Then hit CMD+I and you'll be greeted with the following screen (notice the UUID highlighted): We ...
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 ...
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!
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 ...
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, ...
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.
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 ...
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).
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 ...
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 ...
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 ...
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
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.
For future references, instead of MacFusion I'd go with fuse4x which is basically an updated version of MacFusion, actively developed.
Not currently. The 'disk' space in iCloud is not like the iDisk option in MobileMe. Since iOS doesn't really expose its file system, they don't map this to the Mac in a 'mountable' way. So currently, the only way to access iCloud data would be through APIs.
For the last couple years, I was basically the primary developer of the Mozy backup client for Mac. I worked primarily on the background process that actually identifies and uploads the files you've selected, and less on the user interface, but I'm still quite familiar with the code in question. I believe this makes me one of the most qualified people in the ...
You can mount ext2/3/4-Volumes using MacFUSE with the fuse-ext2 Driver.
The open(1) command can do it: /usr/bin/open /full/path/to/OF.sparseimage
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 have seen this happen when there is already a volume with the given name and the OS needs to create a new name to mount the volume as you can't have a duplicate name -- thus the suffix. The first thing to do is, make sure that you don't have any other volumes with the same name. If you do, perhaps you can rename one or only use one at a time. I've also ...
Only top voted, non community-wiki answers of a minimum length are eligible