Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/newfs Add note saying that special must be a raw device.



details:   https://anonhg.NetBSD.org/src/rev/51f700d528af
branches:  trunk
changeset: 749519:51f700d528af
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Dec 01 10:56:33 2009 +0000

description:
Add note saying that special must be a raw device.
PR bin/42391

diffstat:

 sbin/newfs/newfs.8 |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r c028c0df2e11 -r 51f700d528af sbin/newfs/newfs.8
--- a/sbin/newfs/newfs.8        Tue Dec 01 09:56:59 2009 +0000
+++ b/sbin/newfs/newfs.8        Tue Dec 01 10:56:33 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: newfs.8,v 1.74 2009/07/01 02:43:34 uwe Exp $
+.\"    $NetBSD: newfs.8,v 1.75 2009/12/01 10:56:33 pooka Exp $
 .\"
 .\" Copyright (c) 1983, 1987, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)newfs.8    8.6 (Berkeley) 5/3/95
 .\"
-.Dd May 10, 2009
+.Dd December 1, 2009
 .Dt NEWFS 8
 .Os
 .Sh NAME
@@ -347,6 +347,18 @@
 only if the last character of
 .Ar special
 references the same partition as the minor device number.
+.Pp
+Unless
+.Fl F
+is specified,
+.Ar special
+must be a raw device.
+This means that for example
+.Pa wd0a
+or
+.Pa /dev/rwd0a
+must be specified instead of
+.Pa /dev/wd0a .
 .Sh SEE ALSO
 .Xr fstat 2 ,
 .Xr disktab 5 ,



Home | Main Index | Thread Index | Old Index