+struct fstab *
+allocfsent(fs)
+ register struct fstab *fs;
+{
+ register struct fstab *new;
+ register char *cp;
+ char *malloc();
+
+ new = (struct fstab *)malloc(sizeof (*fs));
+ cp = malloc(strlen(fs->fs_file) + 1);
+ strcpy(cp, fs->fs_file);
+ new->fs_file = cp;
+ cp = malloc(strlen(fs->fs_type) + 1);
+ strcpy(cp, fs->fs_type);
+ new->fs_type = cp;
+ cp = malloc(strlen(fs->fs_spec) + 1);
+ strcpy(cp, fs->fs_spec);
+ new->fs_spec = cp;
+ new->fs_passno = fs->fs_passno;
+ new->fs_freq = fs->fs_freq;
+ return (new);
+}
+
+struct pfstab {
+ struct pfstab *pf_next;
+ struct fstab *pf_fstab;
+};
+
+static struct pfstab *table = NULL;
+