From 6cb7abd9183a437f1bd6378438151100764aabd7 Mon Sep 17 00:00:00 2001 From: jmallett Date: Mon, 9 Jun 2003 09:26:02 +0000 Subject: Marshal newfs -L (filesystem volume names), the names are not marshalled with any quoting, but that should be OK for re-input, regardless. --- sbin/dumpfs/dumpfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin/dumpfs') diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c index c22b1f4..a81d896 100644 --- a/sbin/dumpfs/dumpfs.c +++ b/sbin/dumpfs/dumpfs.c @@ -336,6 +336,8 @@ marshal(const char *name) printf("# newfs command for %s (%s)\n", name, disk.d_name); printf("newfs "); + if (fs->fs_volname[0] != '\0') + printf("-L %s ", fs->fs_volname); printf("-O %d ", disk.d_ufs); if (fs->fs_flags & FS_DOSOFTDEP) printf("-U "); -- cgit v1.1