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 GMT+01:00 Yvon Thoraval <yvon.thora...@gmail.com>:

> 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, 2014 at 10:34 AM, Yvon Thoraval 
>> <yvon.thora...@gmail.com>wrote:
>>
>>> With shell fish i get :
>>>
>>> .-[yt@iMac.local:~/Downloads][18:23:13]
>>>
>>>
>>>
>>>
>>> '->$ diskutil erasevolume HFS+ "Ram Disk" `hdiutil attach -nomount
>>> ram://204800`
>>>
>>> Unable to find disk for `hdiutil
>>>
>>> .-[yt@iMac.local:~/Downloads][18:32:34]
>>>
>>>
>>>
>>>
>>> '->$
>>>
>>>
>>> Switching to sh works :
>>>
>>> .-[yt@iMac.local:~/Downloads][17:55:51]
>>>
>>>
>>>
>>>
>>> '->$ sh
>>>
>>> sh-3.2$ diskutil erasevolume HFS+ "Ram Disk" `hdiutil attach -nomount
>>> ram://204800`
>>>
>>> Started erase on disk3
>>>
>>> Unmounting disk
>>>
>>> Erasing
>>>
>>> Initialized /dev/rdisk3 as a 100 MB case-insensitive HFS Plus volume
>>>
>>> Mounting disk
>>>
>>> Finished erase on disk3 Ram Disk
>>>
>>> sh-3.2$ exit
>>>
>>> exit
>>>
>>> .-[yt@iMac.local:~/Downloads][18:10:46]
>>>
>>>
>>>
>>>
>>> '->$
>>>
>>>
>>> What should I avoid with fish ?
>>>
>>> th backticks "`" ???
>>>
>>> --
>>> Yvon@48.871651804,2.384858688
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Managing the Performance of Cloud-Based Applications
>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>>> Read the Whitepaper.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Fish-users mailing list
>>> Fish-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>>
>>
>
>
> --
> Yvon@48.871651804,2.384858688
>
>


-- 
Yvon@48.871651804,2.384858688
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to