ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Длинные имена на FAT
Date: Fri, 12 Dec 2003 11:23:57 +0300
Message-ID: <20031212082357.GD1756@sirius.home> (raw)
In-Reply-To: <20031212080352.GF26520@mrkooll.tdr.pibhe.com>

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

On Fri, Dec 12, 2003 at 10:03:52AM +0200, Maxim Tyurin wrote:
> On Thu, Dec 11, 2003 at 12:56:23PM +0300, Sergey Vlasov wrote:
> > > > > При монтировании как vfat - видно что имя длинное, но вопросы
> > > > > вместо кириллицы.
> > > > И всё-таки строку монтирования в студию. А вопросы, глядючи под 
> > > > root командой ls или под пользователем тоже самое?
> > > 
> > > mount -t vfat -o user,umask=0,sync,showexec /dev/sdb1 /mnt/disk
> > > от добавления iocharset=koi8-r ничего не меняется 
> > > codepage 866 явно не подходит (и при ее указании ничего не меняется),
> > > а codepade koi8-r указать нельзя 
> > > 
> > > вот вывод команды ls
> > > ls
> > > ?????????                            ?.??????? ????-???????????? ???.pdb  ?.??????? ?????????? ????????.pdb
> > 
> > Попробуйте добавить опцию utf8, запустите uxterm и посмотрите, что
> > выдаст ls там.  Или засуньте этот вывод в файл и пришлите на разборку.
> 
> строка монтирования:
> mount -t vfat -o user,umask=0,sync,showexec,utf8 /dev/sdd1 /mnt/disk
> 
> вывод ls прилагаю.
> 
> Для теста создал 2 директории 
> длинныйтест1251 (создал в 1251)
> длинныйтестKOI (создал в KOI8)
> 
> uxterm я вообще-то не пользуюсь (поэтому для него никаких настроек не
> делал)
> 
> Очень хотелось бы чтоб в KOI8 нормально отображал :)

Диагноз ясен - кривая русификация.  Это чудо считает, что работает в
ISO-8859-1, и переводит из 8-битовой кодировки в Unicode, как из
ISO-8859-1 (добавлением нулевого старшего байта).  Интересно, что
будет, если ему подсунуть правильный vfat с русскими буквами ;)

Обходить придётся монтированием с опцией iocharset=iso8859-1.

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

  reply	other threads:[~2003-12-12  8:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10 18:20 Maxim Tyurin
2003-12-10 19:00 ` Andrey Rahmatullin
2003-12-10 19:22   ` Maxim Tyurin
2003-12-10 19:53 ` Aleksey Avdeev
2003-12-10 19:43   ` Maxim Tyurin
2003-12-10 20:08     ` Andrey Rahmatullin
2003-12-10 20:30     ` Aleksey Avdeev
2003-12-10 23:13 ` Vitaly Lipatov
2003-12-11  9:48   ` Maxim Tyurin
2003-12-11  9:56     ` Sergey Vlasov
2003-12-12  8:03       ` Maxim Tyurin
2003-12-12  8:23         ` Sergey Vlasov [this message]
2003-12-12  8:34           ` Maxim Tyurin
2003-12-11 22:07     ` Vitaly Lipatov

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=20031212082357.GD1756@sirius.home \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git