Page MenuHomeFreeBSD

D55999.id174037.diff
No OneTemporary

D55999.id174037.diff

diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -390,7 +390,9 @@
}
/* Use soft updates by default for UFS2 and above */
if (Uflag < 0)
- Uflag = Oflag > 1;
+ Uflag = Oflag > 1 && !Jflag;
+ if (Uflag && Jflag)
+ errx(1, "Cannot enable both soft updates and GEOM journaling");
realsectorsize = sectorsize;
if (sectorsize != DEV_BSIZE) { /* XXX */
int secperblk = sectorsize / DEV_BSIZE;

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 11:56 AM (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30088265
Default Alt Text
D55999.id174037.diff (461 B)

Event Timeline