summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2002-04-13 12:43:07 +0000
committermurray <murray@FreeBSD.org>2002-04-13 12:43:07 +0000
commitd572260358b6e8262d28cbd3cd887503306aae3a (patch)
treedebd54be9cd6f42fd3d0e8ced3ba79c031d4abd0 /usr.sbin/sade
parent5b2c8cd7d6e5bda9cff9b94e94a6ef9045db5eba (diff)
downloadFreeBSD-src-d572260358b6e8262d28cbd3cd887503306aae3a.zip
FreeBSD-src-d572260358b6e8262d28cbd3cd887503306aae3a.tar.gz
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.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/sade.h2
1 files changed, 2 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud