diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-16 02:08:52 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-16 02:08:52 +0000 |
commit | c4a2fd34b9943a2117df1e0a9484c39b52ad6ebf (patch) | |
tree | 2215644c3c0aa9fc58c3f9836e392cda1558d8a4 | |
parent | f1e75fd104fc9123f466ca85887f159322c40977 (diff) | |
download | FreeBSD-src-c4a2fd34b9943a2117df1e0a9484c39b52ad6ebf.zip FreeBSD-src-c4a2fd34b9943a2117df1e0a9484c39b52ad6ebf.tar.gz |
Update to use MD disk instead of MFS
-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 61f9065..1711cee 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 61f9065..1711cee 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! * */ |