summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/sysv.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/sysv.c')
-rw-r--r--util-linux/volume_id/sysv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/volume_id/sysv.c b/util-linux/volume_id/sysv.c
index 71c0fd4..7671962 100644
--- a/util-linux/volume_id/sysv.c
+++ b/util-linux/volume_id/sysv.c
@@ -97,9 +97,9 @@ int volume_id_probe_sysv(struct volume_id *id, uint64_t off)
return -1;
if (vs->s_magic == cpu_to_le32(SYSV_MAGIC) || vs->s_magic == cpu_to_be32(SYSV_MAGIC)) {
- volume_id_set_label_raw(id, vs->s_fname, 6);
+// volume_id_set_label_raw(id, vs->s_fname, 6);
volume_id_set_label_string(id, vs->s_fname, 6);
- id->type = "sysv";
+// id->type = "sysv";
goto found;
}
}
@@ -110,9 +110,9 @@ int volume_id_probe_sysv(struct volume_id *id, uint64_t off)
return -1;
if (xs->s_magic == cpu_to_le32(XENIX_MAGIC) || xs->s_magic == cpu_to_be32(XENIX_MAGIC)) {
- volume_id_set_label_raw(id, xs->s_fname, 6);
+// volume_id_set_label_raw(id, xs->s_fname, 6);
volume_id_set_label_string(id, xs->s_fname, 6);
- id->type = "xenix";
+// id->type = "xenix";
goto found;
}
}
@@ -120,6 +120,6 @@ int volume_id_probe_sysv(struct volume_id *id, uint64_t off)
return -1;
found:
- volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
+// volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
return 0;
}