Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/newfs_udf Small rewording of the examples section.
details: https://anonhg.NetBSD.org/src/rev/c0ac4f130942
branches: trunk
changeset: 787724:c0ac4f130942
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sat Jun 29 20:41:47 2013 +0000
description:
Small rewording of the examples section.
diffstat:
sbin/newfs_udf/newfs_udf.8 | 27 +++++++++++++--------------
1 files changed, 13 insertions(+), 14 deletions(-)
diffs (61 lines):
diff -r d5fb55e82c10 -r c0ac4f130942 sbin/newfs_udf/newfs_udf.8
--- a/sbin/newfs_udf/newfs_udf.8 Sat Jun 29 20:21:41 2013 +0000
+++ b/sbin/newfs_udf/newfs_udf.8 Sat Jun 29 20:41:47 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: newfs_udf.8,v 1.8 2011/04/28 17:17:51 wiz Exp $
+.\" $NetBSD: newfs_udf.8,v 1.9 2013/06/29 20:41:47 reinoud Exp $
.\"
.\" Copyright (c) 2008 Reinoud Zandijk
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd December 23, 2009
+.Dd June 29, 2013
.Dt NEWFS_UDF 8
.Os
.Sh NAME
@@ -119,31 +119,30 @@
.Pp
The default UDF version is version 2.01.
.Sh EXAMPLES
+Create a file system, using the specified names on the device
+.Pa /dev/rcd0d
+with the default UDF version :
.Bd -literal -offset indent
newfs_udf -S "Encyclopedia" -L "volume 2" -P "copy-nr-1" /dev/rcd0d
.Ed
.Pp
-Create a file system, using the specified names on the device
-.Pa /dev/rcd0d
-with the default UDF version.
-.Pp
+Create a 4.8 GiB sparse file and configure it using
+.Xr vnconfig 8
+to be a 2048 sector size disc and create a new UDF file system on
+.Pa /dev/rvnd0d
+:
.Bd -literal -offset indent
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
.Ed
.Pp
-Create a 4.8 GiB sparse file and configure it using
-.Xr vnconfig 8
-to be a 2048 sector size disc and create a new UDF file system on
-.Pa /dev/rvnd0d .
+Create a new UDF file system on the inserted USB stick using its
+.Dq native
+sectorsize of 512 :
.Bd -literal -offset indent
newfs_udf -L "My USB stick" /dev/rsd0d
.Ed
-.Pp
-Create a new UDF file system on the inserted USB stick using its
-.Dq native
-sectorsize of 512.
.Sh SEE ALSO
.Xr disktab 5 ,
.Xr disklabel 8 ,
Home |
Main Index |
Thread Index |
Old Index