]> git.sur5r.net Git - bacula/bacula/commit
- Modify open() for tape so nonblocking really works.
authorKern Sibbald <kern@sibbald.com>
Wed, 3 Aug 2005 19:01:43 +0000 (19:01 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 3 Aug 2005 19:01:43 +0000 (19:01 +0000)
commit010fc7b4d4f3a123773aabce621610dc0d77bd40
tree02aabbef302c2cacdb1c3eebd9620151c35e828b
parentd124974c4f0163bdae309efe0bc52f1ef7fe7412
- 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.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2289 91ce42f0-d328-0410-95d8-f526ca767f89
bacula/kes-1.37
bacula/src/stored/acquire.c
bacula/src/stored/ansi_label.c
bacula/src/stored/dev.c
bacula/src/stored/dev.h
bacula/src/stored/device.c
bacula/src/stored/dircmd.c
bacula/src/stored/label.c
bacula/src/version.h