I think I saw something about this on the mailing list archive.  Don't know if 
anyone else has commented on this so here goes.

I was able to get Bacula compiled and working on OpenBSD 4.0 by copying 
/usr/include/sys/mtio.h from OBSD 3.9 to a temporary location and changing the 
reference to mtio.h in stored to point to the old copy.  When I did a diff of 
the two mtio header files it looks like the major changes between 3.9 and 4.0 
was the removal of some structure elements which are "not yet implemented".  
Here's the diff between the 3.9 and 4.0 header.

1c1
< /*    $OpenBSD: mtio.h,v 1.6 2003/06/02 23:28:21 millert Exp $        */
---
> /*    $OpenBSD: mtio.h,v 1.7 2006/06/01 05:42:01 krw Exp $    */
75,78d74
< /* the following two are not yet implemented */
<       daddr_t mt_fileno;      /* file number of current position */
<       daddr_t mt_blkno;       /* block number of current position */
< /* end not yet implemented */
81,82c77,78
<       daddr_t mt_mblksiz[4];  /* block size for different modes */
<       daddr_t mt_mdensity[4]; /* density codes for different modes */
---
>       daddr_t mt_mblksiz;     /* default block size */
>       daddr_t mt_mdensity;    /* default density code */

My Bacula server does not go directly to tape but spools to disk.  I later 
off-load my disk images to tape.

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to