1c9817ad5SMauro Carvalho Chehab.. SPDX-License-Identifier: GPL-2.0 2c9817ad5SMauro Carvalho Chehab 3c9817ad5SMauro Carvalho Chehab=============== 4c9817ad5SMauro Carvalho ChehabUDF file system 5c9817ad5SMauro Carvalho Chehab=============== 6c9817ad5SMauro Carvalho Chehab 7c9817ad5SMauro Carvalho ChehabIf you encounter problems with reading UDF discs using this driver, 8c9817ad5SMauro Carvalho Chehabplease report them according to MAINTAINERS file. 9c9817ad5SMauro Carvalho Chehab 10c9817ad5SMauro Carvalho ChehabWrite support requires a block driver which supports writing. Currently 11c9817ad5SMauro Carvalho Chehabdvd+rw drives and media support true random sector writes, and so a udf 12c9817ad5SMauro Carvalho Chehabfilesystem on such devices can be directly mounted read/write. CD-RW 13c9817ad5SMauro Carvalho Chehabmedia however, does not support this. Instead the media can be formatted 14c9817ad5SMauro Carvalho Chehabfor packet mode using the utility cdrwtool, then the pktcdvd driver can 15c9817ad5SMauro Carvalho Chehabbe bound to the underlying cd device to provide the required buffering 16c9817ad5SMauro Carvalho Chehaband read-modify-write cycles to allow the filesystem random sector writes 17c9817ad5SMauro Carvalho Chehabwhile providing the hardware with only full packet writes. While not 18c9817ad5SMauro Carvalho Chehabrequired for dvd+rw media, use of the pktcdvd driver often enhances 19c9817ad5SMauro Carvalho Chehabperformance due to very poor read-modify-write support supplied internally 20c9817ad5SMauro Carvalho Chehabby drive firmware. 21c9817ad5SMauro Carvalho Chehab 22c9817ad5SMauro Carvalho Chehab------------------------------------------------------------------------------- 23c9817ad5SMauro Carvalho Chehab 24c9817ad5SMauro Carvalho ChehabThe following mount options are supported: 25c9817ad5SMauro Carvalho Chehab 26c9817ad5SMauro Carvalho Chehab =========== ====================================== 27c9817ad5SMauro Carvalho Chehab gid= Set the default group. 28c9817ad5SMauro Carvalho Chehab umask= Set the default umask. 29c9817ad5SMauro Carvalho Chehab mode= Set the default file permissions. 30c9817ad5SMauro Carvalho Chehab dmode= Set the default directory permissions. 31c9817ad5SMauro Carvalho Chehab uid= Set the default user. 32c9817ad5SMauro Carvalho Chehab bs= Set the block size. 33c9817ad5SMauro Carvalho Chehab unhide Show otherwise hidden files. 34c9817ad5SMauro Carvalho Chehab undelete Show deleted files in lists. 35c9817ad5SMauro Carvalho Chehab adinicb Embed data in the inode (default) 36c9817ad5SMauro Carvalho Chehab noadinicb Don't embed data in the inode 37c9817ad5SMauro Carvalho Chehab shortad Use short ad's 38c9817ad5SMauro Carvalho Chehab longad Use long ad's (default) 39c9817ad5SMauro Carvalho Chehab nostrict Unset strict conformance 40c9817ad5SMauro Carvalho Chehab iocharset= Set the NLS character set 41c9817ad5SMauro Carvalho Chehab =========== ====================================== 42c9817ad5SMauro Carvalho Chehab 43c9817ad5SMauro Carvalho ChehabThe uid= and gid= options need a bit more explaining. They will accept a 44c9817ad5SMauro Carvalho Chehabdecimal numeric value and all inodes on that mount will then appear as 45c9817ad5SMauro Carvalho Chehabbelonging to that uid and gid. Mount options also accept the string "forget". 46c9817ad5SMauro Carvalho ChehabThe forget option causes all IDs to be written to disk as -1 which is a way 47c9817ad5SMauro Carvalho Chehabof UDF standard to indicate that IDs are not supported for these files . 48c9817ad5SMauro Carvalho Chehab 49c9817ad5SMauro Carvalho ChehabFor typical desktop use of removable media, you should set the ID to that of 50c9817ad5SMauro Carvalho Chehabthe interactively logged on user, and also specify the forget option. This way 51c9817ad5SMauro Carvalho Chehabthe interactive user will always see the files on the disk as belonging to him. 52c9817ad5SMauro Carvalho Chehab 53c9817ad5SMauro Carvalho ChehabThe remaining are for debugging and disaster recovery: 54c9817ad5SMauro Carvalho Chehab 55c9817ad5SMauro Carvalho Chehab ===== ================================ 56c9817ad5SMauro Carvalho Chehab novrs Skip volume sequence recognition 57c9817ad5SMauro Carvalho Chehab ===== ================================ 58c9817ad5SMauro Carvalho Chehab 59c9817ad5SMauro Carvalho ChehabThe following expect a offset from 0. 60c9817ad5SMauro Carvalho Chehab 61c9817ad5SMauro Carvalho Chehab ========== ================================================= 62c9817ad5SMauro Carvalho Chehab session= Set the CDROM session (default= last session) 63c9817ad5SMauro Carvalho Chehab anchor= Override standard anchor location. (default= 256) 64c9817ad5SMauro Carvalho Chehab lastblock= Set the last block of the filesystem/ 65c9817ad5SMauro Carvalho Chehab ========== ================================================= 66c9817ad5SMauro Carvalho Chehab 67c9817ad5SMauro Carvalho Chehab------------------------------------------------------------------------------- 68c9817ad5SMauro Carvalho Chehab 69c9817ad5SMauro Carvalho Chehab 70c9817ad5SMauro Carvalho ChehabFor the latest version and toolset see: 71c9817ad5SMauro Carvalho Chehab https://github.com/pali/udftools 72c9817ad5SMauro Carvalho Chehab 73c9817ad5SMauro Carvalho ChehabDocumentation on UDF and ECMA 167 is available FREE from: 74c9817ad5SMauro Carvalho Chehab - http://www.osta.org/ 75*248727a4SAlexander A. Klimov - https://www.ecma-international.org/ 76