diff options
author | murray <murray@FreeBSD.org> | 2002-04-13 12:43:07 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2002-04-13 12:43:07 +0000 |
commit | d572260358b6e8262d28cbd3cd887503306aae3a (patch) | |
tree | debd54be9cd6f42fd3d0e8ced3ba79c031d4abd0 /usr.sbin/sade | |
parent | 5b2c8cd7d6e5bda9cff9b94e94a6ef9045db5eba (diff) | |
download | FreeBSD-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.h | 2 |
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; |