ia64/linux-2.6.18-xen.hg

view Documentation/filesystems/adfs.txt @ 912:dd42cdb0ab89

[IA64] Build blktap2 driver by default in x86 builds.

add CONFIG_XEN_BLKDEV_TAP2=y to buildconfigs/linux-defconfig_xen_ia64.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 12:09:16 2009 +0900 (2009-06-29)
parents 831230e53067
children
line source
1 Mount options for ADFS
2 ----------------------
4 uid=nnn All files in the partition will be owned by
5 user id nnn. Default 0 (root).
6 gid=nnn All files in the partition willbe in group
7 nnn. Default 0 (root).
8 ownmask=nnn The permission mask for ADFS 'owner' permissions
9 will be nnn. Default 0700.
10 othmask=nnn The permission mask for ADFS 'other' permissions
11 will be nnn. Default 0077.
13 Mapping of ADFS permissions to Linux permissions
14 ------------------------------------------------
16 ADFS permissions consist of the following:
18 Owner read
19 Owner write
20 Other read
21 Other write
23 (In older versions, an 'execute' permission did exist, but this
24 does not hold the same meaning as the Linux 'execute' permission
25 and is now obsolete).
27 The mapping is performed as follows:
29 Owner read -> -r--r--r--
30 Owner write -> --w--w---w
31 Owner read and filetype UnixExec -> ---x--x--x
32 These are then masked by ownmask, eg 700 -> -rwx------
33 Possible owner mode permissions -> -rwx------
35 Other read -> -r--r--r--
36 Other write -> --w--w--w-
37 Other read and filetype UnixExec -> ---x--x--x
38 These are then masked by othmask, eg 077 -> ----rwxrwx
39 Possible other mode permissions -> ----rwxrwx
41 Hence, with the default masks, if a file is owner read/write, and
42 not a UnixExec filetype, then the permissions will be:
44 -rw-------
46 However, if the masks were ownmask=0770,othmask=0007, then this would
47 be modified to:
48 -rw-rw----
50 There is no restriction on what you can do with these masks. You may
51 wish that either read bits give read access to the file for all, but
52 keep the default write protection (ownmask=0755,othmask=0577):
54 -rw-r--r--
56 You can therefore tailor the permission translation to whatever you
57 desire the permissions should be under Linux.