| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | * | 
|  | 2 | * Documentation/filesystems/udf.txt | 
|  | 3 | * | 
|  | 4 | UDF Filesystem version 0.9.8.1 | 
|  | 5 |  | 
|  | 6 | If you encounter problems with reading UDF discs using this driver, | 
|  | 7 | please report them to linux_udf@hpesjro.fc.hp.com, which is the | 
|  | 8 | developer's list. | 
|  | 9 |  | 
| Phillip Susi | 55aa601 | 2006-11-16 01:19:23 -0800 | [diff] [blame] | 10 | Write support requires a block driver which supports writing.  Currently | 
|  | 11 | dvd+rw drives and media support true random sector writes, and so a udf | 
|  | 12 | filesystem on such devices can be directly mounted read/write.  CD-RW | 
|  | 13 | media however, does not support this.  Instead the media can be formatted | 
|  | 14 | for packet mode using the utility cdrwtool, then the pktcdvd driver can | 
|  | 15 | be bound to the underlying cd device to provide the required buffering | 
|  | 16 | and read-modify-write cycles to allow the filesystem random sector writes | 
|  | 17 | while providing the hardware with only full packet writes.  While not | 
|  | 18 | required for dvd+rw media, use of the pktcdvd driver often enhances | 
|  | 19 | performance due to very poor read-modify-write support supplied internally | 
|  | 20 | by drive firmware. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 |  | 
|  | 22 | ------------------------------------------------------------------------------- | 
|  | 23 | The following mount options are supported: | 
|  | 24 |  | 
|  | 25 | gid=		Set the default group. | 
|  | 26 | umask=		Set the default umask. | 
| Marcin Slusarz | 7ac9bcd | 2008-11-16 20:52:19 +0100 | [diff] [blame] | 27 | mode=		Set the default file permissions. | 
|  | 28 | dmode=		Set the default directory permissions. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | uid=		Set the default user. | 
|  | 30 | bs=		Set the block size. | 
|  | 31 | unhide		Show otherwise hidden files. | 
|  | 32 | undelete	Show deleted files in lists. | 
|  | 33 | adinicb		Embed data in the inode (default) | 
|  | 34 | noadinicb	Don't embed data in the inode | 
|  | 35 | shortad		Use short ad's | 
|  | 36 | longad		Use long ad's (default) | 
|  | 37 | nostrict	Unset strict conformance | 
|  | 38 | iocharset=	Set the NLS character set | 
|  | 39 |  | 
| Phillip Susi | 0e6b3e5 | 2006-03-25 03:08:14 -0800 | [diff] [blame] | 40 | The uid= and gid= options need a bit more explaining.  They will accept a | 
|  | 41 | decimal numeric value which will be used as the default ID for that mount. | 
|  | 42 | They will also accept the string "ignore" and "forget".  For files on the disk | 
|  | 43 | that are owned by nobody ( -1 ), they will instead look as if they are owned | 
|  | 44 | by the default ID.  The ignore option causes the default ID to override all | 
|  | 45 | IDs on the disk, not just -1.  The forget option causes all IDs to be written | 
|  | 46 | to disk as -1, so when the media is later remounted, they will appear to be | 
|  | 47 | owned by whatever default ID it is mounted with at that time. | 
|  | 48 |  | 
|  | 49 | For typical desktop use of removable media, you should set the ID to that | 
|  | 50 | of the interactively logged on user, and also specify both the forget and | 
|  | 51 | ignore options.  This way the interactive user will always see the files | 
|  | 52 | on the disk as belonging to him. | 
|  | 53 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | The remaining are for debugging and disaster recovery: | 
|  | 55 |  | 
|  | 56 | novrs		Skip volume sequence recognition | 
|  | 57 |  | 
|  | 58 | The following expect a offset from 0. | 
|  | 59 |  | 
|  | 60 | session=	Set the CDROM session (default= last session) | 
|  | 61 | anchor=		Override standard anchor location. (default= 256) | 
|  | 62 | volume=		Override the VolumeDesc location. (unused) | 
|  | 63 | partition=	Override the PartitionDesc location. (unused) | 
|  | 64 | lastblock=	Set the last block of the filesystem/ | 
|  | 65 |  | 
|  | 66 | The following expect a offset from the partition root. | 
|  | 67 |  | 
|  | 68 | fileset=	Override the fileset block location. (unused) | 
|  | 69 | rootdir=	Override the root directory location. (unused) | 
|  | 70 | WARNING: overriding the rootdir to a non-directory may | 
|  | 71 | yield highly unpredictable results. | 
|  | 72 | ------------------------------------------------------------------------------- | 
|  | 73 |  | 
|  | 74 |  | 
|  | 75 | For the latest version and toolset see: | 
|  | 76 | http://linux-udf.sourceforge.net/ | 
|  | 77 |  | 
|  | 78 | Documentation on UDF and ECMA 167 is available FREE from: | 
|  | 79 | http://www.osta.org/ | 
|  | 80 | http://www.ecma-international.org/ | 
|  | 81 |  | 
|  | 82 | Ben Fennema <bfennema@falcon.csc.calpoly.edu> |