Harddisk free space --> (error reading information)

Alles rund um das grafische Benutzerinterface Enigma
yasser
Beiträge: 1
Registriert: Sonntag 10. April 2005, 22:53

Harddisk free space --> (error reading information)

Beitrag von yasser »

Hello,

In setup_harddisk.cpp, function numPartitions works by running "ls" on the proper /dev subdir. The problem is, it reads the result line by line, while ls now yields the result in columns. Result: harddisk setup cannot display current free space ("error reading information").
Workaround: put a modified "ls" in the path ( a script doing /bin/ls -1).
Fix: update the code (use "ls -1" instead of "ls").

Thanks in advance.