ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexey Novikov" <Shader@yandex.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] isofs mount options in kernel 2.6
Date: Wed, 14 Apr 2004 09:03:03 +0400 (MSD)
Message-ID: <407CC607.000001.17090@ariel.yandex.ru> (raw)

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.:)
Следовательно не работает...:(

-- 
С уважением,
Алексей Новиков



                 reply	other threads:[~2004-04-14  5:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=407CC607.000001.17090@ariel.yandex.ru \
    --to=shader@yandex.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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