diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/mkfs.c | 2 | ||||
-rw-r--r-- | sbin/newfs/newfs.c | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 67281d9..0c2c13f 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 808c328..7b1d1b6 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; |