Edward Tomasz Napierala
e35497f13b
Improve growfs(8) in a few ways; unfortunately, it's somewhat hard to untangle
...
them and commit separately.
1. Rewrite the way growfs(8) finds the device and mount point. This makes
it possible to use e.g. "growfs /mnt"; it's also used to display more
helpful messages.
2. Be more user-friendly, using descriptive messages, like this:
OK to grow filesystem on /dev/md0, mounted on /mnt, from 9.8GB to 20GB? [Yes/No]"
3. Allow to specify the size (-s option) just like with mdconfig(8), i.e. with
postfixes ("mdconfig -s 10g").
4. Reload read-only filesystem after growing.
Reviewed by: kib, mckusick (earlier version)
Sponsored by: The FreeBSD Foundation
2012-04-30 16:08:02 +00:00
Ruslan Ermilov
106d839190
Switch the default WARNS level for sbin/ to 6.
...
Submitted by: Ulrich Spörlein
2009-10-19 16:00:24 +00:00
Robert Watson
6fe62276be
Don't define FS_DEBUG by default, as this causes growfs to write debugging
...
information to /tmp/growfs.debug, which is a world-writable directory.
MFC after: 3 days
Reported by: Jon Passki <cykyc@yahoo.com>
2005-03-31 04:10:31 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Lukas Ertl
691ae40438
Catch up with recent gcc changes and introduce a DIP_SET macro
...
to use when setting values that depend on the UFS version.
Raise WARNS again.
2004-07-29 11:28:24 +00:00
Alexander Kabaev
a03f8f81b7
Downgrade WARNS level until GCC 3.4.2 warning are fixed.
2004-07-28 06:00:09 +00:00
Maxime Henrion
176c41d556
It seems growfs(8) is now WARNS?=6 safe.
...
Tested on: alpha, i386, ia64, sparc64
2004-04-03 23:56:24 +00:00
Lukas Ertl
66648dfcfb
Temporarily go back to WARNS=0 until I can figure out what's breaking
...
the {powerpc, sparc64, ia64} tinderboxes.
Sorry for the noise. :-(
2004-04-03 22:26:43 +00:00
Lukas Ertl
75d1ec91df
Make growfs WARNS=6 clean.
...
Approved by: grog (mentor)
2004-04-03 17:40:19 +00:00
Johan Karlsson
72673aaaa2
Remove these MAINTAINER lines since the maintainers has had their
...
commit bits retired for safe keeping.
2004-04-01 20:31:49 +00:00
David E. O'Brien
ebc82d5522
style clean.
2003-06-11 23:24:31 +00:00
David E. O'Brien
2d68bf45bf
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Thomas-Henning von Kamptz
3d5000784d
added growfs(8) including ffsinfo(8) to the freebsd base system
...
Reviewed by: grog
2000-12-09 15:27:35 +00:00