From 896f3841bf047ca93766900f8cd8c5852e6a9245 Mon Sep 17 00:00:00 2001 From: trhodes Date: Thu, 16 May 2002 04:10:46 +0000 Subject: more file system > filesystem --- sbin/growfs/growfs.8 | 28 ++++++++++++++-------------- sbin/growfs/growfs.c | 16 ++++++++-------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'sbin/growfs') diff --git a/sbin/growfs/growfs.8 b/sbin/growfs/growfs.8 index a1fb6ea..691f794 100644 --- a/sbin/growfs/growfs.8 +++ b/sbin/growfs/growfs.8 @@ -42,7 +42,7 @@ .Os .Sh NAME .Nm growfs -.Nd grow size of an existing ufs file system +.Nd grow size of an existing ufs filesystem .Sh SYNOPSIS .Nm .Op Fl Ny @@ -60,17 +60,17 @@ the disk must be labeled to a bigger size using If you are using volumes you must enlarge them by using .Xr vinum 8 . .Nm -extends the size of the file system on the specified special file. +extends the size of the filesystem on the specified special file. Currently .Nm -can only enlarge unmounted file systems. -Do not try enlarging a mounted file system, your system may panic and you will -not be able to use the file system any longer. +can only enlarge unmounted filesystems. +Do not try enlarging a mounted filesystem, your system may panic and you will +not be able to use the filesystem any longer. Most of the .Xr newfs 8 options can not be changed by .Nm . -In fact, you can only increase the size of the file system. +In fact, you can only increase the size of the filesystem. Use .Xr tunefs 8 for other changes. @@ -79,8 +79,8 @@ The following options are available: .Bl -tag -width indent .It Fl N .Dq Test mode . -Causes the new file system parameters to be printed out without actually -enlarging the file system. +Causes the new filesystem parameters to be printed out without actually +enlarging the filesystem. .It Fl y .Dq Expert mode . Usually @@ -95,12 +95,12 @@ So use this option with great care! .It Fl s Ar size Determines the .Ar size -of the file system after enlarging in sectors. +of the filesystem after enlarging in sectors. This value defaults to the size of the raw partition specified in .Ar special (in other words, .Nm -will enlarge the file system to the size of the entire partition). +will enlarge the filesystem to the size of the entire partition). .El .Sh EXAMPLES .Dl growfs -s 4194304 /dev/vinum/testvol @@ -118,12 +118,12 @@ There may be cases on .Fx 3.x only, when .Nm -does not recognize properly whether or not the file system is mounted and +does not recognize properly whether or not the filesystem is mounted and exits with an error message. Then please use .Nm .Fl y -if you are sure that the file system is not mounted. +if you are sure that the filesystem is not mounted. It is also recommended to always use .Xr fsck 8 after enlarging (just to be on the safe side). @@ -156,8 +156,8 @@ on the first cylinder group to verify that in the CYLINDER SUMMARY (internal cs) of the CYLINDER GROUP .Em cgr0 has enough blocks. -As a rule of thumb for default file system parameters one block is needed for -every 2 GB of total file system size. +As a rule of thumb for default filesystem parameters one block is needed for +every 2 GB of total filesystem size. .Pp Normally .Nm diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 42e07be..d11dc98 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -219,7 +219,7 @@ growfs(int fsi, int fso, unsigned int Nflag) updjcg(osblock.fs_ncg-1, utime, fsi, fso, Nflag); /* - * Dump out summary information about file system. + * Dump out summary information about filesystem. */ printf("growfs:\t%d sectors in %d %s of %d tracks, %d sectors\n", sblock.fs_size * NSPF(&sblock), sblock.fs_ncyl, @@ -763,7 +763,7 @@ updjcg(int cylno, time_t utime, int fsi, int fso, unsigned int Nflag) * the rotational layout tables and the cluster summary. This is * also done per fragment for the first new block if the old file * system end was not on a block boundary, per fragment for the new - * last block if the new file system end is not on a block boundary, + * last block if the new filesystem end is not on a block boundary, * and per block for all space in between. * * Handle the first new block here if it was partially available @@ -787,7 +787,7 @@ updjcg(int cylno, time_t utime, int fsi, int fso, unsigned int Nflag) /* * Check if the fragment just created could join an * already existing fragment at the former end of the - * file system. + * filesystem. */ if(isblock(&sblock, cg_blksfree(&acg), ((osblock.fs_size - cgbase(&sblock, cylno))/ @@ -1296,7 +1296,7 @@ updcsloc(time_t utime, int fsi, int fso, unsigned int Nflag) /* * No cluster handling is needed here, as there was at least * one fragment in use by the cylinder summary in the old - * file system. + * filesystem. * No block-free counter handling here as this block was not * a free block. */ @@ -1921,7 +1921,7 @@ charsperline(void) * growfs(8) is a utility which allows to increase the size of an existing * ufs filesystem. Currently this can only be done on unmounted file system. * It recognizes some command line options to specify the new desired size, - * and it does some basic checkings. The old file system size is determined + * and it does some basic checkings. The old filesystem size is determined * and after some more checks like we can really access the new last block * on the disk etc. we calculate the new parameters for the superblock. After * having done this we just call growfs() which will do the work. Before @@ -1937,7 +1937,7 @@ charsperline(void) * fsck(8) is still able to restore any lost data. * The foreseen last step then will be to provide for growing even mounted * file systems. There we have to extend the mount() system call to provide - * userland access to the file system locking facility. + * userland access to the filesystem locking facility. */ int main(int argc, char **argv) @@ -2063,7 +2063,7 @@ main(int argc, char **argv) } /* - * Check if that partition looks suited for growing a file system. + * Check if that partition looks suited for growing a filesystem. */ if (pp->p_size < 1) { errx(1, "partition is unavailable"); @@ -2149,7 +2149,7 @@ main(int argc, char **argv) /* * Now calculate new superblock values and check for reasonable - * bound for new file system size: + * bound for new filesystem size: * fs_size: is derived from label or user input * fs_dsize: should get updated in the routines creating or * updating the cylinder groups on the fly -- cgit v1.1