Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-24 Thread Yvon Thoraval
if i decompose the line in two (under SHELL fish): $ hdiutil attach -nomount ram://204800 /dev/disk4 $ diskutil erasevolume HFS+ RamDisk /dev/disk4 Started erase on disk4 Unmounting disk Erasing Initialized /dev/rdisk4 as a 100 MB case-insensitive HFS Plus volume Mounting disk Finished

Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-24 Thread Stestagg
Could that be some non visible characters in the output? Bash and fish handle ifs differently. Could you pipe the output of hdiutil to hexdump to see? Steve On 24 Feb 2014 08:04, Yvon Thoraval yvon.thora...@gmail.com wrote: if i decompose the line in two (under SHELL fish): $ hdiutil attach

Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-24 Thread Yvon Thoraval
may be, because the output of : hdiutil attach -nomount ram://204800 isn't (for example) : /dev/disk4 but rather (without the quotes) : /dev/disk4 that's to say with tens of spaces after /dev/disk4 may be i shoud trim that ? 2014-02-24 10:01 GMT+01:00 Stestagg stest...@gmail.com: Could

Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-23 Thread Robert Carpenter
Yvon, Backticks are indeed the problem. Simply swap them out for parentheses and it should work as expected: diskutil erasevolume HFS+ Ram Disk (hdiutil attach -nomount ram://204800) Robert On Sun, Feb 23, 2014 at 10:34 AM, Yvon Thoraval yvon.thora...@gmail.comwrote: With shell fish i get :

Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-23 Thread Yvon Thoraval
fine thanks! 2014-02-23 20:59 GMT+01:00 Robert Carpenter rob...@robacarp.com: Yvon, Backticks are indeed the problem. Simply swap them out for parentheses and it should work as expected: diskutil erasevolume HFS+ Ram Disk (hdiutil attach -nomount ram://204800) Robert On Sun, Feb 23,

Re: [Fish-users] Creating a ramdisk with fish ?

2014-02-23 Thread Yvon Thoraval
unfortunately not ;-) .-[yt@iMac.local:~/Downloads][20:41:12] '-$ diskutil erasevolume HFS+ Ram Disk (hdiutil attach -nomount ram://204800) Unable to find disk for /dev/disk3 .-[yt@iMac.local:~/Downloads][07:50:54] '-$ same result with parenthesis as back ticks... 2014-02-24 7:49