From d572260358b6e8262d28cbd3cd887503306aae3a Mon Sep 17 00:00:00 2001 From: murray Date: Sat, 13 Apr 2002 12:43:07 +0000 Subject: 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. --- usr.sbin/sade/sade.h | 2 ++ usr.sbin/sysinstall/sysinstall.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'usr.sbin') diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 6858500..7c9d9d6 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.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; diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h index 6858500..7c9d9d6 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; -- cgit v1.1