2006-02-06 14:45:50 +03:00
|
|
|
.\" $NetBSD: mount_udf.8,v 1.6 2006/02/06 11:45:50 reinoud Exp $
|
2006-02-02 18:21:29 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2005 Reinoud Zandijk
|
|
|
|
.\" 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>>
|
|
|
|
.\"
|
|
|
|
.Dd January 26, 2006
|
|
|
|
.Dt MOUNT_UDF 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mount_udf
|
|
|
|
.Nd mount an UDF file system
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.\".Op Fl c
|
|
|
|
.Op Fl g Ar gid
|
|
|
|
.Op Fl o Ar options
|
|
|
|
.Op Fl t Ar gmtoff
|
|
|
|
.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
|
2006-02-04 21:35:49 +03:00
|
|
|
.\" .It Fl c
|
|
|
|
.\" Close the CD/DVD session after unmount (writing).
|
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
|
2006-02-04 21:35:49 +03:00
|
|
|
to be mounted instead of the default last one.
|
|
|
|
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
|
2006-02-04 21:35:49 +03:00
|
|
|
Currently only read access is supported for all media types that
|
2006-02-06 14:45:50 +03:00
|
|
|
CD/DVD type drives can recognise including DVD-RAM and BluRay
|
2006-02-04 21:35:49 +03:00
|
|
|
drives.
|
|
|
|
Write access is planned and in preparation.
|
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,
|
|
|
|
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read
|
|
|
|
DVD-RAM, 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.
|
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
|
2006-02-04 21:35:49 +03:00
|
|
|
Due to lack of test media, versions 2.50 and 2.60 are prepared but
|
|
|
|
not implemented and tested yet.
|