mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Marshal newfs -L (filesystem volume names), the names are not marshalled
with any quoting, but that should be OK for re-input, regardless.
This commit is contained in:
parent
f4c311e6ff
commit
feff4d8507
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116083
@ -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 ");
|
||||
|
Loading…
Reference in New Issue
Block a user