severity 367083 normal
thanks

Hello Jeroen

On 2006-05-13 Jeroen Massar wrote:
> # LC_ALL=C df --portability /var/lib/mysql | tail -n 1 | awk '{ print ($4)
> }'
> 34536456K

> /var/lib/mysql is a symlink, maybe that causes the issue?
No, the script explicitly checks "/var/lib/mysql/." to avoid this issue.

But your output has a little "K" appended to the number so awk translates
this string into the number value 0. Do you use "export BLOCKSIZE=K" or
similar?

Please check if
   LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/.
returns a number without a letter at the end.

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to