summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.8
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2005-01-21 22:20:25 +0000
committerwes <wes@FreeBSD.org>2005-01-21 22:20:25 +0000
commit926ee6068d8bd8c77c20eb932da7a6dc632937d0 (patch)
tree7fbfbe0303677bc55d5c8f4300d1d0ac2c58879f /sbin/newfs/newfs.8
parentbb68fc2b6ee344a5c2eecf55c47280bcfd199d8f (diff)
downloadFreeBSD-src-926ee6068d8bd8c77c20eb932da7a6dc632937d0.zip
FreeBSD-src-926ee6068d8bd8c77c20eb932da7a6dc632937d0.tar.gz
Add an option to suppress the creation of the .snap directory in
the new filesystem. This is intended for memory and vnode filesystems that will never be fsck'ed or dumped. Obtained from: St. Bernard Software RAPID MFC after: 2 weeks
Diffstat (limited to 'sbin/newfs/newfs.8')
-rw-r--r--sbin/newfs/newfs.817
1 files changed, 16 insertions, 1 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index 8cba772..48393e3 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -36,7 +36,7 @@
.Nd construct a new UFS1/UFS2 file system
.Sh SYNOPSIS
.Nm
-.Op Fl NUl
+.Op Fl NUln
.Op Fl L Ar volname
.Op Fl O Ar filesystem-type
.Op Fl S Ar sector-size
@@ -159,6 +159,20 @@ currently 8%.
See
.Xr tunefs 8
for more details on how to set this option.
+.It Fl n
+Do not create a .snap directory on the new filesystem.
+The resulting filesystem will not support snapshot generation, so
+.Xr dump 8
+in live mode and background
+.Xr fsck 8
+will not function properly.
+The traditional
+.Xr fsck 8
+and offline
+.Xr dump 8
+will work on the filesystem.
+This option is intended primarily for memory or vnode filesystems that
+do not require dump or fsck support.
.It Fl o Ar optimization
.Cm ( space
or
@@ -219,6 +233,7 @@ on file systems that contain many small files.
.Xr fs 5 ,
.Xr bsdlabel 8 ,
.Xr camcontrol 8 ,
+.Xr dump 8 ,
.Xr dumpfs 8 ,
.Xr fsck 8 ,
.Xr mount 8 ,
OpenPOWER on IntegriCloud