ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] X-CD-Roast Settings for Russian filenames?
@ 2003-08-02 15:14 Artyom
  0 siblings, 0 replies; only message in thread
From: Artyom @ 2003-08-02 15:14 UTC (permalink / raw)
  To: community

Re: [Comm] X-CD-Roast Settings for Russian filenames?

> > > Не подскажете ли как настроить X-CD-Roast, чтобы он писал диски с
> > > данными с русскими именами файлов, которые бы правильно читались в
> > > Windows?(в Линукс я использую Koi8-r)
> >
> > В настройках есть параметр (точно не вспомню) Force output charsete и
> > список кодировок. Вибирай любую.
>
> Мне нужно, чтобы диски правильно читались и в Линукс и в Виндовс.
> А так получится, что они будут читаться правильно только в Виндах (если
> выбрать Output charset - CP1251)
> Есть ли настоящее решение?
> Или вы всё испытытали и ваши диски читаются и там и там?

Нет, я проверил всё и русские имена файлов и директорий читаются либо в 
Линуксе (если выбирать Output charset = KOI8-R) или в Виндовс (если выбирать 
CP1251). Причём в какой кодировке монтируется CD-ROM в etc/fstab не играет 
вообще никакой роли (!) - всё читается правильно вне зависимости от 
установленной там кодировки.

А если использовать консоль, то всё работает и там и там:
# Recording on CD-R a content of directory /home/a/Disk with volume label 
My_label:

/usr/bin/mkisofs -R -J -f -jcharset=koi8-r -V My_label /home/a/Disk | 
/usr/bin/cdrecord -dev=0,0,0 -v -eject -multi -speed=16 -data -

Я не поленился посмотреть описания ключей, используемых mksofs  и вот что 
обнаружил:

mksofs options =============================================

     -R     Generate  SUSP  and RR records using the Rock Ridge
              protocol to  further  describe  the  files  on  the
              iso9660 filesystem.

     -J     Generate  Joliet  directory  records in addition to
              regular iso9660 file names.  This is primarily use-
              ful  when the discs are to be used on Windows-NT or
              Windows-95  machines.   The  Joliet  filenames  are
              specified in Unicode and each path component can be
              up to 64 Unicode characters long.  Note that Joliet
              is  no  standard - CD's that use only Joliet exten-
              sions but no standard  Rock  Ridge  extensions  may
              usually  only  be  used on Microsoft Win32 systems.
              Furthermore, the fact that the filenames  are  lim-
              ited to 64 characters and the fact that Joliet uses
              the UTF-16 coding  for  Unicode  characters  causes
              interoperability problems.

      -f     Follow symbolic links when generating the  filesys-
              tem.   When  this  option  is  not in use, symbolic
              links will be entered using Rock Ridge if  enabled,
              otherwise the file will be ignored.

       -jcharset charset
              Same   as   using  -input-charset  charset  and  -J
              options. See CHARACTER SETS section below for  more
              details.
======================================================

Как их соотнести с опциями в XCDRoast я пока не понял.
У меня опции выставлены были по умолчанию на генерацию файловой системы Rock 
Ridge + Jouliet. Я там ничего не менял.

Кто уже разобрался?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-02 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02 15:14 [Comm] X-CD-Roast Settings for Russian filenames? Artyom

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