8a4974cb5a
Previously, any parse error will result in the calling program exiting with an unpleasant message. This change will cause libdisk to issue a warning and ignore lines it cannot parse instead of bluntly terminating the unfortunate enough program. This change will allow you to use sysinstall if you have a NTFS parition with a space in the name (such as 'Win Xp'). In such a case, a line like the following will appear in the kern.geom.conftxt output: 2 LABEL ntfs/Win Xp 209818635264 512 i 0 o 0 As the fields are space-separated, libdisk would go beserk and exit the program. This would happen if using FreeBSD 7.0 snapshot images (as GEOM_LABEL is in the installation kernel as well), thus making it impossible to install FreeBSD without renaming your NTFS paritions. Reported by: Dwight Berendse <dwight at berendse dot org> Nod from: phk Reviewed by: imp Approved by: re (bmah), imp (mentor) MFC after: 1 month |
||
---|---|---|
.. | ||
blocks.c | ||
change.c | ||
chunk.c | ||
create_chunk.c | ||
disk.c | ||
libdisk.3 | ||
libdisk.h | ||
Makefile | ||
open_disk.c | ||
open_ia64_disk.c | ||
rules.c | ||
tst01.c | ||
write_amd64_disk.c | ||
write_arm_disk.c | ||
write_disk.c | ||
write_i386_disk.c | ||
write_ia64_disk.c | ||
write_pc98_disk.c | ||
write_powerpc_disk.c | ||
write_sparc64_disk.c |