From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 14 Apr 2004 09:03:03 +0400 (MSD) From: "Alexey Novikov" Sender: Shader@yandex.ru Message-Id: <407CC607.000001.17090@ariel.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: Shader@yandex.ru To: sisyphus@altlinux.ru X-source-ip: 217.15.132.162 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit Subject: [sisyphus] isofs mount options in kernel 2.6 X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: Shader@yandex.ru, ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 05:03:04 -0000 Archived-At: List-Archive: Hi, All! Наткнулся тут на такой факт: в модуле isofs ядра 2.6.5 отсутствуют опции монтирования umask и codepage. Хотя они для меня и не критичны, но все же. Кстати, интересно, а RockRidge extension в какой кодировке держит имена файлов? А вообще изыскания привели к несоответствию доки ядра. А именно, /usr/share/doc/kernel-doc-std26-2.6.5/filesystems/isofs.txt: >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 > >Recommended documents about ISO 9660 standard are located at: >http://www.y-adagio.com/public/standards/iso_cdromr/tocont.htm >ftp://ftp.ecma.ch/ecma-st/Ecma-119.pdf >Quoting from the PDF "This 2nd Edition of Standard ECMA-119 is technically >identical with ISO 9660.", so it is a valid and gratis substitute of the >official ISO specification. Как видим, umask есть. Есть также ссылки на идентичность с опциями vfat. С другой стороны, linux-2.6.5/fs/isofs.c: >static match_table_t tokens = { > {Opt_norock, "norock"}, > {Opt_nojoliet, "nojoliet"}, > {Opt_unhide, "unhide"}, > {Opt_cruft, "cruft"}, > {Opt_utf8, "utf8"}, > {Opt_iocharset, "iocharset=%s"}, > {Opt_map_a, "map=acorn"}, > {Opt_map_a, "map=a"}, > {Opt_map_n, "map=normal"}, > {Opt_map_n, "map=n"}, > {Opt_map_o, "map=off"}, > {Opt_map_o, "map=o"}, > {Opt_session, "session=%u"}, > {Opt_sb, "sbsector=%u"}, > {Opt_check_r, "check=relaxed"}, > {Opt_check_r, "check=r"}, > {Opt_check_s, "check=strict"}, > {Opt_check_s, "check=s"}, > {Opt_uid, "uid=%u"}, > {Opt_gid, "gid=%u"}, > {Opt_mode, "mode=%u"}, > {Opt_block, "block=%u"}, > {Opt_ignore, "conv=binary"}, > {Opt_ignore, "conv=b"}, > {Opt_ignore, "conv=text"}, > {Opt_ignore, "conv=t"}, > {Opt_ignore, "conv=mtext"}, > {Opt_ignore, "conv=m"}, > {Opt_ignore, "conv=auto"}, > {Opt_ignore, "conv=a"}, > {Opt_nocompress, "nocompress"}, > {Opt_err, NULL} >}; Как видим здесь нет никакого упоминания про uamsk и codepage.:) Следовательно не работает...:( -- С уважением, Алексей Новиков