diff options
author | Murray Stokely <murray@FreeBSD.org> | 2002-04-13 12:43:07 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2002-04-13 12:43:07 +0000 |
commit | dd5650233b7188e3ba45274b8dc1a4980f1e1d24 (patch) | |
tree | debd54be9cd6f42fd3d0e8ced3ba79c031d4abd0 /usr.sbin/sysinstall | |
parent | 7b59113e2f03cab1c8e42d894682d9f684cf66a1 (diff) | |
download | src-dd5650233b7188e3ba45274b8dc1a4980f1e1d24.tar.gz src-dd5650233b7188e3ba45274b8dc1a4980f1e1d24.zip |
Add the concept of a volume to the device and package structures. If
these values are different for a given package, then we must prompt
the user to insert another disc before the package can be installed.
Notes
Notes:
svn path=/head/; revision=94597
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/sysinstall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h index 68585008d14e..7c9d9d654b3c 100644 --- a/usr.sbin/sysinstall/sysinstall.h +++ b/usr.sbin/sysinstall/sysinstall.h @@ -280,6 +280,7 @@ typedef struct _device { void (*shutdown)(struct _device *dev); void *private; unsigned int flags; + unsigned int volume; } Device; /* Some internal representations of partitions */ @@ -335,6 +336,7 @@ typedef struct _indexEntry { /* A single entry in an INDEX file */ int depc; /* how many depend on me */ int installed; /* indicates if it is installed */ char *maintainer; /* maintainer */ + unsigned int volume; /* Volume of package */ } IndexEntry; typedef IndexEntry *IndexEntryPtr; |