Language conflict in fstab
list Christian Schlüter
Hello Henrik! Hobbit reports the following error message: Expected string (Capacity and Mounted) not found in df output header Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf The Hobbit monitor doesn't unterstand the german output of the fstab. I think this problem will also appear on other located versions. Is there any possibility to avoid this problem or have I to wait for a future release fixing that bug?! Thanks in advance and best regards Christian
list Henrik Størner
Hi Christian,
▸
On Mon, Sep 12, 2005 at 11:30:19AM +0200, Christian Schlüter wrote:Hobbit reports the following error message: Expected string (Capacity and Mounted) not found in df output header Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf
Add this at the top of the client/hobbitclient.sh script: # Must make sure the commands return standard (english) texts. LANG=C export LANG The next release has this already. Regards, Henrik
list Christian Schlüter
▸
Hi Christian, On Mon, Sep 12, 2005 at 11:30:19AM +0200, Christian Schlüter wrote:
Hobbit reports the following error message: Expected string (Capacity and Mounted) not found in df output header Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf
Add this at the top of the client/hobbitclient.sh script: # Must make sure the commands return standard (english) texts. LANG=C export LANG The next release has this already. Regards, Henrik ---
My Snapshot-version (dated on 9.9.) already has this entry but it
doesn't work. I tried manually to set LANG=C and run df -k but the
header was still in german....
regards
Christian
list Frédéric Mangeant
▸
Christian Schlüter a écrit :
My Snapshot-version (dated on 9.9.) already has this entry but it doesn't work. I tried manually to set LANG=C and run df -k but the header was still in german....
Hi Christian
try with LC_ALL instead of LANG :
$ df /
Sys. de fich. 1K-blocs Occupé Disponible Capacité Monté sur
/dev/sda3 5771500 4282216 1196100 79% /
french output, and
$ LC_ALL=C df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 5771500 4282456 1195860 79% /
english output.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis