ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Автомонтирование с utf8,shortname=lower
@ 2006-05-05  7:09 ABATAPA
  2006-05-05  7:29 ` Alexey I. Froloff
  0 siblings, 1 reply; 9+ messages in thread
From: ABATAPA @ 2006-05-05  7:09 UTC (permalink / raw)
  To: sisyphus

			Доброго дня!
Вот, опять мы имеем автомонтирование с опциями "utf8,shortname=lower". Но я 
уверен, что у 90% локалью стоИт не utf8, а koi8-r. Про shortname=mixed вместо 
shortname=lower я даже открывал баг.
-- 
ABATAPA


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  7:09 [sisyphus] Автомонтирование с utf8,shortname=lower ABATAPA
@ 2006-05-05  7:29 ` Alexey I. Froloff
  2006-05-05  7:40   ` ABATAPA
  2006-05-05 14:11   ` Alexey Morsov
  0 siblings, 2 replies; 9+ messages in thread
From: Alexey I. Froloff @ 2006-05-05  7:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

* ABATAPA <altlinux-sisyphus@> [060505 11:09]:
> Вот, опять мы имеем автомонтирование с опциями
> "utf8,shortname=lower". Но я уверен, что у 90% локалью стоИт не
> utf8, а koi8-r. Про shortname=mixed вместо shortname=lower я
> даже открывал баг.
$ grep /dev/sdb1 /proc/mounts 
/dev/sdb1 /media/usbdisk vfat rw,nosuid,nodev,noexec,uid=500,gid=500,fmask=0077,dmask=0077,codepage=cp866,iocharset=koi8-r,shortname=mixed,quiet 0 0

wmvolman (pmount)...

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  7:29 ` Alexey I. Froloff
@ 2006-05-05  7:40   ` ABATAPA
  2006-05-05  7:51     ` Alexey I. Froloff
  2006-05-05 14:11   ` Alexey Morsov
  1 sibling, 1 reply; 9+ messages in thread
From: ABATAPA @ 2006-05-05  7:40 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

5 мая 2006 11:29, Alexey I. Froloff написал:
> wmvolman (pmount)...
У меня его нет. Есть hal. В нем опций этих не нашел. Автомонтирование 
происходит.
-- 
ABATAPA


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  7:40   ` ABATAPA
@ 2006-05-05  7:51     ` Alexey I. Froloff
  2006-05-05  8:04       ` ABATAPA
  0 siblings, 1 reply; 9+ messages in thread
From: Alexey I. Froloff @ 2006-05-05  7:51 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

* ABATAPA <altlinux-sisyphus@> [060505 11:40]:
> > wmvolman (pmount)...
Извиняюсь, pmount-hal

> У меня его нет. Есть hal. В нем опций этих не нашел.
> Автомонтирование происходит.
hal не занимается автомонтированием.  pmount добавляет utf8
только если запущен в юникодной локали.  Ну а на тему shortname я
ничего не делал.

Посмотрите, не осталось ли у вас каких-ньдь ошмётков левых правил
в /etc/hal/fdi ?

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  7:51     ` Alexey I. Froloff
@ 2006-05-05  8:04       ` ABATAPA
  2006-05-05  8:08         ` Alexey I. Froloff
  0 siblings, 1 reply; 9+ messages in thread
From: ABATAPA @ 2006-05-05  8:04 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

5 мая 2006 11:51, Alexey I. Froloff написал:

> hal не занимается автомонтированием.  pmount добавляет utf8
> только если запущен в юникодной локали.  Ну а на тему shortname я
> ничего не делал.
У меня нет pmount. Автомантированием занимается KDE. В KDE  же можно поменять 
параметры для каждого тома, но как поменять их глобально? Там-то как раз есть 
и utf8, и lower...
Или уж отрубить автомонтирование там... Отменить использование hal и опрос CD 
нельзя - поля серые.
>
> Посмотрите, не осталось ли у вас каких-ньдь ошмётков левых правил
> в /etc/hal/fdi ?
Есть. Но там-то все правильно как раз. :)
-- 
ABATAPA


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  8:04       ` ABATAPA
@ 2006-05-05  8:08         ` Alexey I. Froloff
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey I. Froloff @ 2006-05-05  8:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

* ABATAPA <altlinux-sisyphus@> [060505 12:04]:
> > hal не занимается автомонтированием.  pmount добавляет utf8
> > только если запущен в юникодной локали.  Ну а на тему shortname я
> > ничего не делал.
> У меня нет pmount. Автомантированием занимается KDE.
Так бы сразу и сказали ;-)

Я не пользуюсь KDE, поэтому не могу ничем помочь...

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05  7:29 ` Alexey I. Froloff
  2006-05-05  7:40   ` ABATAPA
@ 2006-05-05 14:11   ` Alexey Morsov
  2006-05-05 14:58     ` Alexey I. Froloff
  1 sibling, 1 reply; 9+ messages in thread
From: Alexey Morsov @ 2006-05-05 14:11 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

On Fri, May 05, 2006 at 11:29:14AM +0400, Alexey I. Froloff wrote:
> * ABATAPA <altlinux-sisyphus@> [060505 11:09]:
> > Вот, опять мы имеем автомонтирование с опциями
> > "utf8,shortname=lower". Но я уверен, что у 90% локалью стоИт не
> > utf8, а koi8-r. Про shortname=mixed вместо shortname=lower я
> > даже открывал баг.
> $ grep /dev/sdb1 /proc/mounts 
> /dev/sdb1 /media/usbdisk vfat rw,nosuid,nodev,noexec,uid=500,gid=500,fmask=0077,dmask=0077,codepage=cp866,iocharset=koi8-r,shortname=mixed,quiet 0 0
> 
> wmvolman (pmount)...
а где эта кодировка пришита? а то у меня cp1251 а он монтирует в koi


-- 

С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"

ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru

[paused] Yoko Kanno - Cowboy Bebop OST 3 - BLUE - Adieu (1999)

> Как то грустно - уже два дня не могу собрать пакеты в Sisyphus ;(
Это у Сизифа защитная реакция такая.
		-- aris in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 483 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05 14:11   ` Alexey Morsov
@ 2006-05-05 14:58     ` Alexey I. Froloff
  2006-05-06  6:30       ` Alexey Morsov
  0 siblings, 1 reply; 9+ messages in thread
From: Alexey I. Froloff @ 2006-05-05 14:58 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

* Alexey Morsov <samurai@> [060505 18:12]:
> а где эта кодировка пришита? а то у меня cp1251 а он монтирует в koi
Смотреть в lshal, потом в конфиги hal (/etc/hal/fdi и
/usr/chare/hal/fdi)...

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sisyphus] Автомонтирование с utf8,shortname=lower
  2006-05-05 14:58     ` Alexey I. Froloff
@ 2006-05-06  6:30       ` Alexey Morsov
  0 siblings, 0 replies; 9+ messages in thread
From: Alexey Morsov @ 2006-05-06  6:30 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 2076 bytes --]

On Fri, May 05, 2006 at 06:58:20PM +0400, Alexey I. Froloff wrote:
> * Alexey Morsov <samurai@> [060505 18:12]:
> > а где эта кодировка пришита? а то у меня cp1251 а он монтирует в koi
> Смотреть в lshal, потом в конфиги hal (/etc/hal/fdi и

morsov@alexey fdi/policy/10osvendor $ lshal|grep char
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=866', 'iocharset=cp1251', 'umask=', 'uid='} (string list)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=866', 'iocharset=cp1251', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=866', 'iocharset=cp1251', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)

morsov@alexey fdi/policy/10osvendor $ grep char *
20-storage-methods.fdi: <append key="volume.mount.valid_options" type="strlist">iocharset=cp1251</append>
20-storage-methods.fdi: <append key="volume.mount.valid_options" type="strlist">iocharset=cp1251</append>
20-storage-methods.fdi: <append key="volume.mount.valid_options" type="strlist">iocharset=</append>

однако 

morsov@alexey fdi/policy/10osvendor $ mount |grep media
/dev/sda1 on /media/usbdisk type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=500,gid=500,umask=077)
/dev/sdb1 on /media/usbdisk-1 type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=500,gid=500,umask=077)

Т.е. iocharset просто не передается (а по умолчанию как раз в koi и монтируется)

Или чего-то в конфигах не хватает?


-- 

С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"

ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru

[paused] Yoko Kanno - Cowboy Bebop OST 3 - BLUE - Adieu (1999)

Как правильно (по-английски) считать существительные?
[...]
PS: робот! Робот хочет стать грамотным. :)
		-- at in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 479 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-05-06  6:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-05  7:09 [sisyphus] Автомонтирование с utf8,shortname=lower ABATAPA
2006-05-05  7:29 ` Alexey I. Froloff
2006-05-05  7:40   ` ABATAPA
2006-05-05  7:51     ` Alexey I. Froloff
2006-05-05  8:04       ` ABATAPA
2006-05-05  8:08         ` Alexey I. Froloff
2006-05-05 14:11   ` Alexey Morsov
2006-05-05 14:58     ` Alexey I. Froloff
2006-05-06  6:30       ` Alexey Morsov

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