Bad situation with HAL and xfce-4.4.0

Alexander E. Patrakov patrakov at ums.usu.ru
Sun Mar 11 08:15:21 PDT 2007


Hello,

the bug is that it is impossible to make xfce pass the proper (or, in fact, 
any) iocharset=... parameter when mounting VFAT filesystems via HAL. This 
bug makes it impossible to use automounted USB flash drives that contain 
files with non-ASCII characters in their names, unless the user has built 
the kernel with CONFIG_NLS_DEFAULT that makes the default iocharset work for 
him or her.

While the recommendation to build the kernel this way may work for (B)LFS, 
it is not suitable for binary distributions (including the LFS LiveCD), 
because there is no CONFIG_NLS_DEFAULT that works for everyone. Possible 
solutions:

1) build XFCE on the LiveCD without HAL, thus making completely unavailable 
the automounting functionality that didn't work correctly anyway.

2) make a kernel patch (only 11 added or changed lines) that makes this 
setting available as a module parameter for nls_base.ko (thus also allowing 
modification at runtime via sysfs) - but this comes from me and is not 
guaranteed to make it upstream to the mainline kernel.

What should be done?

-- 
Alexander E. Patrakov



More information about the livecd mailing list