[mdk-re] Еще один маразм RE.

Konstantin Volckov =?iso-8859-1?q?goldhead_=CE=C1_altlinux=2Eru?=
Пт Июн 22 19:47:00 MSD 2001


On Fri, 22 Jun 2001 17:35:46 +0400
Mikhail Nikitin <inform на uslugionline.ru> wrote:

> Вот только не пробовал я до сего дня диски вставлять
> в cd-rom....

:-)))
 
> Чума просто. Сначала я подумал что это supermount не понимает параметров
> iocharset=koi8-r,codepage=866. Отрубил его. Поставил iso9660 с ручным 
> монтированием.

Супермудонт не имеет никакого отношения к этим опциям - они передаются в
файловую систему, которая с помощью этого уродца монтируется.
 
> Добавил требуемые параметры. Монтируем. _ну_нету_русских букв в именах 
> файлов- одни вопросы....
> Если это _лучшая локализация_ .... да... у меня в Slackware 
> собственноручно руссифицированной
> хоть файлы по русски писались. Re, кстати из Sisyphus обновленный.

Специально посмотрел man mount. Опция с кодировками есть только для fat,
ntfs & udf. Для iso9660 подобного параметра не существует (соответственно
man mount). На самом деле ФС iso9660 можно передать только iocharset, т.к.
codepage (вместе c iocharset) имеет смысл только для расширения Joliet и
для Joliet codepage _всегда_ Unicode. Цитирую
/usr/src/linux/Documentation/filesystems/isofs.txt:

---cut---
Mount options that are the same as for msdos and vfat partitions.

  gid=nnn	All files in the partition will be in group nnn.
  uid=nnn	All files in the partition will be owned by user id nnn.
  umask=nnn	The permission mask (see umask(1)) for the partition.

Mount options that are the same as vfat partitions. These are only useful
when using discs encoded using Microsoft's Joliet extensions.
  iocharset=name Character set to use for converting from Unicode to
		ASCII.  Joliet filenames are stored in Unicode format, but
		Unix for the most part doesn't know how to deal with Unicode.
		There is also an option of doing UTF8 translations with the
		utf8 option.
  utf8          Encode Unicode names in UTF8 format. Default is no.

Mount options unique to the isofs filesystem.
  block=512     Set the block size for the disk to 512 bytes
  block=1024    Set the block size for the disk to 1024 bytes
  block=2048    Set the block size for the disk to 2048 bytes
  check=relaxed Matches filenames with different cases
  check=strict  Matches only filenames with the exact same case
  cruft         Try to handle badly formatted CDs.
  map=off       Do not map non-Rock Ridge filenames to lower case
  map=normal    Map non-Rock Ridge filenames to lower case
  map=acorn     As map=normal but also apply Acorn extensions if present
  mode=xxx      Sets the permissions on files to xxx
  nojoliet      Ignore Joliet extensions if they are present.
  norock        Ignore Rock Ridge extensions if they are present.
  unhide        Show hidden files.
  session=x     Select number of session on multisession CD
  sbsector=xxx  Session begins from sector xxx
---cut---

> Еще один маразм : кто придумал после umount вытаскивать cdrom?!!!
> Как отрубить эту штуку? Дико раздражает.... :(

Проверьте 'umount /dev/cdrom' на предмет alias'a на eject. В стандартном
Spring, равно как и в Sisyphus я такого не замечал.

-- 
Удачи,
Konstantin




Подробная информация о списке рассылки community