diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-16 02:08:52 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-16 02:08:52 +0000 |
| commit | bb0ea411a83daba098f27e881ddfdceeeed66595 (patch) | |
| tree | f4fa981ec24e68de8be89c9d3cba124be1c7cbd1 /release | |
| parent | 52ee5d19834403a3b1590e3618582236589e68bd (diff) | |
Notes
Diffstat (limited to 'release')
| -rw-r--r-- | release/picobsd/build/write_mfs_in_kernel.c | 10 | ||||
| -rw-r--r-- | release/write_mfs_in_kernel.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/release/picobsd/build/write_mfs_in_kernel.c b/release/picobsd/build/write_mfs_in_kernel.c index 61f90658fea2..1711ceee8c86 100644 --- a/release/picobsd/build/write_mfs_in_kernel.c +++ b/release/picobsd/build/write_mfs_in_kernel.c @@ -8,7 +8,7 @@ * * $FreeBSD$ * - * This program patches a filesystem into a kernel made with MFS_ROOT + * This program patches a filesystem into a kernel made with MD_ROOT * option. */ @@ -63,9 +63,9 @@ main(int argc, char **argv) if (st_fs.st_size != read(fd_fs,buf_fs,st_fs.st_size)) { perror(argv[2]); exit(2); } for(l=0,p=buf_kernel; l < st_kernel.st_size - st_fs.st_size ; l++,p++ ) - if(*p == 'M' && !strcmp(p,"MFS Filesystem goes here")) + if(*p == 'M' && !strcmp(p,"MD Filesystem goes here")) goto found; - fprintf(stderr,"MFS filesystem signature not found in %s\n",argv[1]); + fprintf(stderr,"MD filesystem signature not found in %s\n",argv[1]); exit(1); found: if (!force) @@ -89,8 +89,8 @@ fail: /* * I added a '-f' option to force writing the image into the kernel, even when * there is already data (i.e. not zero) in the written area. This is useful - * to rewrite a changed MFS-image. Beware: If the written image is larger than - * the space reserved in the kernel (with option MFS_ROOT) then + * to rewrite a changed MD-image. Beware: If the written image is larger than + * the space reserved in the kernel (with option MD_ROOT) then * THIS WILL CORRUPT THE KERNEL! * */ diff --git a/release/write_mfs_in_kernel.c b/release/write_mfs_in_kernel.c index 61f90658fea2..1711ceee8c86 100644 --- a/release/write_mfs_in_kernel.c +++ b/release/write_mfs_in_kernel.c @@ -8,7 +8,7 @@ * * $FreeBSD$ * - * This program patches a filesystem into a kernel made with MFS_ROOT + * This program patches a filesystem into a kernel made with MD_ROOT * option. */ @@ -63,9 +63,9 @@ main(int argc, char **argv) if (st_fs.st_size != read(fd_fs,buf_fs,st_fs.st_size)) { perror(argv[2]); exit(2); } for(l=0,p=buf_kernel; l < st_kernel.st_size - st_fs.st_size ; l++,p++ ) - if(*p == 'M' && !strcmp(p,"MFS Filesystem goes here")) + if(*p == 'M' && !strcmp(p,"MD Filesystem goes here")) goto found; - fprintf(stderr,"MFS filesystem signature not found in %s\n",argv[1]); + fprintf(stderr,"MD filesystem signature not found in %s\n",argv[1]); exit(1); found: if (!force) @@ -89,8 +89,8 @@ fail: /* * I added a '-f' option to force writing the image into the kernel, even when * there is already data (i.e. not zero) in the written area. This is useful - * to rewrite a changed MFS-image. Beware: If the written image is larger than - * the space reserved in the kernel (with option MFS_ROOT) then + * to rewrite a changed MD-image. Beware: If the written image is larger than + * the space reserved in the kernel (with option MD_ROOT) then * THIS WILL CORRUPT THE KERNEL! * */ |
