W jądrach (-rHEAD, -rLINUX_2_6) leżą łaty pozwalające określać lokalny
charset (CONFIG_NLS_DEFAULT) przez sysctl, tym samym zwalniając od
konieczności dodawania -oiocharset=foo przy montowaniu vfat i smbfs. W
załączeniu patch do sysctl.conf uwzględniający nową opcję (nie mam
dostępu do rc-scripts). Komentarze mile widziane.

Uprzedzając wątpliwości, w przypadku niekorzystania z ficzera wszystko
działa po staremu.

-- 
+----------------------------------------------------------------------+
| Paweł Sakowski <[EMAIL PROTECTED]>            Never trust a man  |
|                            who can count up to 1023 on his fingers.  |
+----------------------------------------------------------------------+
Index: sysctl.conf
===================================================================
RCS file: /cvsroot/rc-scripts/sysctl.conf,v
retrieving revision 1.7
diff -u -r1.7 sysctl.conf
--- sysctl.conf	28 Jul 2003 12:16:02 -0000	1.7
+++ sysctl.conf	23 Feb 2004 12:45:04 -0000
@@ -126,6 +126,15 @@
 # fs.file-max = 8192
 # fs.inode-max = 16384
 
+# Configure the default iocharset= mount option for charset-aware
+# filesystems (currently, smbfs and FAT-based filesystems). This is the
+# console charset (which should correspond to the locale settings used)
+# and has nothing to do with the way the filenames are stored on
+# the block device/remote host.
+# Note that the encoding names don't have the form registered in
+# IANA. Valid values include: utf8, iso8859-2.
+# fs.nls-default = utf8
+
 # Enable the magic-sysrq key
 kernel.sysrq = 1
 

__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles

Odpowiedź listem elektroniczym