Changeset 1150 for baculafs/trunk/bareos-fuse.py
- Timestamp:
- May 22, 2013, 12:54:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
baculafs/trunk/bareos-fuse.py
r1149 r1150 19 19 ################ 20 20 21 BA CULA_FS_VERSION = "$Rev$"22 23 LOG_FILENAME = '/tmp/ba culafs.log'24 LOG_BCONSOLE_DUMP = '/tmp/b console.out'25 26 27 #BA CULA_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n'28 BA CULA_CMD = '/usr/sbin/bconsole -n'21 BAREOS_FUSE_VERSION = "$Rev$" 22 23 LOG_FILENAME = '/tmp/bareos-fuse.log' 24 LOG_BCONSOLE_DUMP = '/tmp/bareos-fuse-bconsole.log' 25 26 27 #BAREOS_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n' 28 BAREOS_CMD = '/usr/sbin/bconsole -n' 29 29 30 30 BCONSOLE_CMD_PROMPT='\*' … … 51 51 self.last_items_dict = {} 52 52 53 self.bconsole = pexpect.spawn( BA CULA_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout )53 self.bconsole = pexpect.spawn( BAREOS_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout ) 54 54 self.bconsole.setecho( False ) 55 55 self.bconsole.expect( BCONSOLE_CMD_PROMPT ) … … 205 205 ############### 206 206 207 class Ba culaFS(fuse.Fuse):207 class BareosFuse(fuse.Fuse): 208 208 209 209 TYPE_NONE = 0 … … 346 346 347 347 usage = """ 348 Ba cula filesystem: displays files from Baculabackups as a (userspace) filesystem.349 Internaly, it uses Baculas bconsole.348 Bareos Fuse filesystem: displays files from Bareos backups as a (userspace) filesystem. 349 Internaly, it uses the Bareos bconsole. 350 350 351 351 """ + fuse.Fuse.fusage 352 352 353 353 354 fs = Ba culaFS(355 version="%prog: " + BA CULA_FS_VERSION,354 fs = BareosFuse( 355 version="%prog: " + BAREOS_FUSE_VERSION, 356 356 usage=usage, 357 357 # required to let "-s" set single-threaded execution
Note:
See TracChangeset
for help on using the changeset viewer.