2.4.0-test7 remount/iocharset

From: Stephen Lee (slkernel@softhome.net)
Date: Thu Aug 31 2000 - 03:33:51 EST


I am running Debian 2.2 (Potato). On 2.4.0-test7 vfat, iocharset does not change on remount, but the option is shown in mounttab. Notice that the euc-jp nls module did not get loaded after a remount.

Also, on remount, ntfs does not decrease nls module usage count, even if you don't change iocharset. Result is that the count increases by 1 each time you remount it, and you can't remove the module even if you umount the ntfs in question.

hanagumi:~# uname -a
Linux hanagumi 2.4.0-test7 #1 SMP Wed Aug 30 21:11:48 JST 2000 i686 unknown
hanagumi:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)

hanagumi:~# mount
/dev/sda6 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
hanagumi:~# lsmod
Module Size Used by
parport_pc 22564 0 (autoclean)
parport 27168 0 (autoclean) [parport_pc]
eepro100 17008 1 (autoclean)
usb-uhci 22068 0 (unused)
wacom 2836 0 (unused)
input 3104 0 [wacom]
usbcore 50016 1 [usb-uhci wacom]

hanagumi:~# mount /mnt/dosf
hanagumi:~# lsmod
Module Size Used by
nls_iso8859-1 2840 1 (autoclean)
nls_cp437 4352 1 (autoclean)
parport_pc 22564 0 (autoclean)
parport 27168 0 (autoclean) [parport_pc]
eepro100 17008 1 (autoclean)
usb-uhci 22068 0 (unused)
wacom 2836 0 (unused)
input 3104 0 [wacom]
usbcore 50016 1 [usb-uhci wacom]
hanagumi:~# mount
/dev/sda6 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda10 on /mnt/dosf type vfat (rw)

hanagumi:~# mount -o remount,iocharset=euc-jp /mnt/dosf
hanagumi:~# lsmod
Module Size Used by
nls_iso8859-1 2840 1 (autoclean)
nls_cp437 4352 1 (autoclean)
parport_pc 22564 0 (autoclean)
parport 27168 0 (autoclean) [parport_pc]
eepro100 17008 1 (autoclean)
usb-uhci 22068 0 (unused)
wacom 2836 0 (unused)
input 3104 0 [wacom]
usbcore 50016 1 [usb-uhci wacom]
hanagumi:~# mount
/dev/sda6 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda10 on /mnt/dosf type vfat (rw,iocharset=euc-jp)

hanagumi:~# umount /mnt/dosf
hanagumi:~# mount -o iocharset=euc-jp /mnt/dosf
hanagumi:~# lsmod
Module Size Used by
nls_cp932 76448 1 (autoclean)
nls_euc-jp 892 1 (autoclean)
nls_iso8859-1 2840 0 (autoclean)
nls_cp437 4352 1 (autoclean)
parport_pc 22564 0 (autoclean)
parport 27168 0 (autoclean) [parport_pc]
eepro100 17008 1 (autoclean)
usb-uhci 22068 0 (unused)
wacom 2836 0 (unused)
input 3104 0 [wacom]
usbcore 50016 1 [usb-uhci wacom]
hanagumi:~# mount
/dev/sda6 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda10 on /mnt/dosf type vfat (rw,iocharset=euc-jp)
hanagumi:~#

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:28 EST