code: def new(self, mode):
          # type: (int) -> None
          '''
          Create a new Rock Ridge POSIX File Attributes record.
  
          Parameters:
           mode - The Unix file mode for this record.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('PX record already initialized!')
  
          self.posix_file_mode = mode
          self.posix_file_links = 1
          self.posix_user_id = 0
          self.posix_group_id = 0
          self.posix_serial_number = 0
  
          self._initialized = Truf new(self, mode):
          # type: (int) -> None
          '''
          Create a new Rock Ridge POSIX File Attributes record.
  
          Parameters:
           mode - The Unix file mode for this record.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('PX record already initialized!')
  
          self.posix_file_mode = mode
          self.posix_file_links = 1
          self.posix_user_id = 0
          self.posix_group_id = 0
          self.posix_serial_number = 0
  
          self._initialized = True
docs: Create a new Rock Ridge POSIX File Attributes record.
  
          Parameters:
           mode - The Unix file mode for this record.
          Returns:
           Nothing.