ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8
@ 2009-04-24 22:45 Alexandr Isaev
  2009-04-25  5:13 ` Хихин Руслан
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexandr Isaev @ 2009-04-24 22:45 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

До какого-то из последних обновлений локаль koi8-r указанная для ntfs
разделов показывала русские файлы. Вчера понадобилось слазить на ntfs
диск и обнаружилось что все русские файлы идут в UTF8. Перековырял все
возможные настройки и опции - результат нулевой, ntfs-3g перестал
реагировать на параметры locale, nls или состояние моей текущей локали.

# locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_PAPER="ru_RU.KOI8-R"
LC_NAME="ru_RU.KOI8-R"
LC_ADDRESS="ru_RU.KOI8-R"
LC_TELEPHONE="ru_RU.KOI8-R"
LC_MEASUREMENT="ru_RU.KOI8-R"
LC_IDENTIFICATION="ru_RU.KOI8-R"
LC_ALL=

#grep win_c  /etc/fstab

UUID=2EF078BCF0788C39  /mnt/win_c ntfs-3g
defaults,force,umask=0002,gid=1000,locale=ru_RU.KOI8-R  1 0



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

* Re: [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8
  2009-04-24 22:45 [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8 Alexandr Isaev
@ 2009-04-25  5:13 ` Хихин Руслан
  2009-04-25  6:42 ` Afanasov Dmitry
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Хихин Руслан @ 2009-04-25  5:13 UTC (permalink / raw)
  To: sisyphus

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

Здравствуйте Alexandr Isaev
  В сообщении от 25 апреля 2009 Alexandr Isaev написал(a):
> До какого-то из последних обновлений локаль koi8-r указанная
> для ntfs разделов показывала русские файлы. Вчера понадобилось
>
Ещё один гвоздь в 8-битную локаль ?


-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8
  2009-04-24 22:45 [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8 Alexandr Isaev
  2009-04-25  5:13 ` Хихин Руслан
@ 2009-04-25  6:42 ` Afanasov Dmitry
  2009-04-25  9:28 ` Serge Polkovnikov
  2009-04-25  9:40 ` Sergey Vlasov
  3 siblings, 0 replies; 5+ messages in thread
From: Afanasov Dmitry @ 2009-04-25  6:42 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

25.04.09, Alexandr Isaev<alex_is@sakhalin.ru> написал(а):
>  ntfs-3g перестал
>  реагировать на параметры locale, nls или состояние моей текущей локали.
странно
$ sudo mount /dev/sdb1 /mnt/disk -t ntfs-3g -o umask=0,locale=ru_RU.CP1251
и по
$ ls /mnt/disk/Documents\ and\ Settings/ender
вполне видны русские называния

локаль - ru_RU.CP1251


-- 
С уважением
Афанасов Дмитрий

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

* Re: [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8
  2009-04-24 22:45 [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8 Alexandr Isaev
  2009-04-25  5:13 ` Хихин Руслан
  2009-04-25  6:42 ` Afanasov Dmitry
@ 2009-04-25  9:28 ` Serge Polkovnikov
  2009-04-25  9:40 ` Sergey Vlasov
  3 siblings, 0 replies; 5+ messages in thread
From: Serge Polkovnikov @ 2009-04-25  9:28 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On Saturday 25 April 2009 01:45:26 Alexandr Isaev wrote:
> До какого-то из последних обновлений локаль koi8-r указанная для ntfs
> разделов показывала русские файлы. Вчера понадобилось слазить на ntfs
> диск и обнаружилось что все русские файлы идут в UTF8. Перековырял все
> возможные настройки и опции - результат нулевой, ntfs-3g перестал
> реагировать на параметры locale, nls или состояние моей текущей локали.

Вот выдежка из NTFS-3G Release History:


STABLE Version 2009.1.1 (January 22, 2009) -- Release Notes 

<skip>

Change: The 'locale=' mount option is not used anymore for filename 
characterset conversion. Instead filenames are always converted to UTF-8. 


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

* Re: [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8
  2009-04-24 22:45 [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8 Alexandr Isaev
                   ` (2 preceding siblings ...)
  2009-04-25  9:28 ` Serge Polkovnikov
@ 2009-04-25  9:40 ` Sergey Vlasov
  3 siblings, 0 replies; 5+ messages in thread
From: Sergey Vlasov @ 2009-04-25  9:40 UTC (permalink / raw)
  To: sisyphus

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

On Sat, Apr 25, 2009 at 09:45:26AM +1100, Alexandr Isaev wrote:
> До какого-то из последних обновлений локаль koi8-r указанная для ntfs
> разделов показывала русские файлы. Вчера понадобилось слазить на ntfs
> диск и обнаружилось что все русские файлы идут в UTF8. Перековырял все
> возможные настройки и опции - результат нулевой, ntfs-3g перестал
> реагировать на параметры locale, nls или состояние моей текущей локали.

Оторвали в версии 2009.1.1 - теперь имена файлов всегда в UTF-8.

http://www.ntfs-3g.org/releases.html

STABLE Version 2009.1.1 (January 22, 2009) -- Release Notes

    * New: Built-in, transparent UTF-8 conversion support. This solves all the
      problems, described here, and even more with hidden and inaccessible
      filenames having national characters.
    * New: Support getting/setting the file creation timestamp on OS X.
    * Fix: An extended attribute got corrupted if the new attribute size was
      smaller than the original size.
    * Fix: Memory leaked if an extended attribute or alternate data stream
      couldn't be opened.
    * Fix: Report an error if a filename can not be listed during reading a
      directory.
    * Change: The 'locale=' mount option is not used anymore for filename
      characterset conversion. Instead filenames are always converted to UTF-8. 

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

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

end of thread, other threads:[~2009-04-25  9:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 22:45 [sisyphus] ntfs-3g не настраивается на локали отличные от UTF8 Alexandr Isaev
2009-04-25  5:13 ` Хихин Руслан
2009-04-25  6:42 ` Afanasov Dmitry
2009-04-25  9:28 ` Serge Polkovnikov
2009-04-25  9:40 ` Sergey Vlasov

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