can please someone tell me how to create a hidden ram disk with apple script automator in osx mavericks? thanks very much!
for now i use this
set volumes to do shell script “ls /Volumes/”
set device_path to do shell script “hdiutil attach -nomount ram://2097152”
do shell script "newfs_hfs -v RamDisk -s " & device_path
do shell script "diskutil mount " & device_path
works perfectly but i d like to hidi it from desktop thanks
If I have read the Xcode documentation right, I have read that stubs for the command-line tools are included in the basic Mavericks install, but when you install Xcode then the stubs are made to point to the utilities included with Xcode.
So I’d try to execute ‘which SetFile’ in a terminal window first, and only then download Xcode, which is free, if you don’t get a positive result for the command (it is installed in /usr/bin on my machine).
Easiest way is not mounting the volume in /Volumes but somewhere else to make an file system not popup in the Finder. /Volumes is an hidden folder for the Desktop Mac OS X, but not necessarily to work properly.
I also think that you can just download and install comman-line tools, without XCode from developer.apple.com (after having signed up for a free membership.)
Those tools are quite nice to have when you need them!