From: Kern Sibbald Date: Wed, 3 Aug 2005 19:01:43 +0000 (+0000) Subject: - Modify open() for tape so nonblocking really works. X-Git-Tag: Release-1.38.0~215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86aa5d843113316a45a8ec0c19123fd7460eb73b;p=bacula%2Frescue - Modify open() for tape so nonblocking really works. - Use fcntl() to reset blocking status rather than close() and reopen the drive. - Make sure dev->open() is always called so that any change in read/write permissions will occur. - Open drives initially in daemon in read-only mode. - Ensure that each time the VolHdr.VolumeName is zapped or changed that free_volume() is called on the old name. ---