Lines 154-160
class Commands(object):
|
Link Here
|
---|
|
154 |
if partition: |
154 |
if partition: |
155 |
mounted_partition = mt.get(partition.spec) |
155 |
mounted_partition = mt.get(partition.spec) |
156 |
if mounted_partition: |
156 |
if mounted_partition: |
157 |
if 'usrquota' not in mounted_partition.options: |
157 |
if 'usrquota' not in mounted_partition.options and 'usrjquota=aquota.user' not in mounted_partition.options: |
158 |
raise UMC_Error(_('The following partition is mounted without quota support: %s') % partition_name) |
158 |
raise UMC_Error(_('The following partition is mounted without quota support: %s') % partition_name) |
159 |
else: |
159 |
else: |
160 |
raise UMC_Error(_('The following partition is currently not mounted: %s') % partition_name) |
160 |
raise UMC_Error(_('The following partition is currently not mounted: %s') % partition_name) |