In the hotplug package there is a /usr/sbin/checkhotmounts file which adds strings in /etc/fstab when a new device is detected. I live in Russia and there is a problem with KOI8-R and CP1251 encodings - if I mount a Windows hdd, I have to specify 'iocharset=koi8-r,copepage=866'. The same thing is with USB-drives my friends carry to me. So I added these options to checkhotmounts. I suggest to make an /etc/sysconfig/hotplug file option iocharset and codepage for hotplug devices. Alex
Alex Khroustalev <svintuss@voxnet.ru> さんは書きました:
In the hotplug package there is a /usr/sbin/checkhotmounts file which adds strings in /etc/fstab when a new device is detected. I live in Russia and there is a problem with KOI8-R and CP1251 encodings - if I mount a Windows hdd, I have to specify 'iocharset=koi8-r,copepage=866'. The same thing is with USB-drives my friends carry to me. So I added these options to checkhotmounts. I suggest to make an /etc/sysconfig/hotplug file option iocharset and codepage for hotplug devices.
Thank you! I have forwarded this to our hotplug expert, he replied that this is a good idea and he will implement something like that for the next version of SuSE Linux. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
I have an addition, that Mike you could please forward too. Am Mittwoch, 26. November 2003 11.38 schrieb Mike FABIAN unter "Re: [m17n] hotplug suggestion":
I suggest to make an /etc/sysconfig/hotplug file option iocharset and codepage for hotplug devices.
Not only codepage, but any option. I use encrypted usb harddisks, do I need either two entries for every device, e.g. /dev/sda1, I need entries for: mount /dev/sda1 /mnt/sda1 mount -o loop,encryption=twofish /dev/sda1 /mnt/sda1-enc Or otherwise I need a way to find out, whether a detected drive is encrypted or not to add the correct line in /etc/fstab. Moreover, if the memory stick is either not partitioned (corresponding to: mount /dev/sda /media/sda), or if there is more than one partition on a memory stick (e.g. one unencrypted, one encrypted), this is also not handled by SuSE. Unfortunately some sticks come unpartitioned as factory default... Thank you Regards Marc -- Marc Wäckerlin ++++ E-Mail Guidelines: email.waeckerlin.org ++++
participants (3)
-
Alex Khroustalev
-
Marc Waeckerlin
-
Mike FABIAN