Hi,

>From newfs(8):
The special file should be a raw device, for example /dev/rsd0a; if a
relative path like sd0a is specified, the corresponding raw device is
used.

Right now:
# newfs /dev/sd5m
newfs: /dev/sd5m: block device
# newfs /dev/rsd5m
/dev/rsd5m: blah blah works as expected

So I guess it's either a relative path and a block device is fine, or
if you use the absolute path, you must pick the raw device.

Cheers,
Daniel

Index: faq/faq14.html
===================================================================
RCS file: /cvs/www/faq/faq14.html,v
retrieving revision 1.296
diff -u -p -r1.296 faq14.html
--- faq/faq14.html      28 Feb 2016 07:24:37 -0000      1.296
+++ faq/faq14.html      7 Mar 2016 17:55:39 -0000
@@ -917,7 +917,7 @@ Re-type passphrase:
 softraid0: CRYPTO volume attached as sd1
 # <b>dd if=/dev/zero of=/dev/rsd1c bs=1m count=1</b>
 # <b>disklabel -E sd1</b> (create an "i" partition, see above for more info)
-# <b>newfs /dev/sd1i</b>
+# <b>newfs /dev/rsd1i</b>
 # <b>mkdir -p /mnt/secretstuff</b>
 # <b>mount /dev/sd0i /mnt/secretstuff</b>
 # <b>mv planstotakeovertheworld.txt /mnt/secretstuff/</b>

Reply via email to