Ignore:
Timestamp:
May 22, 2013, 12:54:32 PM (11 years ago)
Author:
joergs
Message:

use Bareos naming instead of Bacula

File:
1 edited

Legend:

Unmodified
Added
Removed
  • baculafs/trunk/bareos-fuse.py

    r1149 r1150  
    1919################
    2020
    21 BACULA_FS_VERSION = "$Rev$"
    22 
    23 LOG_FILENAME        = '/tmp/baculafs.log'
    24 LOG_BCONSOLE_DUMP   = '/tmp/bconsole.out'
    25 
    26 
    27 #BACULA_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n'
    28 BACULA_CMD = '/usr/sbin/bconsole -n'
     21BAREOS_FUSE_VERSION = "$Rev$"
     22
     23LOG_FILENAME        = '/tmp/bareos-fuse.log'
     24LOG_BCONSOLE_DUMP   = '/tmp/bareos-fuse-bconsole.log'
     25
     26
     27#BAREOS_CMD = 'strace -f -o /tmp/bconsole.strace /usr/sbin/bconsole -n'
     28BAREOS_CMD = '/usr/sbin/bconsole -n'
    2929
    3030BCONSOLE_CMD_PROMPT='\*'
     
    5151        self.last_items_dict = {}
    5252
    53         self.bconsole = pexpect.spawn( BACULA_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout )
     53        self.bconsole = pexpect.spawn( BAREOS_CMD, logfile=file(LOG_BCONSOLE_DUMP, 'w'), timeout=timeout )
    5454        self.bconsole.setecho( False )
    5555        self.bconsole.expect( BCONSOLE_CMD_PROMPT )
     
    205205###############
    206206
    207 class BaculaFS(fuse.Fuse):
     207class BareosFuse(fuse.Fuse):
    208208
    209209    TYPE_NONE = 0
     
    346346
    347347    usage = """
    348     Bacula filesystem: displays files from Bacula backups 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.
    350350
    351351    """ + fuse.Fuse.fusage
    352352
    353353
    354     fs = BaculaFS(
    355         version="%prog: " + BACULA_FS_VERSION,
     354    fs = BareosFuse(
     355        version="%prog: " + BAREOS_FUSE_VERSION,
    356356        usage=usage,
    357357        # required to let "-s" set single-threaded execution
Note: See TracChangeset for help on using the changeset viewer.