diff options
author | Tom Rhodes <trhodes@FreeBSD.org> | 2002-05-16 04:10:46 +0000 |
---|---|---|
committer | Tom Rhodes <trhodes@FreeBSD.org> | 2002-05-16 04:10:46 +0000 |
commit | 3468b317cb93827fbbd4b835f5c233804bc5203c (patch) | |
tree | 0adfec655f17ae1258112946fa8d7d72c9c75f76 /sbin/fsdb | |
parent | 4481bee4621453e6555046bda0aa6ad9f672b773 (diff) | |
download | src-3468b317cb93827fbbd4b835f5c233804bc5203c.tar.gz src-3468b317cb93827fbbd4b835f5c233804bc5203c.zip |
Notes
Diffstat (limited to 'sbin/fsdb')
-rw-r--r-- | sbin/fsdb/fsdb.8 | 10 | ||||
-rw-r--r-- | sbin/fsdb/fsdb.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sbin/fsdb/fsdb.8 b/sbin/fsdb/fsdb.8 index 7d241ed2e74e..4622a8bfab5f 100644 --- a/sbin/fsdb/fsdb.8 +++ b/sbin/fsdb/fsdb.8 @@ -45,7 +45,7 @@ opens .Ar fsname (usually a raw disk partition) and runs a command loop -allowing manipulation of the file system's inode data. You are prompted +allowing manipulation of the filesystem's inode data. You are prompted to enter a command with .Ic "fsdb (inum X)>" where @@ -55,8 +55,8 @@ root of the filesystem (i-number 2). The command processor uses the .Xr editline 3 library, so you can use command line editing to reduce typing if desired. -When you exit the command loop, the file system superblock is marked -dirty and any buffered blocks are written to the file system. +When you exit the command loop, the filesystem superblock is marked +dirty and any buffered blocks are written to the filesystem. .Pp The following options are available: .Bl -tag -width indent @@ -229,7 +229,7 @@ doesn't implement. .Nm Fsdb uses the source code for .Xr fsck 8 -to implement most of the file system manipulation code. The remainder of +to implement most of the filesystem manipulation code. The remainder of .Nm first appeared in .Nx , @@ -240,7 +240,7 @@ written by ported it to .Fx . .Sh WARNING -Use this tool with extreme caution--you can damage an FFS file system +Use this tool with extreme caution--you can damage an FFS filesystem beyond what .Xr fsck 8 can repair. diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 8ee5a69c90e1..0f32762a1be7 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -65,8 +65,8 @@ char nflag; /* * We suck in lots of fsck code, and just pick & choose the stuff we want. * - * fsreadfd is set up to read from the file system, fswritefd to write to - * the file system. + * fsreadfd is set up to read from the filesystem, fswritefd to write to + * the filesystem. */ int main(int argc, char *argv[]) @@ -100,8 +100,8 @@ main(int argc, char *argv[]) sblock_init(); if (!setup(fsys)) - errx(1, "cannot set up file system `%s'", fsys); - printf("%s file system `%s'\nLast Mounted on %s\n", + errx(1, "cannot set up filesystem `%s'", fsys); + printf("%s filesystem `%s'\nLast Mounted on %s\n", nflag? "Examining": "Editing", fsys, sblock.fs_fsmnt); rval = cmdloop(); if (!nflag) { |