diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-04-16 11:44:42 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-04-16 11:44:42 +0000 |
commit | d1c3acc006eee5f6b9d7c68915583fcf0330a65b (patch) | |
tree | 0ba78afde6b3a316b6ac9d988f9e0a606ad5b9f5 /sbin/disklabel/extern.h | |
parent | 39dbe65589e6038eed99aff70e371e9995e7cea0 (diff) |
Add '-F'. Same as '-f' but uses DUIDs when writing the mount point
information to the specified file. After every label write, read the
label to get current UID info.
Some internal code cleanup with no intended functional change.
ok deraadt@
Diffstat (limited to 'sbin/disklabel/extern.h')
-rw-r--r-- | sbin/disklabel/extern.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/disklabel/extern.h b/sbin/disklabel/extern.h index 4880a57b0bf..b1eb77cbb98 100644 --- a/sbin/disklabel/extern.h +++ b/sbin/disklabel/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.21 2010/11/24 14:15:31 jsing Exp $ */ +/* $OpenBSD: extern.h,v 1.22 2011/04/16 11:44:41 krw Exp $ */ /* * Copyright (c) 2003 Theo de Raadt <deraadt@openbsd.org> @@ -29,14 +29,15 @@ int duid_parse(struct disklabel *, char *); void readlabel(int); struct disklabel *makebootarea(char *, struct disklabel *, int); -int editor(struct disklabel *, int); +int editor(int); void editor_allocspace(struct disklabel *); void mpsave(struct disklabel *); int writelabel(int, char *, struct disklabel *); extern char bootarea[], *specname, *fstabfile; extern char *mountpoints[MAXPARTITIONS]; -extern int aflag, dflag; +extern int aflag, dflag, uidflag; extern int donothing; extern int verbose; extern char print_unit; +extern struct disklabel lab; |