From: "Хихин Руслан" <hihin@yandex.ru> To: sisyphus@lists.altlinux.org Subject: Re: [sisyphus] автомонтирование , cp1251, бнопня Date: Tue, 28 Aug 2007 21:48:29 +0400 Message-ID: <200708282148.39315@ruslandh> (raw) In-Reply-To: <fa54e4a90708280729g64aa4cd8n2dcf06d70e4d8217@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 6631 bytes --] Здравствуйте Igor Zubkov В сообщении от 28 августа 2007 Igor Zubkov написал(a): > 25.08.07, Michael Shigorin написал(а): > > On Sat, Aug 25, 2007 at 07:35:46PM +0400, Alexei V. Mezin wrote: > > > Но что на ней видно? > > > > > > [alexei@threebears /]$ ls /media/TS2GJF110/ > > > AdobeR.exe full.cz ldlinux.sys msvcr71.dll > > > SPECapc_SW2007-V1.0.1.msi syslinux.cfg WinXP_Lite.iso > > > ОПЧЩК_УЕТФЙЖЙЛБФ.p12 > > > AUTORUN.INF initrd.img live photo sw > > > vmlinuz йви УФБТЩК_УЕТФЙЖЙЛБФ.p12 > > > А вот и они, наши любимые кракозябры. > Смонтировалось в KDE > $ mount | grep "/dev/sda" > /dev/sda on /media/disk type vfat > (rw,noexec,nosuid,nodev,fmask=0133,shortname=lower,iocharset=koi8-r, >uid=500) mount | grep /dev/sdc /dev/sdc1 on /media/WD Passport type vfat (rw,nosuid,nodev,noatime,uid=500,shortname=lower,iocharset=cp1251) /dev/sdc2 on /media/Arhiv type ext3 (rw,nosuid,nodev,data=ordered) > Посмотрим что на нём. ls /media/WD\ Passport/ Age of Empires 2 Golden nvidia_set_glx WD Sync Data arhiv Kernel-2.4.34-0 Recycled WDSync.exe autorun Kernel-2.4.34-17.0.3.2007 rsbac WDSync_v6_3_130.exe autorun.inf knuth3.zip rsync_disk_backports WDSync.zip D-Link Mail rsync_disk_daedalus WD_Windows_tools Download mcbc rsync_disk_sysiphus x264_Codec drm mkiso.sh server4.0-manual.draft.ps Выпускной flash MPlayer sparc Пожар fstab nc System Volume Information > Ну и моя локаль. > $ echo $LANG > ru_RU.KOI8-R locale LANG=ru_RU.CP1251 ................. LC_IDENTIFICATION="ru_RU.CP1251" LC_ALL= > Ну и версия пакета. > $ rpm -q pmount > pmount-0.9.16-alt1 rpm -qa | grep pmount pmount-0.9.16-alt1 > Наверно я делаю что-то не так. > > > Вот тут не знаю, hal обновлялся почти месяц тому, где ещё > > при не-статическом автомонтировании фигурируют чарсеты -- > > вроде как и нигде. > > > > > > > > Попробуйте глянуть на search.altlinux.ru "hal fdi policy 1251". > > Если пробегавшие рецепты подойдут -- сообщите, если нет -- > > тем более. > > > > > [alexei@threebears /]$ locale > > > LANG=ru_RU.CP1251 > Может в этом проблема? Нет #ls /etc/hal/fdi/policy/ 10-storage-cp1251-1.fdi 12-fstab-sync-mount-options-cp1251.fdi 11-storage-cp1251.fdi.back 92-fstab-nosync.fdi #cat 10-storage-cp1251-1.fdi <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="volume.fstype" string="vfat"> <remove key="volume.mount.valid_options" type="strlist">utf8</remove> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <match key="volume.fstype" string="ntfs"> <remove key="volume.mount.valid_options" type="strlist">utf8</remove> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <match key="volume.fstype" string="udf"> <remove key="volume.mount.valid_options" type="strlist">utf8</remove> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <match key="volume.fstype" string="iso9660"> <remove key="volume.mount.valid_options" type="strlist">utf8</remove> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> </device> </deviceinfo> #cat 12-fstab-sync-mount-options-cp1251.fdi <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <!-- Handle drives with non-partitioned media --> <match key="storage.no_partitions_hint" bool="true"> <!-- optical drives --> <match key="storage.drive_type" string="cdrom"> <!-- change string below for your encoding --> <merge key="storage.policy.mount_option.iocharset" type="string">cp1251</merge> </match> </match> <!-- Normal volumes --> <match key="block.is_volume" bool="true"> <match key="volume.fsusage" string="filesystem"> <!-- VFAT --> <match key="volume.fstype" string="vfat"> <!-- change string below for your encoding --> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <!-- ISO 9660 --> <match key="volume.fstype" string="iso9660"> <!-- change string below for your encoding --> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <!-- UDF --> <match key="volume.fstype" string="udf"> <!-- change string below for your encoding --> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> <!-- NTFS --> <match key="volume.fstype" string="ntfs"> <!-- change string below for your encoding --> <merge key="volume.policy.mount_option.iocharset=cp1251" type="bool">true</merge> </match> </match> </match> </device> </deviceinfo> Подозреваю, что много лишнего, но не трогаю, т.к. работает :) tсть ещё, но это не о том. №cat 92-fstab-nosync.fdi <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="info.udi" string="/org/freedesktop/Hal/devices/computer"> <remove key="info.callouts.add" type="strlist">fstab-sync --clean</remove> </match> <match key="volume.policy.should_mount" bool="true"> <match key="@block.storage_device:storage.policy.should_mount" bool="true"> <remove key="info.callouts.add" type="strlist">fstab-sync</remove> <remove key="info.callouts.remove" type="strlist">fstab-sync</remove> </match> </match> <match key="storage.policy.should_mount" bool="true"> <match key="storage.no_partitions_hint" bool="true"> <remove key="info.callouts.add" type="strlist">fstab-sync</remove> <remove key="info.callouts.remove" type="strlist">fstab-sync</remove> </match> </match> </device> </deviceinfo> -- С уважением Хихин Руслан [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-08-28 17:48 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-25 15:17 [sisyphus] Ну почему опять не работает?!! Alexei V. Mezin 2007-08-25 15:27 ` [sisyphus] Ну почему опять стук в подполе :( Michael Shigorin 2007-08-25 15:35 ` Alexei V. Mezin 2007-08-25 15:38 ` Alexei V. Mezin 2007-08-25 15:46 ` [sisyphus] pmount, cp1251 Michael Shigorin 2007-08-28 14:39 ` [sisyphus] Ну почему опять стук в подполе :( Igor Zubkov 2007-08-28 14:50 ` Alexei V. Mezin 2007-08-28 15:08 ` Igor Zubkov 2007-08-28 20:03 ` Alexei V. Mezin 2007-08-29 12:24 ` Igor Zubkov 2007-08-25 15:42 ` [sisyphus] автомонтирование, cp1251, бнопня Michael Shigorin 2007-08-25 16:35 ` Alexei V. Mezin 2007-08-25 17:29 ` [sisyphus] [SOLVED] " Michael Shigorin 2007-08-25 19:11 ` Alexei V. Mezin 2007-08-25 19:33 ` Michael Shigorin 2007-08-25 19:42 ` Aleksey Novodvorsky 2007-08-27 10:26 ` Alexei V. Mezin 2007-08-27 11:14 ` Michael Shigorin 2007-08-28 14:29 ` [sisyphus] " Igor Zubkov 2007-08-28 14:49 ` Alexei V. Mezin 2007-08-28 15:11 ` Igor Zubkov 2007-08-31 0:50 ` Michael Shigorin 2007-08-28 17:48 ` Хихин Руслан [this message] 2007-08-28 18:13 ` [sisyphus] автомонтирование , " Alexei V. Mezin 2007-08-28 18:35 ` Хихин Руслан 2007-08-28 18:41 ` Alexei V. Mezin 2007-08-28 19:47 ` Хихин Руслан 2007-08-28 20:01 ` Alexei V. Mezin 2007-08-28 20:00 ` [sisyphus] автомонтирование, " Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200708282148.39315@ruslandh \ --to=hihin@yandex.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git