The parameter works only the first time I insert CD ...
kernel-2.4.3-20mdk (Mdk8.0 clean install).
bor@localhost% cat /etc/fstab
...
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom,--,iocharset=koi8-r 0 0
root@localhost:~#> lsmod
Module Size Used by
au8830 141552 0
soundcore 3504 5 [au8830]
usb-uhci 20672 0 (unused)
usbcore 47248 1 [usb-uhci]
nls_koi8-r 3856 2 (autoclean)
nls_cp866 3840 2 (autoclean)
vfat 9040 2 (autoclean)
fat 30720 0 (autoclean) [vfat]
supermount 32496 6 (autoclean)
ide-scsi 7568 0
reiserfs 165760 2
sd_mod 11048 0 (unused)
scsi_mod 86036 2 [ide-scsi sd_mod]
root@localhost:~#> eject
root@localhost:~#> eject -t
root@localhost:~#> l /mnt/cdrom
1986-���������� ���/ 1988-����/ 1989-����� � �������/
1994-����� �� ������/
1995-��������� ���/ 1996-������������/ 1996-������� �������� ����/
1996-����������/
1997-��������/ 1998-�����/ 2000-���-���/
2000-����������/
2000-��� ���������/
root@localhost:~#> lsmod
Module Size Used by
isofs 17808 1 (autoclean)
au8830 141552 0
soundcore 3504 5 [au8830]
usb-uhci 20672 0 (unused)
usbcore 47248 1 [usb-uhci]
nls_koi8-r 3856 3 (autoclean)
nls_cp866 3840 2 (autoclean)
vfat 9040 2 (autoclean)
fat 30720 0 (autoclean) [vfat]
supermount 32496 6 (autoclean)
ide-scsi 7568 0
reiserfs 165760 2
sd_mod 11048 0 (unused)
scsi_mod 86036 2 [ide-scsi sd_mod]
So far so good. I get russian filenames and usage count for nls_koi8-r is
properly incremented.
root@localhost:~#> eject
root@localhost:~#> lsmod
Module Size Used by
isofs 17808 1 (autoclean) <= why?
au8830 141552 0
soundcore 3504 5 [au8830]
usb-uhci 20672 0 (unused)
usbcore 47248 1 [usb-uhci]
nls_koi8-r 3856 3 (autoclean)
nls_cp866 3840 2 (autoclean)
vfat 9040 2 (autoclean)
fat 30720 0 (autoclean) [vfat]
supermount 32496 6 (autoclean)
ide-scsi 7568 0
reiserfs 165760 2
sd_mod 11048 0 (unused)
scsi_mod 86036 2 [ide-scsi sd_mod]
root@localhost:~#> eject -t
VFS: busy inodes on changed media.
VFS: busy inodes on changed media. <=== What's this?
root@localhost:~#> l /mnt/cdrom
1986-?????????? ???/ 1988-????/ 1989-????? ? ???????/
1994-????? ?? ??????/
1995-????????? ???/ 1996-??????? ???????? ????/ 1996-??????????/
1996-????????????/
1997-????????/ 1998-?????/ 2000-??? ?????????/
2000-???-???/
2000-??????????/
!!! Oops !!!
root@localhost:~#> lsmod
Module Size Used by
nls_iso8859-1 2848 1 (autoclean)
^^^^^^^^^^^^^ what's this!!!
isofs 17808 1 (autoclean)
au8830 141552 0
soundcore 3504 5 [au8830]
usb-uhci 20672 0 (unused)
usbcore 47248 1 [usb-uhci]
nls_koi8-r 3856 2 (autoclean)
nls_cp866 3840 2 (autoclean)
vfat 9040 2 (autoclean)
fat 30720 0 (autoclean) [vfat]
supermount 32496 6 (autoclean)
ide-scsi 7568 0
reiserfs 165760 2
sd_mod 11048 0 (unused)
scsi_mod 86036 2 [ide-scsi sd_mod]
-andrej