<div dir="ltr">Hi Rob,<div><br></div><div><div><span style="font-family:arial,sans-serif;font-size:13px">--- cp.c.patch:</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Why this change?</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">- if (CFG_CP_MV && toys.which->name[0] == 'm') rc = rename(src, TT.destname);</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">+ if (CFG_CP_MV && toys.which->name[0] == 'm' && (toys.optflags & FLAG_f))</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">+ rc = rename(src, TT.destname);</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">$ strace mv umount umount.old 2>&1 | grep rename</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">rename("umount", "umount.old") = 0</span><br></div></div><div><br></div><div>in case of mv __rename()__ is tried at first. The issue handled is in case when user</div><div>gives option __-i__</div><div><br></div><div>thats why this extra check for mv. </div><div><br></div><div>regards,</div><div>Ashwini</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 8:10 PM, Rob Landley <span dir="ltr"><<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/10/14 00:20, David Seikel wrote:<br>
> On Thu, 09 Oct 2014 23:43:25 -0500 Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br>
><br>
>> --- getty.c.patch:<br>
>><br>
>> I actually have a pending cleanup to getty I haven't checked in for<br>
>> ages because I haven't got a serial port setup lying around to test.<br>
>> It redoes the speed calculatons to look like:<br>
><br>
> Er, serial port console on a VM isn't good enough to test with?<br>
<br>
</span>Emulated serial console doesn't care about bit rate, because it's not<br>
breaking things down into bits. (It works at the byte level.)<br>
<br>
And yes, this sometimes has side effects:<br>
<br>
<a href="http://lkml.iu.edu/hypermail/linux/kernel/0802.0/2142.html" target="_blank">http://lkml.iu.edu/hypermail/linux/kernel/0802.0/2142.html</a><br>
<br>
Rob<br>
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" target="_blank">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</blockquote></div><br></div>