On 4/23/12 6:38 AM, Andrey Zaitsev wrote:
> Bash Version: 4.1
> Patch Level: 2
> Release Status: release
>
> Description:
> Internal 'echo' command doesn't handle I/O errors on close file when I try
> redirect
> standart output to mounted filesystem with
23 апреля 2012 г. 20:50 пользователь Andreas Schwab
написал:
> Greg Wooledge writes:
>
> > On Mon, Apr 23, 2012 at 02:38:47PM +0400, Andrey Zaitsev wrote:
> >> Strace show that errors from /bin/bash were ignored:
> >>
> >> [user@host ~]# strace echo "bla-bla-bla" > /mnt/fs/out.txt
> >> execve("/b
On Mon, Apr 23, 2012 at 06:50:31PM +0200, Andreas Schwab wrote:
> The redirection itself won't fail, unless the device is out of inodes.
Ah... OK, I can see how that might be the case. Or depending on the
file system implementation, it might fail if an additional block of
disk space would need to
Greg Wooledge writes:
> On Mon, Apr 23, 2012 at 02:38:47PM +0400, Andrey Zaitsev wrote:
>> Strace show that errors from /bin/bash were ignored:
>>
>> [user@host ~]# strace echo "bla-bla-bla" > /mnt/fs/out.txt
>> execve("/bin/echo", ["echo", "bla-bla-bla"], [/* 22 vars */]) = 0
>
> If you want an
On Mon, Apr 23, 2012 at 02:38:47PM +0400, Andrey Zaitsev wrote:
> Strace show that errors from /bin/bash were ignored:
>
> [user@host ~]# strace echo "bla-bla-bla" > /mnt/fs/out.txt
> execve("/bin/echo", ["echo", "bla-bla-bla"], [/* 22 vars */]) = 0
If you want an strace of the internal echo, you
apv
uname output: Linux dhcp-10-30-20-255.sw.ru 2.6.32-042stab054.1 #1 SMP Fri
Mar 30 01:41:10 MSD 2012 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu
Bash Version: 4.1
Patch Level: 2
Release Status: release
Description:
Internal 'echo' command doesn't hand