Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

newfs_udf(8) [netbsd man page]

NEWFS_UDF(8)						    BSD System Manager's Manual 					      NEWFS_UDF(8)

NAME
newfs_udf -- construct a new UDF file system SYNOPSIS
newfs_udf [-cFM] [-L loglabel] [-P discid] [-p percentage] [-S setlabel] [-s size] [-t gmtoff] [-V max_udf] [-v min_udf] special DESCRIPTION
The newfs_udf utility creates an UDF file system on device special suitable for the media currently inserted. The options are as follow: -c Perform a crude surface check first to weed out disc faults on rewritable media. -F Force file system construction on non-empty recordable media. -L loglabel Set the disc logical label to the specified loglabel. -M Disable metadata partition creation when selected UDF version or media dictates this. For strict conformance and interchange, don't disable this unless its causing problems. -P discid Set the physical disc label to the specified discid. For strict conformance and interchange, don't set this manually. -p percentage Percentage of partition to be initially reserved for metadata on the Metadata partition. It defaults to 20 %. -S setlabel Set the disc set label to the specified setlabel. For strict conformance and interchange, don't set this manually. -s size Ignored for now. -t gmtoff Use the specified gmtoff as gmt time offset for recording times on the disc. -V max_udf Select max_udf as the maximum UDF version to be supported. For UDF version 2.50, use ``0x250'' or ``2.50''. -v min_udf Select min_udf as the minimum UDF version to be supported. For UDF version 2.01, use ``0x201'' or ``2.01''. NOTES
The UDF file system is defined for the entire optical medium. It can only function on the entire CD/DVD/BD so the raw partition has to be specified for read/write actions. For newfs_udf this means specifying the raw device with the raw partition, i.e. /dev/rcd0d or /dev/rcd0c. Some rewritable optical media needs to be formatted first before it can be used by UDF. This can be done using mmcformat(8). The default UDF version is version 2.01. EXAMPLES
newfs_udf -S "Encyclopedia" -L "volume 2" -P "copy-nr-1" /dev/rcd0d Create a file system, using the specified names on the device /dev/rcd0d with the default UDF version. dd if=/dev/zero of=bigdisk.2048.udf seek=9999999 count=1 vnconfig -c vnd0 bigdisk.2048.udf 2048/1/1/1 newfs_udf -L bigdisk /dev/rvnd0d Create a 4.8 GiB sparse file and configure it using vnconfig(8) to be a 2048 sector size disc and create a new UDF file system on /dev/rvnd0d. newfs_udf -L "My USB stick" /dev/rsd0d Create a new UDF file system on the inserted USB stick using its ``native'' sectorsize of 512. SEE ALSO
disktab(5), disklabel(8), mmcformat(8), newfs(8) HISTORY
The newfs_udf command first appeared in NetBSD 5.0. AUTHORS
Reinoud Zandijk <reinoud@NetBSD.org> BSD
December 23, 2009 BSD

Check Out this Related Man Page

MOUNT_UDF(8)						    BSD System Manager's Manual 					      MOUNT_UDF(8)

NAME
mount_udf -- mount an UDF file system SYNOPSIS
mount_udf [-c] [-g gid] [-o options] [-t gmtoff] [-s session] [-u uid] special node DESCRIPTION
The mount_udf command attaches the UDF file system residing on the specified special device node on the location indicated with node. Anonymous files stored on the UDF disc will be represented and saved in the specified uid:gid pair. If unspecified, it will default to nobody:nobody. Both uid and gid can be either specified with their names as with their numerical equivalents. -c Close the session after unmount creating remountable snapshots. Closing a session also allows -ROM devices to read the disc cre- ated. Note that this option only makes sense when mounting sequential recordable media like CD-R and DVD*R. -g gid Set the group of anonymous files on the file system. The default group is the nobody group. -o options Use the specified mount options as specified in mount(8). -s session Select the session session to be mounted instead of the default last one. Implements readonly snapshots on sequential media. Positive session values indicate an absolute session number. Negative session values are relative to the last session found on the disc. Note that this option only makes sense when mounting sequential recordable media like CD-R and DVD*R. -t gmtoff Set the time zone offset (in seconds) from UTC to gmtoff, with positive values indicating east of the Prime Meridian. If not set, the user's current time zone will be used. -u uid Set the owner of anonymous files on the file system. The default owner is the user nobody. SEE ALSO
mount(2), vnd(4), fstab(5), mount(8), umount(8), vnconfig(8) NOTES
UDF is a file system defined by the OSTA standardization group and is tailored for data interchange on optical discs (like CDs and DVDs) between different operating systems. Its also more and more common on other media like Compact Flash (CF) cards. Read and write access is supported for all media types that CD/DVD type drives can recognise including DVD-RAM. BluRay support is prelimi- nary; read-only access should work fine but write support is experimental. Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW, DVD-ROM, DVD*R, DVD*RW, DVD+MRW, DVD-RAM but the same code can also read HD-DVD and BluRay discs. Discs created and written by UDFclient, Nero's InCD, and Roxio's DirectCD/Drag2Disc can be read without problems. Both open and closed media are supported so there is no need to close discs or sessions. All current UDF versions up to version 2.60 are supported. Hard disk partitions and vnd(4) devices may also be mounted. Note when mounting a vnd(4) device it might be necessary to specify the file image sector size in the geomspec when creating the vnd(4) device or the disc sector size will be used. BUGS
Write support for UDF version 2.50 is not completely mature and UDF version 2.01 should be used if possible; this is also the default format. Due to lack of test media and recording devices, BluRay support and in particular BluRay-R is still preliminary as of writing. BSD
July 13, 2009 BSD
Man Page