2009-07-13 21:58:10 +04:00
|
|
|
.\" $NetBSD: mount_udf.8,v 1.12 2009/07/13 17:58:10 reinoud Exp $
|
2006-02-02 18:21:29 +03:00
|
|
|
.\"
|
2008-05-15 11:03:17 +04:00
|
|
|
.\" Copyright (c) 2006, 2008 Reinoud Zandijk
|
2006-02-02 18:21:29 +03:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed for the
|
|
|
|
.\" NetBSD Project. See http://www.NetBSD.org/ for
|
|
|
|
.\" information about NetBSD.
|
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
|
|
|
|
.\"
|
2009-07-13 21:58:10 +04:00
|
|
|
.Dd July 13, 2009
|
2006-02-02 18:21:29 +03:00
|
|
|
.Dt MOUNT_UDF 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mount_udf
|
|
|
|
.Nd mount an UDF file system
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2009-02-08 22:28:49 +03:00
|
|
|
.Op Fl c
|
2006-02-02 18:21:29 +03:00
|
|
|
.Op Fl g Ar gid
|
|
|
|
.Op Fl o Ar options
|
|
|
|
.Op Fl t Ar gmtoff
|
2008-05-15 11:03:17 +04:00
|
|
|
.Op Fl s Ar session
|
2006-02-02 18:21:29 +03:00
|
|
|
.Op Fl u Ar uid
|
2006-02-04 21:35:49 +03:00
|
|
|
.Ar special
|
|
|
|
.Ar node
|
2006-02-02 18:21:29 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command attaches the UDF file system residing on the specified
|
2006-02-04 21:35:49 +03:00
|
|
|
.Ar special
|
2006-02-02 18:21:29 +03:00
|
|
|
device node on the location indicated with
|
2006-02-04 21:35:49 +03:00
|
|
|
.Ar node .
|
2006-02-02 18:21:29 +03:00
|
|
|
.Pp
|
|
|
|
Anonymous files stored on the UDF disc will be represented and saved in the
|
2006-02-04 21:35:49 +03:00
|
|
|
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.
|
2006-02-02 18:21:29 +03:00
|
|
|
.Bl -tag -width XXXoptions
|
2009-02-08 22:28:49 +03:00
|
|
|
.It Fl c
|
2009-02-09 00:56:57 +03:00
|
|
|
Close the session after unmount creating remountable snapshots.
|
|
|
|
Closing a session also allows -ROM devices to read the disc created.
|
|
|
|
Note that this option only makes sense when mounting sequential
|
|
|
|
recordable media like CD-R and DVD*R.
|
2006-02-02 18:21:29 +03:00
|
|
|
.It Fl g Ar gid
|
2006-02-04 21:35:49 +03:00
|
|
|
Set the group of anonymous files on the file system.
|
|
|
|
The default group is the nobody group.
|
2006-02-02 18:21:29 +03:00
|
|
|
.It Fl o Ar options
|
|
|
|
Use the specified mount
|
|
|
|
.Ar options
|
|
|
|
as specified in
|
|
|
|
.Xr mount 8 .
|
|
|
|
.It Fl s Ar session
|
|
|
|
Select the session
|
|
|
|
.Ar session
|
2009-02-09 00:56:57 +03:00
|
|
|
to be mounted instead of the default last one.
|
|
|
|
Implements readonly snapshots on sequential media.
|
2006-02-04 21:35:49 +03:00
|
|
|
Positive
|
2006-02-02 18:21:29 +03:00
|
|
|
.Ar session
|
2006-02-04 21:35:49 +03:00
|
|
|
values indicate an absolute session number.
|
|
|
|
Negative
|
2006-02-02 18:21:29 +03:00
|
|
|
.Ar session
|
2006-02-03 11:28:39 +03:00
|
|
|
values are relative to the last session found on the disc.
|
2006-02-04 21:35:49 +03:00
|
|
|
Note that this option only makes sense when mounting sequential
|
|
|
|
recordable media like CD-R and DVD*R.
|
2006-02-02 18:21:29 +03:00
|
|
|
.It Fl t Ar gmtoff
|
|
|
|
Set the time zone offset (in seconds) from UTC to
|
2006-02-04 21:35:49 +03:00
|
|
|
.Ar gmtoff ,
|
2006-02-02 18:21:29 +03:00
|
|
|
with positive values indicating east of the Prime Meridian.
|
|
|
|
If not set, the user's current time zone will be used.
|
|
|
|
.It Fl u Ar uid
|
2006-02-04 21:35:49 +03:00
|
|
|
Set the owner of anonymous files on the file system.
|
|
|
|
The default owner is the user nobody.
|
2006-02-02 18:21:29 +03:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr mount 2 ,
|
2006-02-04 21:35:49 +03:00
|
|
|
.Xr vnd 4 ,
|
2006-02-02 18:21:29 +03:00
|
|
|
.Xr fstab 5 ,
|
2006-02-02 19:45:06 +03:00
|
|
|
.Xr mount 8 ,
|
2006-02-04 21:35:49 +03:00
|
|
|
.Xr umount 8 ,
|
|
|
|
.Xr vnconfig 8
|
2006-02-02 18:21:29 +03:00
|
|
|
.Sh NOTES
|
2006-02-04 21:35:49 +03:00
|
|
|
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
|
2006-02-02 18:21:29 +03:00
|
|
|
Flash (CF) cards.
|
|
|
|
.Pp
|
2008-08-08 22:22:01 +04:00
|
|
|
Read and write access is supported for all media types that CD/DVD type drives
|
2009-02-09 00:56:57 +03:00
|
|
|
can recognise including DVD-RAM.
|
|
|
|
BluRay support is preliminary; read-only
|
2008-08-08 22:22:01 +04:00
|
|
|
access should work fine but write support is experimental.
|
2006-02-02 18:21:29 +03:00
|
|
|
.Pp
|
2006-02-04 21:35:49 +03:00
|
|
|
Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
|
2008-08-08 22:22:01 +04:00
|
|
|
DVD-ROM, DVD*R, DVD*RW, DVD+MRW, DVD-RAM but the same code can also read
|
|
|
|
HD-DVD and BluRay discs.
|
2006-02-04 21:35:49 +03:00
|
|
|
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.
|
2006-02-02 18:21:29 +03:00
|
|
|
.Pp
|
2006-02-06 14:45:50 +03:00
|
|
|
All current UDF versions up to version 2.60 are supported.
|
2006-02-02 19:45:06 +03:00
|
|
|
.Pp
|
2006-02-06 14:45:50 +03:00
|
|
|
Hard disk partitions and
|
2006-02-02 19:45:06 +03:00
|
|
|
.Xr vnd 4
|
2006-02-04 21:35:49 +03:00
|
|
|
devices may also be mounted.
|
|
|
|
Note when mounting a
|
2006-02-02 19:45:06 +03:00
|
|
|
.Xr vnd 4
|
2006-02-04 21:35:49 +03:00
|
|
|
device it might be necessary to specify the file image sector size
|
|
|
|
in the
|
2006-02-02 19:45:06 +03:00
|
|
|
.Pa geomspec
|
|
|
|
when creating the
|
|
|
|
.Xr vnd 4
|
|
|
|
device or the disc sector size will be used.
|
2006-02-02 18:21:29 +03:00
|
|
|
.Sh BUGS
|
2008-08-08 22:22:01 +04:00
|
|
|
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.
|
|
|
|
.Pp
|
|
|
|
Due to lack of test media and recording devices, BluRay support and in
|
|
|
|
particular BluRay-R is still preliminary as of writing.
|