]> git.sur5r.net Git - bacula/docs/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)
commit95cb3a513ac626ee95f4be27510615c0462b67a8
treed58c4851f084edb8c9b439c61267414c464d260b
parented3a1a3a7fd45ab056623d176a4f10cfcecd9d0f
- 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.