···53535454 session= Set the CDROM session (default= last session)5555 anchor= Override standard anchor location. (default= 256)5656- volume= Override the VolumeDesc location. (unused)5757- partition= Override the PartitionDesc location. (unused)5856 lastblock= Set the last block of the filesystem/59576060-The following expect a offset from the partition root.6161-6262- fileset= Override the fileset block location. (unused)6363- rootdir= Override the root directory location. (unused)6464- WARNING: overriding the rootdir to a non-directory may6565- yield highly unpredictable results.6658-------------------------------------------------------------------------------67596860
+1-27
fs/udf/super.c
···222222 unsigned int session;223223 unsigned int lastblock;224224 unsigned int anchor;225225- unsigned int volume;226226- unsigned short partition;227227- unsigned int fileset;228228- unsigned int rootdir;229225 unsigned int flags;230226 umode_t umask;231227 kgid_t gid;···362366 seq_printf(seq, ",lastblock=%u", sbi->s_last_block);363367 if (sbi->s_anchor != 0)364368 seq_printf(seq, ",anchor=%u", sbi->s_anchor);365365- /*366366- * volume, partition, fileset and rootdir seem to be ignored367367- * currently368368- */369369 if (UDF_QUERY_FLAG(sb, UDF_FLAG_UTF8))370370 seq_puts(seq, ",utf8");371371 if (UDF_QUERY_FLAG(sb, UDF_FLAG_NLS_MAP) && sbi->s_nls_map)···474482 int option;475483476484 uopt->novrs = 0;477477- uopt->partition = 0xFFFF;478485 uopt->session = 0xFFFFFFFF;479486 uopt->lastblock = 0;480487 uopt->anchor = 0;481481- uopt->volume = 0xFFFFFFFF;482482- uopt->rootdir = 0xFFFFFFFF;483483- uopt->fileset = 0xFFFFFFFF;484488 uopt->nls_map = NULL;485489486490 if (!options)···565577 uopt->anchor = option;566578 break;567579 case Opt_volume:568568- if (match_int(args, &option))569569- return 0;570570- uopt->volume = option;571571- break;572580 case Opt_partition:573573- if (match_int(args, &option))574574- return 0;575575- uopt->partition = option;576576- break;577581 case Opt_fileset:578578- if (match_int(args, &option))579579- return 0;580580- uopt->fileset = option;581581- break;582582 case Opt_rootdir:583583- if (match_int(args, &option))584584- return 0;585585- uopt->rootdir = option;583583+ /* Ignored (never implemented properly) */586584 break;587585 case Opt_utf8:588586 uopt->flags |= (1 << UDF_FLAG_UTF8);