code: def record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Alternate Name record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('NM record not yet initialized!')
  
          return b'NM' + struct.pack(b'=BBB', RRNMRecord.length(self.posix_name), SU_ENTRY_VERSION, self.posix_name_flags) + self.posix_namf record(self):
          # type: () -> bytes
          '''
          Generate a string representing the Rock Ridge Alternate Name record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInternalError('NM record not yet initialized!')
  
          return b'NM' + struct.pack(b'=BBB', RRNMRecord.length(self.posix_name), SU_ENTRY_VERSION, self.posix_name_flags) + self.posix_name
docs: Generate a string representing the Rock Ridge Alternate Name record.
  
          Parameters:
           None.
          Returns:
           String containing the Rock Ridge record.