← Documents Documentation/filesystems/isofs.rst GitHub 원문 ↗

Linux 6.18.37 · Filesystems

ISO9660 Filesystem

ISO 9660, Joliet, Rock Ridge, multisession 마운트 옵션의 전문 번역입니다.

Source pathDocumentation/filesystems/isofs.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

isofs.rst:1-64

isofs 마운트 옵션은 소유권·권한, Joliet 문자 인코딩, Rock Ridge와 이름 변환, 숨김·associated 파일, multisession 선택을 제어합니다. 미디어의 확장 형식과 원하는 노출 정책에 맞춰 옵션을 조합해야 합니다.

ISO 9660 마운트 설정 축
영역대표 옵션
소유권·권한`uid`, `gid`, `umask`, `mode`, `dmode`
문자 인코딩`iocharset`, `utf8`
확장·이름`nojoliet`, `norock`, `map`, `check`
세션·가시성`session`, `sbsector`, `hide`, `showassoc`

옵션을 선택할 때 확인할 네 영역입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ==================
4 ISO9660 Filesystem
5 ==================
6
7 Mount options that are the same as for msdos and vfat partitions.
8
9 ========= ========================================================
10 gid=nnn All files in the partition will be in group nnn.
11 uid=nnn All files in the partition will be owned by user id nnn.
12 umask=nnn The permission mask (see umask(1)) for the partition.
13 ========= ========================================================
14
15 Mount options that are the same as vfat partitions. These are only useful
16 when using discs encoded using Microsoft's Joliet extensions.
17
18 ============== =============================================================
19 iocharset=name Character set to use for converting from Unicode to
20 ASCII. Joliet filenames are stored in Unicode format, but
21 Unix for the most part doesn't know how to deal with Unicode.
22 There is also an option of doing UTF-8 translations with the
23 utf8 option.
24 utf8 Encode Unicode names in UTF-8 format. Default is no.
25 ============== =============================================================
26
27 Mount options unique to the isofs filesystem.
28
29 ================= ============================================================
30 block=512 Set the block size for the disk to 512 bytes
31 block=1024 Set the block size for the disk to 1024 bytes
32 block=2048 Set the block size for the disk to 2048 bytes
33 check=relaxed Matches filenames with different cases
34 check=strict Matches only filenames with the exact same case
35 cruft Try to handle badly formatted CDs.
36 map=off Do not map non-Rock Ridge filenames to lower case
37 map=normal Map non-Rock Ridge filenames to lower case
38 map=acorn As map=normal but also apply Acorn extensions if present
39 mode=xxx Sets the permissions on files to xxx unless Rock Ridge
40 extensions set the permissions otherwise
41 dmode=xxx Sets the permissions on directories to xxx unless Rock Ridge
42 extensions set the permissions otherwise
43 overriderockperm Set permissions on files and directories according to
44 'mode' and 'dmode' even though Rock Ridge extensions are
45 present.
46 nojoliet Ignore Joliet extensions if they are present.
47 norock Ignore Rock Ridge extensions if they are present.
48 hide Completely strip hidden files from the file system.
49 showassoc Show files marked with the 'associated' bit
50 unhide Deprecated; showing hidden files is now default;
51 If given, it is a synonym for 'showassoc' which will
52 recreate previous unhide behavior
53 session=x Select number of session on multisession CD
54 sbsector=xxx Session begins from sector xxx
55 ================= ============================================================
56
57 Recommended documents about ISO 9660 standard are located at:
58
59 - http://www.y-adagio.com/
60 - ftp://ftp.ecma.ch/ecma-st/Ecma-119.pdf
61
62 Quoting from the PDF "This 2nd Edition of Standard ECMA-119 is technically
63 identical with ISO 9660.", so it is a valid and gratis substitute of the
64 official ISO specification.
65

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

msdos·vfat과 공통인 마운트 옵션

1-14

이 GPL-2.0 문서는 ISO 9660 파일시스템의 마운트 옵션을 설명합니다. `gid=nnn`은 파티션의 모든 파일이 속할 그룹을 지정하고, `uid=nnn`은 모든 파일의 소유 사용자 ID를 지정합니다.

`umask=nnn`은 파티션에 적용할 권한 마스크입니다. 정확한 마스크 계산 방식은 userspace 매뉴얼 `umask(1)`을 함께 참고해야 합니다.

공통 소유권·권한 옵션
옵션효과
`gid=nnn`모든 파일의 그룹을 nnn으로 설정
`uid=nnn`모든 파일의 사용자 ID를 nnn으로 설정
`umask=nnn`파티션 권한 마스크 설정

msdos와 vfat 파티션에도 같은 의미로 존재합니다.

.. SPDX-License-Identifier: GPL-2.0

==================
ISO9660 Filesystem
==================

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.
  =========        ========================================================

Joliet 디스크용 문자 인코딩 옵션

15-26

이 두 옵션은 vfat에도 있으며 Microsoft Joliet 확장으로 인코딩한 디스크를 사용할 때만 유용합니다.

`iocharset=name`은 Unicode에서 ASCII로 변환할 때 사용할 문자 집합을 지정합니다. Joliet 파일명은 Unicode 형식으로 저장되지만 전통적인 Unix 환경은 Unicode 처리가 제한적이므로 변환이 필요합니다. UTF-8 변환은 별도의 `utf8` 옵션으로 선택할 수도 있습니다.

`utf8`은 Unicode 이름을 UTF-8 형식으로 인코딩합니다. 기본값은 비활성화입니다.

Joliet 문자 이름 처리
옵션동작
`iocharset=name`지정한 문자 집합으로 Unicode를 변환
`utf8`Unicode 이름을 UTF-8로 인코딩, 기본값은 no

디스크의 Unicode 파일명을 커널이 노출하는 방식을 고릅니다.

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 UTF-8 translations with the
                utf8 option.
  utf8          Encode Unicode names in UTF-8 format. Default is no.
 ==============        =============================================================

isofs 고유 마운트 옵션

27-56

`block=512`, `block=1024`, `block=2048`은 디스크 블록 크기를 각각 512, 1024, 2048바이트로 설정합니다. `check=relaxed`는 대소문자가 달라도 파일명을 일치시키고, `check=strict`는 대소문자까지 정확히 같을 때만 일치시킵니다. `cruft`는 형식이 잘못된 CD를 처리하려고 시도합니다.

`map=off`는 Rock Ridge가 아닌 파일명을 소문자로 mapping하지 않습니다. `map=normal`은 그러한 이름을 소문자로 바꾸며, `map=acorn`은 normal 동작에 더해 존재할 경우 Acorn 확장도 적용합니다.

`mode=xxx`와 `dmode=xxx`는 각각 파일과 디렉터리 권한을 지정하지만 Rock Ridge 확장이 권한을 제공하면 그 값이 우선합니다. `overriderockperm`을 주면 Rock Ridge가 있어도 `mode`와 `dmode`에 따라 권한을 설정합니다.

`nojoliet`과 `norock`은 각각 존재하는 Joliet 확장과 Rock Ridge 확장을 무시합니다. `hide`는 숨김 파일을 파일시스템에서 완전히 제거하고, `showassoc`는 associated 비트가 표시된 파일을 보여줍니다. `unhide`는 폐기 예정이며 현재는 `showassoc`의 동의어로서 예전 unhide 동작을 재현합니다.

`session=x`는 multisession CD에서 사용할 세션 번호를 선택하고 `sbsector=xxx`는 세션이 시작하는 sector를 지정합니다.

isofs 고유 옵션의 기능군
기능군옵션
블록 크기`block=512|1024|2048`
이름 비교·변환`check=*`, `map=*`, `cruft`
권한`mode`, `dmode`, `overriderockperm`
확장·가시성`nojoliet`, `norock`, `hide`, `showassoc`, `unhide`
멀티세션`session`, `sbsector`

옵션을 블록, 이름, 권한, 확장, 세션 처리로 나눕니다.

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 unless Rock Ridge
                   extensions set the permissions otherwise
  dmode=xxx        Sets the permissions on directories to xxx unless Rock Ridge
                   extensions set the permissions otherwise
  overriderockperm Set permissions on files and directories according to
                   'mode' and 'dmode' even though Rock Ridge extensions are
                   present.
  nojoliet         Ignore Joliet extensions if they are present.
  norock           Ignore Rock Ridge extensions if they are present.
  hide                   Completely strip hidden files from the file system.
  showassoc           Show files marked with the 'associated' bit
  unhide           Deprecated; showing hidden files is now default;
                   If given, it is a synonym for 'showassoc' which will
                   recreate previous unhide behavior
  session=x        Select number of session on multisession CD
  sbsector=xxx     Session begins from sector xxx
 ================= ============================================================

ISO 9660과 ECMA-119 참고 문서

57-64

ISO 9660 표준에 관해 권장하는 자료는 `http://www.y-adagio.com/`과 `ftp://ftp.ecma.ch/ecma-st/Ecma-119.pdf`입니다.

문서가 인용한 PDF의 설명에 따르면 ECMA-119 표준 제2판은 ISO 9660과 기술적으로 동일합니다. 따라서 공식 ISO 명세를 대신해 무료로 이용할 수 있는 유효한 대체 자료입니다.

Recommended documents about ISO 9660 standard are located at:

- http://www.y-adagio.com/
- 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.