]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.h
Simplify two messages in acquire.c
[bacula/bacula] / bacula / src / stored / dev.h
index d2fd63c935af445667a13f37f42b4d0a3f94761d..4bcc54b7781a5f2d6dce169dc64775ece7de7d68 100644 (file)
@@ -81,6 +81,7 @@
 #define CAP_AUTOCHANGER    0x1000     /* AutoChanger */
 #define CAP_OFFLINEUNMOUNT 0x2000     /* Offline before unmount */
 #define CAP_STREAM         0x4000     /* Stream device */
+#define CAP_BSFATEOM       0x8000     /* Backspace file at EOM */
 
 /* Test state */
 #define dev_state(dev, state) ((dev)->state & (state))
 #define BST_DOING_ACQUIRE     3       /* Opening/validating/moving tape */
 #define BST_WRITING_LABEL     4       /* Labeling a tape */  
 #define BST_UNMOUNTED_WAITING_FOR_SYSOP 5 /* Closed by user during mount request */
+#define BST_MOUNT             6       /* Mount request */
 
 /* Volume Catalog Information structure definition */
 typedef struct s_volume_catalog_info {
@@ -164,8 +166,6 @@ typedef struct s_device {
    uint32_t EndFile;                  /* last file written */
    uint32_t min_block_size;           /* min block size */
    uint32_t max_block_size;           /* max block size */
-   uint32_t max_volume_jobs;          /* max jobs to put on one volume */
-   uint64_t max_volume_files;         /* max files to put on one volume */
    uint64_t max_volume_size;          /* max bytes to put on one volume */
    uint64_t max_file_size;            /* max file size to put in one file on volume */
    uint64_t volume_capacity;          /* advisory capacity */