summaryrefslogtreecommitdiffstats
path: root/src/bsd.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-12-06 00:34:10 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-12-06 00:34:10 +0100
commit56e807748e6e8ee7e924834fc2516d4e63dbca3c (patch)
tree355967b1cf856e15aa8a8d42c76d71f256b91bc0 /src/bsd.c
parentf51aa191c2be32b989b4ddb5fee31b8bfd75edf5 (diff)
Better handle FAT filenames
Rename filenames while copying under Dos and Windows
Diffstat (limited to 'src/bsd.c')
-rw-r--r--src/bsd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bsd.c b/src/bsd.c
index bd8759a..587ea05 100644
--- a/src/bsd.c
+++ b/src/bsd.c
@@ -49,8 +49,6 @@ int check_BSD(disk_t *disk_car,partition_t *partition,const int verbose, const u
return 1;
}
set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16);
- if(check_volume_name(partition->fsname,16))
- partition->fsname[0]='\0';
free(buffer);
return 0;
}
@@ -154,8 +152,6 @@ int recover_BSD(disk_t *disk_car, const struct disklabel*bsd_header,partition_t
partition->part_size=0;
partition->part_type_i386=P_FREEBSD;
set_part_name(partition,bsd_header->d_packname,16);
- if(check_volume_name(partition->fsname,16))
- partition->fsname[0]='\0';
partition->info[0]='\0';
return 0;
}
@@ -176,8 +172,6 @@ int recover_BSD(disk_t *disk_car, const struct disklabel*bsd_header,partition_t
partition->part_size=0;
partition->part_type_i386=P_OPENBSD;
set_part_name(partition,bsd_header->d_packname,16);
- if(check_volume_name(partition->fsname,16))
- partition->fsname[0]='\0';
partition->info[0]='\0';
return 0;
}