- blocksize recognition code.
For 1.29 release:
+- Add whereabslinks to where or not where absolute links
+
+For 1.30 release:
+- Get correct error status from run_program or open_bpipe().
- Look at handling <> in smtp doesn't work with exim.
-- InitVerify is getting pruned and it shouldn't
- Priority job to go to top of list.
- Implement Bar code handling
- Why is catreq.c:111 Find vol called twice for a job?
- Find out why Full saves run slower and slower (hashing?)
-- Make 1.28c release ???
-- Make sure btraceback goes into /sbin not sysconf directory.
-- Get correct error status from run_program or open_bpipe().
-- Figure out how to allow multiple simultaneous file Volumes on
- a single device.
+- Figure out how to allow multiple simultaneous file Volumes on a single device.
- Why are save/restore of device different sizes (sparse?) Yup! Fix it.
-
- Implement some way for the Console to dynamically create a job.
- Restore to a particular time -- e.g. before date, after date.
- Implement SHA1
- Implement disk spooling
- Implement finer multiprocessing options.
- Solaris -I on tar for include list
-- Add whereabslinks to where or not where absolute links
- Enable avoid backing up archive device (findlib/find_one.c:128)
- Implement FileOptions (see end of this document)
- Implement Bacula plugins -- design API
(not necessary)
- Rewrite find_one.c to use only pool_memory instead of
alloca and malloc (probably not necessary).
+- Make sure btraceback goes into /sbin not sysconf directory.
+- InitVerify is getting pruned and it shouldn't (document it)
+- Make 1.28c release ??? NO do 1.29 directly
+- Set timeout on opening fifo for save or restore (findlib)
installdirs:
$(MKDIR) $(DESTDIR)$(sysconfdir)
+ $(MKDIR) $(DESTDIR)$(sbindir)
install: installdirs
$(INSTALL_SCRIPT) startmysql $(DESTDIR)$(sysconfdir)/startmysql
$(INSTALL_SCRIPT) bacula $(DESTDIR)$(sysconfdir)/bacula
$(INSTALL_SCRIPT) fd $(DESTDIR)$(sysconfdir)/fd
$(INSTALL_SCRIPT) mtx-changer $(DESTDIR)$(sysconfdir)/mtx-changer
- $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sysconfdir)/btraceback
- $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(sysconfdir)/btraceback.gdb
+ $(INSTALL_SCRIPT) btraceback $(DESTDIR)$(sbindir)/btraceback
+ $(INSTALL_DATA) btraceback.gdb $(DESTDIR)$(sbindir)/btraceback.gdb
uninstall:
(cd $(DESTDIR)$(sysconfdir); $(RMF) startmysql)
(cd $(DESTDIR)$(sysconfdir); $(RMF) bacula)
(cd $(DESTDIR)$(sysconfdir); $(RMF) fd)
(cd $(DESTDIR)$(sysconfdir); $(RMF) mtx-changer)
- (cd $(DESTDIR)$(sysconfdir); $(RMF) btraceback)
- (cd $(DESTDIR)$(sysconfdir); $(RMF) btraceback.gdb)
+ (cd $(DESTDIR)$(sbindir); $(RMF) btraceback)
+ (cd $(DESTDIR)$(sbindir); $(RMF) btraceback.gdb)
Makefile: Makefile.in
cd $(topdir) \
if (ff_pkt->type != FT_LNKSAVED && (S_ISREG(ff_pkt->statp.st_mode) &&
ff_pkt->statp.st_size > 0) ||
ff_pkt->type == FT_RAW || ff_pkt->type == FT_FIFO) {
+ btimer_id tid;
+ if (ff_pkt->type == FT_FIFO) {
+ tid = start_thread_timer(pthread_self(), 60);
+ } else {
+ tid = NULL;
+ }
if ((ff_pkt->fid = open(ff_pkt->fname, O_RDONLY | O_BINARY)) < 0) {
ff_pkt->ff_errno = errno;
Jmsg(jcr, M_NOTSAVED, -1, _(" Cannot open %s: ERR=%s.\n"), ff_pkt->fname, strerror(ff_pkt->ff_errno));
+ stop_thread_timer(tid);
return 1;
}
+ stop_thread_timer(tid);
} else {
ff_pkt->fid = -1;
}
}
}
if (type == FT_RAW || type == FT_FIFO) {
+ btimer_id tid;
Dmsg1(200, "FT_RAW|FT_FIFO %s\n", ofile);
mode = O_WRONLY | O_BINARY;
+ /* Timeout open() in 60 seconds */
+ if (type == FT_FIFO) {
+ tid = start_thread_timer(pthread_self(), 60);
+ } else {
+ tid = NULL;
+ }
if ((*ofd = open(ofile, mode)) < 0) {
Jmsg2(jcr, M_ERROR, 0, _("Could not open %s: ERR=%s\n"), ofile, strerror(errno));
+ stop_thread_timer(tid);
return CF_ERROR;
}
+ stop_thread_timer(tid);
return CF_EXTRACT;
}
Dmsg1(200, "FT_SPEC %s\n", ofile);
*/
void stop_thread_timer(btimer_id wid)
{
+ if (!wid) {
+ return;
+ }
Dmsg2(200, "Stop thread timer 0x%x for %d secs.\n", wid, wid->wait);
stop_btimer(wid);
}
/* */
#define VERSION "1.29"
#define VSTRING "1"
-#define DATE "20 January 2003"
-#define LSMDATE "20Jan03"
+#define DATE "22 January 2003"
+#define LSMDATE "22Jan03"
/* Debug flags */
#define DEBUG 1