Bug 246985

Summary: `newfs -R` is incomplete
Product: Base System Reporter: goatshit54108
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: pat, pi
Priority: ---    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description goatshit54108 2020-06-04 16:09:55 UTC
`newfs -R` has the purpose of enforcing reproducible output, i.e. to be independent of time or random seeds. However, it is incomplete, because sbput(3) writes a fresh time() sample into the `struct fs` variable: see ffs_sbput() in sys/ufs/ffs/ffs_subr.c.