Merge pull request #29952 from herlo/develop

fixup mount.fstab to accommodate entries with the same name
This commit is contained in:
Mike Place 2015-12-22 13:28:54 -07:00
commit ce60b91318

View File

@ -313,6 +313,9 @@ def fstab(config='/etc/fstab'):
_fstab_entry.compatibility_keys)
entry['opts'] = entry['opts'].split(',')
while entry['name'] in ret:
entry['name'] += '_'
ret[entry.pop('name')] = entry
except _fstab_entry.ParseError:
pass