TRUE, /* can_mount */
TRUE, /* can_create */
80, /* max_label_len */
- TRUE, /* supports_label_rename */
+ FALSE, /* supports_label_rename */
FALSE, /* supports_online_label_rename*/
FALSE, /* supports_fsck */
FALSE, /* supports_online_fsck */
{
command_line = g_strdup_printf ("ntfslabel %s \"%s\"", device, new_label);
}
- else if (strcmp (fstype, "nilfs2") == 0)
- {
- command_line = g_strdup_printf ("nilfs-tune -L %s \"%s\"", new_label, device);
- }
else
{
g_printerr ("fstype %s not supported\n", fstype);
self.assertEqual(fs[3], type != 'swap') # can_mount
self.assert_(fs[4]) # can_create
supports_label_rename = fs[6]
- # minix does not support labels; EXFAIL: swap, btrfs don't have a program for it
- self.assertEqual(supports_label_rename, type not in ('btrfs', 'minix', 'swap'))
+ # minix does not support labels; EXFAIL: swap, btrfs, nilfs2 don't have a program for it
+ self.assertEqual(supports_label_rename, type not in ('nilfs2', 'btrfs', 'minix', 'swap'))
break
else:
self.fail('KnownFilesystems does not contain ' + type)