[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 2/4] tools: split out xenstored starting form xencommons



On 02/08/16 13:59, Olaf Hering wrote:
> On Tue, Aug 02, Juergen Gross wrote:
> 
>> -            rm -f "$XENSTORED_ROOTDIR"/tdb* &>/dev/null
>> +    rm -f "$XENSTORED_ROOTDIR"/tdb* 2>/dev/null
>>
>> Please note the "&" in the removed line. And the description just tells
>> you that: the file shouldn't be removed in the background. How else
>> would you describe it?
> 
> "&>" redirects stdout and stderr at the same time. See bash(1)
> "Redirecting Standard Output and Standard Error".
> Are you saying it does fork into background instead?

No. I'm saying that I managed to overlook that part of the man page.

I explicitly had a look as I didn't know the &> notation and I wanted to
make sure I don't miss anything. I failed obviously. :-(

Thanks for the bash lesson. :-)

V5 is about to come...


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.