summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2002-03-18 15:31:44 +0000
committerIan Dowse <iedowse@FreeBSD.org>2002-03-18 15:31:44 +0000
commitaf53d6d86e93c51ba63944af801b122ec59c744e (patch)
tree285a79609aabc7232590e6b6807291aa02071473
parent25adb370bec8a0768af7dffa365e319c2fac3f04 (diff)
downloadsrc-test2-af53d6d86e93c51ba63944af801b122ec59c744e.tar.gz
src-test2-af53d6d86e93c51ba63944af801b122ec59c744e.zip
Notes
-rw-r--r--sbin/newfs/mkfs.c2
-rw-r--r--sbin/newfs/newfs.c6
2 files changed, 0 insertions, 8 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 67281d9c15f9..0c2c13fe1047 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -119,8 +119,6 @@ extern int sbsize; /* superblock size */
extern int avgfilesize; /* expected average file size */
extern int avgfilesperdir; /* expected number of files per directory */
extern u_long memleft; /* virtual memory available */
-extern caddr_t membase; /* start address of memory based filesystem */
-extern char * filename;
union {
struct fs fs;
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 808c32813f84..7b1d1b63e622 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -184,11 +184,8 @@ int avgfilesize = AVFILESIZ;/* expected average file size */
int avgfilesperdir = AFPDIR;/* expected number of files per directory */
int bbsize = BBSIZE; /* boot block size */
int sbsize = SBSIZE; /* superblock size */
-int mntflags = MNT_ASYNC; /* flags to be passed to mount */
int t_or_u_flag = 0; /* user has specified -t or -u */
u_long memleft; /* virtual memory available */
-caddr_t membase; /* start address of memory based filesystem */
-char *filename;
#ifdef COMPAT
char *disktype;
int unlabeled;
@@ -240,9 +237,6 @@ main(argc, argv)
disktype = optarg;
break;
#endif
- case 'F':
- filename = optarg;
- break;
case 'U':
Uflag = 1;
break;