Skip to content

Instantly share code, notes, and snippets.

@mattmacy
Created March 29, 2018 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmacy/b9f1a5e26a39752d546d26daa76e75d7 to your computer and use it in GitHub Desktop.
Save mattmacy/b9f1a5e26a39752d546d26daa76e75d7 to your computer and use it in GitHub Desktop.
mmacy@VogonPoetry [~/devel/freebsd|0:04|17] git diff
diff --git a/usr.sbin/makefs/ffs.c b/usr.sbin/makefs/ffs.c
index 14d7714b8db..a22a89bb5a8 100644
--- a/usr.sbin/makefs/ffs.c
+++ b/usr.sbin/makefs/ffs.c
@@ -115,16 +115,14 @@ __FBSDID("$FreeBSD$");
/*
* Various file system defaults (cribbed from newfs(8)).
*/
-#define DFL_FRAGSIZE 1024 /* fragment size */
-#define DFL_BLKSIZE 8192 /* block size */
+#define DFL_FRAGSIZE 8192 /* fragment size */
+#define DFL_BLKSIZE 65536 /* block size */
#define DFL_SECSIZE 512 /* sector size */
#define DFL_CYLSPERGROUP 65536 /* cylinders per group */
#define DFL_FRAGSPERINODE 4 /* fragments per inode */
#define DFL_ROTDELAY 0 /* rotational delay */
#define DFL_NRPOS 1 /* rotational positions */
-#define DFL_RPM 3600 /* rpm of disk */
#define DFL_NSECTORS 64 /* # of sectors */
-#define DFL_NTRACKS 16 /* # of tracks */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment