Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153150054
D55999.id174037.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
461 B
Referenced Files
None
Subscribers
None
D55999.id174037.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D55999: newfs: Don't combine GEOM journaling with SU
Attached
Detach File
Event Timeline
Log In to Comment