Module Name: src
Committed By: reinoud
Date: Sat Jun 29 20:41:47 UTC 2013
Modified Files:
src/sbin/newfs_udf: newfs_udf.8
Log Message:
Small rewording of the examples section.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sbin/newfs_udf/newfs_udf.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_udf/newfs_udf.8
diff -u src/sbin/newfs_udf/newfs_udf.8:1.8 src/sbin/newfs_udf/newfs_udf.8:1.9
--- src/sbin/newfs_udf/newfs_udf.8:1.8 Thu Apr 28 17:17:51 2011
+++ src/sbin/newfs_udf/newfs_udf.8 Sat Jun 29 20:41:47 2013
@@ -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 @@ This can be done using
.Pp
The default UDF version is version 2.01.
.Sh EXAMPLES
-.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
+with the default UDF version :
.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
+newfs_udf -S "Encyclopedia" -L "volume 2" -P "copy-nr-1" /dev/rcd0d
.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 .
+.Pa /dev/rvnd0d
+:
.Bd -literal -offset indent
-newfs_udf -L "My USB stick" /dev/rsd0d
+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 new UDF file system on the inserted USB stick using its
.Dq native
-sectorsize of 512.
+sectorsize of 512 :
+.Bd -literal -offset indent
+newfs_udf -L "My USB stick" /dev/rsd0d
+.Ed
.Sh SEE ALSO
.Xr disktab 5 ,
.Xr disklabel 8 ,