Up to [cvs.NetBSD.org] / src / tests / sbin / resize_ffs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pgoyette-compat-0407
Revision 1.5, Thu Dec 9 05:19:02 2010 UTC (9 years, 7 months ago) by riz
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.4: +1 -1 lines
Re-work the resize_ffs(8) tests: Put real data into file systems before resizing: the test data was randomly generated and is in pairs of files each a power-of-two and power-of-two plus one bytes to hopefully catch block and frag issues. Each test fills (nearly) the file system with test data. If shrinking, it removes enough data so that the shrunken file system will be large enough to accomodate the data. (It's done this way to hopefully ensure some or most of the data will need to be moved when shrinking). The files are then checked with MD5 against the known list. This particular method was chosen to reduce the amount of data checked in while still retaining reproducibility. There are more tests to come; since resize_ffs(8) currently does not support ffsv2 or byteswapped file systems, only a couple token expected-fail test cases for those were added. Also, only 8:1 blocksize:fragsize combinations are currently tested.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.