|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.8 |
20-Apr-2024 |
rillig |
{usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT
While here, re-enable lint in those cases where lint was skipped due to a bug in interpreting abstract types, which was fixed in cgram.y 1.469 from 2023-08-02.
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| 1.7 |
14-Sep-2021 |
rillig |
sbin: enable lint for almost all programs
The programs fsck_lfs and newfs_lfs both trigger a longstanding bug in lint that is difficult to fix, so ignore them for now.
For resize_ffs, lint thinks that 'struct fs' is incomplete, but GCC and Clang accept it. Needs further investigation.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.6 |
24-May-2020 |
jmcneill |
Use getfsspecname and getrawdiskname so we can resize by NAME= label.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.5 |
06-Apr-2015 |
jmcneill |
if the -p flag is specified, display a progress bar while growing the file-system
|
|
Revision tags: netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| 1.4 |
15-Aug-2011 |
dholland |
branches: 1.4.20; WARNS = 4
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
| 1.3 |
05-Jan-2011 |
riz |
Add support for byteswapped file systems (big-endian on little-endian host, and vice versa), to fix PR#44203.
Add support for growing (but not yet shrinking) UFS2 file systems. Partially addresses PR#44205.
While I'm here, reformat the code for closer adherence to KNF.
Fairly extensive testing was performed, using the shortly-to-be-committed updated ATF tests. Patch posted to tech-userlevel on 21 December 2010, no comments.
|
|
Revision tags: matt-mips64-premerge-20101231 matt-premerge-20091211 jym-xensuspend-nbase jym-xensuspend-base
|
| 1.2 |
26-Apr-2009 |
lukem |
set WARNS=3 -- too many -Wsign-compare issues in the kernel ffs code
|
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base mjf-devfs-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.1 |
21-Feb-2003 |
jtk |
branches: 1.1.40; 1.1.42; Preliminary version of resize_ffs, based on der Mouse's fsresize tool. I didn't have time to clean it up completely before my legal status w.r.t. open source projects goes into limbo for a while. Other developers are encouraged to play with the tool and get it into release-worthy shape.
TODO list (see TODO file)
* verify it builds on -current, put it into release lists/etc. and src/sbin/Makefile (built & tested on 1.6.1) * make it ask questions before doing any work (confirm) * create regression test suite (see discussions on tech-kern and developers) and fix any bugs * verify conversion to ANSI C didn't break anything * port to UFS2
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
| 1.9 |
09-Sep-2013 |
riz |
Add an item to the list (SIGINFO support).
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
| 1.8 |
05-Jan-2011 |
riz |
branches: 1.8.6; 1.8.12; Add support for byteswapped file systems (big-endian on little-endian host, and vice versa), to fix PR#44203.
Add support for growing (but not yet shrinking) UFS2 file systems. Partially addresses PR#44205.
While I'm here, reformat the code for closer adherence to KNF.
Fairly extensive testing was performed, using the shortly-to-be-committed updated ATF tests. Patch posted to tech-userlevel on 21 December 2010, no comments.
|
|
Revision tags: matt-mips64-premerge-20101231
|
| 1.7 |
08-Dec-2010 |
riz |
Remove accidentally-resurrected TODO item.
|
| 1.6 |
08-Dec-2010 |
riz |
If we're operating on a plain file instead of a device, ftruncate() it to ensure it's been properly extended. Clears up some problems at certain blocksizes which showed up during creation of atf tests, which is done using file-backed file systems.
|
| 1.5 |
03-Dec-2010 |
riz |
Turns out, plain-file usage is already supported. *blush*
|
| 1.4 |
02-Dec-2010 |
riz |
Knock one off the list.
|
| 1.3 |
01-Dec-2010 |
riz |
Update TODO for resize_ffs(8), adding some stuff and removing some ancient bits.
|
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base mjf-devfs-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.2 |
23-Feb-2003 |
lukem |
branches: 1.2.40; (cross)builds on current ok
|
| 1.1 |
21-Feb-2003 |
jtk |
Preliminary version of resize_ffs, based on der Mouse's fsresize tool. I didn't have time to clean it up completely before my legal status w.r.t. open source projects goes into limbo for a while. Other developers are encouraged to play with the tool and get it into release-worthy shape.
TODO list (see TODO file)
* verify it builds on -current, put it into release lists/etc. and src/sbin/Makefile (built & tested on 1.6.1) * make it ask questions before doing any work (confirm) * create regression test suite (see discussions on tech-kern and developers) and fix any bugs * verify conversion to ANSI C didn't break anything * port to UFS2
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base 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-base
|
| 1.18 |
01-Oct-2017 |
christos |
PR/52590: David H. Gutteridge: Minor documentation improvements
|
|
Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
|
| 1.17 |
12-Sep-2016 |
sevan |
branches: 1.17.6; Replace contractions.
|
|
Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.16 |
06-Apr-2015 |
jmcneill |
if the -p flag is specified, display a progress bar while growing the file-system
|
| 1.15 |
29-Mar-2015 |
wiz |
New sentence, new line. Sort option descriptions.
|
| 1.14 |
29-Mar-2015 |
chopps |
- Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage
|
|
Revision tags: netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| 1.13 |
28-Aug-2011 |
wiz |
branches: 1.13.20; Move a sentence to where it makes more sense.
|
| 1.12 |
28-Aug-2011 |
wiz |
New sentence, new line.
|
| 1.11 |
27-Aug-2011 |
christos |
PR/45301: Julian Fagir: make clear that the unit is sectors and fix a typo. While there, use errx, and sizeof(*var) instead of sizeof(type)
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
| 1.10 |
05-Jan-2011 |
riz |
Add support for byteswapped file systems (big-endian on little-endian host, and vice versa), to fix PR#44203.
Add support for growing (but not yet shrinking) UFS2 file systems. Partially addresses PR#44205.
While I'm here, reformat the code for closer adherence to KNF.
Fairly extensive testing was performed, using the shortly-to-be-committed updated ATF tests. Patch posted to tech-userlevel on 21 December 2010, no comments.
|
|
Revision tags: matt-mips64-premerge-20101231
|
| 1.9 |
20-Dec-2010 |
riz |
Revert previous - inadvertant commit to wrong repository.
|
| 1.8 |
20-Dec-2010 |
riz |
Pull in change from njoly@ in -current
|
| 1.7 |
19-Dec-2010 |
njoly |
Add missing .Os macro.
|
| 1.6 |
14-Dec-2010 |
wiz |
filesystem -> file system.
|
| 1.5 |
31-Oct-2010 |
wiz |
Various improvements.
|
| 1.4 |
30-Oct-2010 |
haad |
Add resize_ffs tool to build, change default behaviour to grow filesystem to device size. Add parameter -s to specify size if user want to shrink filesystem.
Apply some KNF, remove dead unused code.
Oked by christos@.
|
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base mjf-devfs-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.3 |
10-Mar-2003 |
wiz |
branches: 1.3.40; Sort sections; "file system" instead of filesystem; mdoc improvements; new sentenence, new line.
|
| 1.2 |
23-Feb-2003 |
lukem |
minor cosmetic tweak
|
| 1.1 |
21-Feb-2003 |
jtk |
Preliminary version of resize_ffs, based on der Mouse's fsresize tool. I didn't have time to clean it up completely before my legal status w.r.t. open source projects goes into limbo for a while. Other developers are encouraged to play with the tool and get it into release-worthy shape.
TODO list (see TODO file)
* verify it builds on -current, put it into release lists/etc. and src/sbin/Makefile (built & tested on 1.6.1) * make it ask questions before doing any work (confirm) * create regression test suite (see discussions on tech-kern and developers) and fix any bugs * verify conversion to ANSI C didn't break anything * port to UFS2
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.58 |
07-Jan-2023 |
chs |
ufs: fixed signed/unsigned bugs affecting large file systems
Apply these commits from FreeBSD:
commit e870d1e6f97cc73308c11c40684b775bcfa906a2 Author: Kirk McKusick <mckusick@FreeBSD.org> Date: Wed Feb 10 20:10:35 2010 +0000
This fix corrects a problem in the file system that treats large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb.
To fully handle this problem, newfs must be updated to ensure that it will never create a filesystem with more than 2^32 inodes. That patch will be forthcoming soon.
Reported by: Scott Burns, John Kilburg, Bruce Evans Followup by: Jeff Roberson PR: 133980 MFC after: 2 weeks
commit 81479e688b0f643ffacd3f335b4b4bba460b769d Author: Kirk McKusick <mckusick@FreeBSD.org> Date: Thu Feb 11 18:14:53 2010 +0000
One last pass to get all the unsigned comparisons correct.
In additional to the changes from FreeBSD, this commit includes quite a few related changes to appease -Wsign-compare.
|
|
Revision tags: netbsd-10-base
|
| 1.57 |
17-Nov-2022 |
chs |
branches: 1.57.2; Restore backward compatibility of UFS2 with previous NetBSD releases by disabling support in UFS2 for extended attributes (including ACLs). Add a new variant of UFS2 called "UFS2ea" that does support extended attributes. Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended attributes in the process).
|
| 1.56 |
08-Apr-2022 |
andvar |
fix various typos, mainly in comments, but also log messages, docs, game text.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| 1.55 |
24-May-2020 |
jmcneill |
Use getfsspecname and getrawdiskname so we can resize by NAME= label.
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
| 1.54 |
21-Apr-2019 |
maya |
wether -> whether
|
|
Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base 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-base
|
| 1.53 |
09-Oct-2017 |
mlelstv |
branches: 1.53.4; Fix computation of left-over fragments also for ufs2.
Fixes PR 52600.
|
| 1.52 |
01-Oct-2017 |
christos |
PR/52590: David H. Gutteridge: Minor documentation improvements
|
| 1.51 |
01-Oct-2017 |
mlelstv |
- More fixes to use 64bit offsets. - Compute left-over fragments also for FFS2.
|
| 1.50 |
30-Sep-2017 |
kre |
Fix the syntax (pointed out by David H. Gutteridge on source-changes-d). Fix the build...
|
| 1.49 |
30-Sep-2017 |
riastradh |
Use int64_t for loop index so we don't iterate forever/until trap.
|
| 1.48 |
28-Sep-2017 |
sborrill |
Fix the most obvious integer overflow errors which can lead to superblock corruption. Thanks to riastradh@
For example:
# df /data Filesystem 1K-blocks Used Avail %Cap Mounted on /dev/ccd0d -19974939099004 -19982708701532 -737868756431824584 0% /data
# dumpfs -s /dev/rccd0d file system: /dev/rccd0d format FFSv2 endian little-endian location 65536 (-b 128) magic 19540119 time Thu Sep 28 13:18:10 2017 superblock location 65536 id [ 595fa4a5 3363fe37 ] cylgrp dynamic inodes FFSv2 sblock FFSv2 fslevel 5 nbfree 242773148 ndir 211185 nifree 650798800 nffree 215448 ncg 13933 size 2647654400 blocks -4993734774751 bsize 32768 shift 15 mask 0xffff8000 fsize 4096 shift 12 mask 0xfffff000 frag 8 shift 3 fsbtodb 3 bpg 23754 fpg 190032 ipg 46848 minfree 5% optim time maxcontig 2 maxbpg 4096 symlinklen 120 contigsumsize 2 maxfilesize 0x000800800805ffff nindir 4096 inopb 128 avgfilesize 16384 avgfpdir 64 sblkno 24 cblkno 32 iblkno 40 dblkno 2968 sbsize 4096 cgsize 32768 csaddr 35792 cssize 225280 cgrotor 0 fmod 0 ronly 0 clean 0x01 wapbl version 0x1 location 2 flags 0x0 wapbl loc0 6354693888 loc1 131072 loc2 512 loc3 3 flags none fsmnt /data volname swuid 0
|
|
Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914
|
| 1.47 |
24-Aug-2016 |
dholland |
branches: 1.47.6; Fix handling of ffsv2 inode initialization. Retires PR 51116.
|
|
Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.46 |
17-Mar-2016 |
christos |
fix pasto
|
| 1.45 |
17-Mar-2016 |
christos |
Appease gcc-5 from phone@
|
| 1.44 |
06-Apr-2015 |
jmcneill |
if the -p flag is specified, display a progress bar while growing the file-system
|
| 1.43 |
06-Apr-2015 |
mlelstv |
factor out geometry calculation and use this also in CheckOnly mode. be a bit more verbose in Verbose mode.
|
| 1.42 |
06-Apr-2015 |
mlelstv |
Handle case in grow() where last cylinder group is too small for ufs2. Align with code in shrink().
|
| 1.41 |
29-Mar-2015 |
chopps |
- Add -c to check to see if grow/shrink is required - Divide by DEV_BSIZE when returning size of file. - Update manpage
|
| 1.40 |
28-Mar-2015 |
riastradh |
Use `!= -1' instead of `== 0' out of paranoia.
|
| 1.39 |
28-Mar-2015 |
riastradh |
Make get_dev_size work on regular files too.
|
|
Revision tags: netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base tls-maxphys-base
|
| 1.38 |
23-Jun-2013 |
dholland |
branches: 1.38.6; Stick ffs_ in front of the following macros: fragstoblks() blkstofrags() fragnum() blknum()
to finish the job of distinguishing them from the lfs versions, which Christos renamed the other day.
I believe this is the last of the overtly ambiguous exported symbols from ffs... or at least, the last of the ones that conflicted with lfs. ffs still pollutes the C namespace very broadly (as does ufs) and this needs quite a bit more cleanup.
XXX: boo on macros with lowercase names. But I'm not tackling that just yet.
|
| 1.37 |
23-Jun-2013 |
dholland |
Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.36 |
23-Jun-2013 |
dholland |
fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.35 |
19-Jun-2013 |
dholland |
Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
|
Revision tags: agc-symver-base yamt-pagecache-base8
|
| 1.34 |
22-Jan-2013 |
dholland |
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
|
Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
|
| 1.33 |
20-Apr-2012 |
christos |
branches: 1.33.2; fix cast in local macro
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| 1.32 |
27-Aug-2011 |
christos |
branches: 1.32.2; PR/45301: Julian Fagir: make clear that the unit is sectors and fix a typo. While there, use errx, and sizeof(*var) instead of sizeof(type)
|
| 1.31 |
15-Aug-2011 |
dholland |
Fix another dodgy switch-jump.
|
| 1.30 |
15-Aug-2011 |
dholland |
WARNS = 4
|
| 1.29 |
15-Aug-2011 |
dholland |
Add missing __RCSID().
|
| 1.28 |
15-Aug-2011 |
dholland |
Whitespace.
|
| 1.27 |
15-Aug-2011 |
dholland |
Avoid switch-jumping into the middle of an if. Compiler output is unchanged.
|
| 1.26 |
15-Aug-2011 |
dholland |
Minor KNF.
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
| 1.25 |
05-Jan-2011 |
riz |
Add support for byteswapped file systems (big-endian on little-endian host, and vice versa), to fix PR#44203.
Add support for growing (but not yet shrinking) UFS2 file systems. Partially addresses PR#44205.
While I'm here, reformat the code for closer adherence to KNF.
Fairly extensive testing was performed, using the shortly-to-be-committed updated ATF tests. Patch posted to tech-userlevel on 21 December 2010, no comments.
|
|
Revision tags: matt-mips64-premerge-20101231
|
| 1.24 |
14-Dec-2010 |
wiz |
filesystem -> file system.
|
| 1.23 |
14-Dec-2010 |
riz |
Be explicit about byteswapped and ffsv2 file systems being currently unsupported, while catching up to some changes in my local tree which will hopefully support them at some time in the future.
Also, change "device" variable to "special", to reflect the fact that resize_ffs will work on a plain file.
|
| 1.22 |
14-Dec-2010 |
riz |
Don't special-case v1 superblocks - especially with an incorrect calculation.
|
| 1.21 |
12-Dec-2010 |
riz |
Remove bogus check which is not actually testing anything useful, and depending on file system data, can actually be a false error.
Fixes what I was actually testing for in bin/44209, though the actual problem was not what I originally described.
|
| 1.20 |
12-Dec-2010 |
mhitch |
Add support for old ffsv1 superblocks. After reading an old superblock, copy appropriate data to where they are expected in the updated superblock. When writing the updated superblock, move the updated values back to the old ffsv1 superblock locations. Also check for old superblock format when updating the last cylinder group and adjust cg_old_ncyl appropriately. Derived from how mksf sets them. Should address PR bin/44209.
|
| 1.19 |
08-Dec-2010 |
riz |
If we're operating on a plain file instead of a device, ftruncate() it to ensure it's been properly extended. Clears up some problems at certain blocksizes which showed up during creation of atf tests, which is done using file-backed file systems.
|
| 1.18 |
07-Dec-2010 |
riz |
As currently written, writeat() expects disk blocks, not fs blocks, so when testing that the last sector of the new size is writeable, make sure we're ACTUALLY writing in the new space, instead of possibly overwriting something in the existing fs.
Discovered while writing tests - tests which uncovered file corruption at certain block sizes.
XXX should rewrite writeat() to expect fs blocks instead of disk blocks.
OK mlelstv@
|
| 1.17 |
02-Dec-2010 |
riz |
Use howmany() instead of "/" to calculate the number of cylinders for the changed file system, so as to not drop a partial cylinder at the end. Fixes PR bin/44177.
|
| 1.16 |
01-Dec-2010 |
riz |
Do not look for a v1 file system at SBLOCK_UFS2, as this gets the wrong superblock (first alternate) for a file system with 64k blocks. Spotted by mhitch@.
|
| 1.15 |
01-Dec-2010 |
riz |
Clean up this file:
- sync usage comment with current reality - sort includes - wrap lines - use EXIT_FAILURE consistently - make error messages consistent: Cannot->Can't - Remove "Old FFSv1 macros" in favor of system macros in ufs/ffs/fs.h . Leave dblksize() because it uses the on-disk dinode structure.
More cleanup is needed. No functional changes intended.
|
| 1.14 |
29-Nov-2010 |
riz |
Restore a couple of checks for updating the cg_old_ncyl value which were commented out with XXX and a notation to "fix once fsck is fixed." fsck seems to have been fixed for this particular issue sometime in the 7 years since the code was brought into the tree.
Update cg_old_niblk instead of cg_ni_blk, since this tool currently supports ffsv1 only.
With these two changes, I can grow a file system and have the result be clean according to fsck_ffs. Shrinking still results in an unclean file system.
OK mhitch@
While I'm here, fix a typo in an error message.
|
| 1.13 |
30-Oct-2010 |
haad |
Add resize_ffs tool to build, change default behaviour to grow filesystem to device size. Add parameter -s to specify size if user want to shrink filesystem.
Apply some KNF, remove dead unused code.
Oked by christos@.
|
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base matt-armv6-base hpcarm-cleanup-base
|
| 1.12 |
15-Dec-2007 |
perry |
branches: 1.12.10; convert __attribute__s to applicable cdefs.h macros
|
| 1.11 |
15-Dec-2007 |
perry |
include sys/cdefs.h so that __attribute__ can be fixed later
|
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base matt-mips64-base
|
| 1.10 |
08-Jul-2007 |
bouyer |
branches: 1.10.4; 1.10.6; writeat() also expect offsets in DEV_BSIZE unit. This and the previous commit should fix PR bin/35560. Thanks to Michael L. Hitch for pointing me at the PR.
|
| 1.9 |
05-Jul-2007 |
bouyer |
readat() expects the offset in DEV_BSIZE units. This made resize_ffs find the filesystem on a vnd partition for me. It did grow the filesystem, and after a fsck -f on the partition to fix a few superblock inconsistencies, all looks good.
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
|
| 1.8 |
03-Jun-2005 |
snj |
Fix a typo in a comment.
|
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.7 |
21-Mar-2004 |
dsl |
Dunno why this code is playing 'hunt the superblock', but stop it finding an ffsv1 sb at 64k. Also stop it playing with fs that have 'FS_FLAGS_UPDATED' set. It certainly doesn't act on that falg, and my guess is that it is playing the pre-ffsv2 fs. Fixes part of PR kern/24809
|
| 1.6 |
05-Jan-2004 |
jmmv |
Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
| 1.5 |
26-Jul-2003 |
salo |
netbsd.org->NetBSD.org
|
| 1.4 |
03-Apr-2003 |
christos |
make this compile again.
|
| 1.3 |
10-Mar-2003 |
wiz |
Correct program name in comments.
|
| 1.2 |
21-Feb-2003 |
martin |
This program deals with on-disk structures. s/daddr_t/int32_t/g for now (UFS2 will need other changes as well).
|
| 1.1 |
21-Feb-2003 |
jtk |
Preliminary version of resize_ffs, based on der Mouse's fsresize tool. I didn't have time to clean it up completely before my legal status w.r.t. open source projects goes into limbo for a while. Other developers are encouraged to play with the tool and get it into release-worthy shape.
TODO list (see TODO file)
* verify it builds on -current, put it into release lists/etc. and src/sbin/Makefile (built & tested on 1.6.1) * make it ask questions before doing any work (confirm) * create regression test suite (see discussions on tech-kern and developers) and fix any bugs * verify conversion to ANSI C didn't break anything * port to UFS2
|