#NEWLINE# def run( self , deployer , state_persister ) : #NEWLINE# #INDENT# "\n        Run the system ``mount`` tool to mount this change's volume's block\n        device.  The volume must be attached to this node.\n        " #NEWLINE# try : #NEWLINE# #INDENT# self . mountpoint . makedirs ( ) #NEWLINE# #UNINDENT# except OSError as e : #NEWLINE# #INDENT# if ( e . errno != EEXIST ) : #NEWLINE# #INDENT# return fail ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . mountpoint . parent ( ) . chmod ( S_IRWXU ) #NEWLINE# deployer . block_device_manager . mount ( self . device_path , self . mountpoint ) #NEWLINE# lostfound = self . mountpoint . child ( b'lost+found' ) #NEWLINE# if ( self . mountpoint . children ( ) == [ lostfound ] ) : #NEWLINE# #INDENT# lostfound . remove ( ) #NEWLINE# self . mountpoint . chmod ( ( ( S_IRWXU | S_IRWXG ) | S_IRWXO ) ) #NEWLINE# self . mountpoint . restat ( ) #NEWLINE# #UNINDENT# return succeed ( None )