ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] SMBFS и кракозябры
@ 2008-09-08  8:07 Михаил Шувалов
  2008-09-08  8:14 ` Вадим Илларионов
  0 siblings, 1 reply; 4+ messages in thread
From: Михаил Шувалов @ 2008-09-08  8:07 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Добрый день!

Монтирую в /etc/fstab ресурс самбы такой строкой

//server/cat	/mnt/cat	smbfs	rw,users,uid=500,gid=500,iocharset=utf8,codepage=cp866,username=user,password=password

но вместо русских имен файлов кракозябры. Пробовал менять
codepage=cp1251 - результат тот же.

$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

Как побороть это горе?

-- 
С уважением,
Михаил Шувалов

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

* Re: [Comm] SMBFS и кракозябры
  2008-09-08  8:07 [Comm] SMBFS и кракозябры Михаил Шувалов
@ 2008-09-08  8:14 ` Вадим Илларионов
  2008-09-08  9:01   ` Михаил Шувалов
  0 siblings, 1 reply; 4+ messages in thread
From: Вадим Илларионов @ 2008-09-08  8:14 UTC (permalink / raw)
  To: community

Михаил Шувалов wrote:

> Добрый день!
> Монтирую в /etc/fstab ресурс самбы такой строкой
> 
> //server/cat  /mnt/cat        smbfs
>
rw,users,uid=500,gid=500,iocharset=utf8,codepage=cp866,username=user,password=password
> 
> но вместо русских имен файлов кракозябры. Пробовал менять
> codepage=cp1251 - результат тот же.
> 
> Как побороть это горе?

Попробуйте так:
//server/cat /mnt/cat cifs 
username=user,password=password,uid=500,gid=500,ip=IP.ADD.RE.SS,domain=DOMAIN,iocharset=utf8       

_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий    +7 495 6414045+5885
- мобильный  +7 916 3889337



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

* Re: [Comm] SMBFS и кракозябры
  2008-09-08  8:14 ` Вадим Илларионов
@ 2008-09-08  9:01   ` Михаил Шувалов
  2008-09-08 12:17     ` Вадим Илларионов
  0 siblings, 1 reply; 4+ messages in thread
From: Михаил Шувалов @ 2008-09-08  9:01 UTC (permalink / raw)
  To: ALT Linux Community general discussions

8 сентября 2008 г. 12:14 пользователь Вадим Илларионов написал:
>> Монтирую в /etc/fstab ресурс самбы такой строкой
>>
>> //server/cat  /mnt/cat        smbfs
>>
> rw,users,uid=500,gid=500,iocharset=utf8,codepage=cp866,username=user,password=password
>>
>> но вместо русских имен файлов кракозябры. Пробовал менять
>> codepage=cp1251 - результат тот же.
>>
>> Как побороть это горе?
>
> Попробуйте так:
> //server/cat /mnt/cat cifs
> username=user,password=password,uid=500,gid=500,ip=IP.ADD.RE.SS,domain=DOMAIN,iocharset=utf8
>
Спасибо, помогло. И тут же вопрос: где про cifs что-то сказано, ибо в
man mount окромя smbfs ничего нет.

-- 
С уважением,
Михаил Шувалов

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

* Re: [Comm] SMBFS и кракозябры
  2008-09-08  9:01   ` Михаил Шувалов
@ 2008-09-08 12:17     ` Вадим Илларионов
  0 siblings, 0 replies; 4+ messages in thread
From: Вадим Илларионов @ 2008-09-08 12:17 UTC (permalink / raw)
  To: community

Михаил Шувалов wrote:

> Спасибо, помогло. И тут же вопрос: где про cifs что-то сказано, ибо в
> man mount окромя smbfs ничего нет.

man mount.cifs
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий    +7 495 6414045+5885
- мобильный  +7 916 3889337



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

end of thread, other threads:[~2008-09-08 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08  8:07 [Comm] SMBFS и кракозябры Михаил Шувалов
2008-09-08  8:14 ` Вадим Илларионов
2008-09-08  9:01   ` Михаил Шувалов
2008-09-08 12:17     ` Вадим Илларионов

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