freebsd-dev/sys/geom
Maxim Sobolev 6023800194 It is unclear who is wrong and who is right, but when operating on
plain file bsdlabel(8) always writes label at a fixed offset from
its beginning (512 bytes), regardless of the sector size. At the same
time, bsdlabel geom class expects label to be available at the very
beginning of the second sector.

As a result, images prepared in userland for media with sector size
different from 512 bytes (i.e. 2k for cdroms) are not recognized by
the tasting mechanism.

Solve the problem by always looking for the label at 512-byte offset
if we can't find it at the beginning of the second sector and sector
size is not 512 bytes.
2005-11-30 22:54:41 +00:00
..
bde Kill leading whilespace. 2005-11-30 19:07:28 +00:00
concat Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
eli Check for g_read_data(9) errors properly: 2005-11-30 19:24:51 +00:00
gate Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
label Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
mirror Check for g_read_data(9) errors properly: 2005-11-30 19:24:51 +00:00
nop
raid3 Check for g_read_data(9) errors properly: 2005-11-30 19:24:51 +00:00
shsec Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
stripe Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
uzip Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
vinum Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
zero
geom_aes.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_apple.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_bsd_enc.c
geom_bsd.c It is unclear who is wrong and who is right, but when operating on 2005-11-30 22:54:41 +00:00
geom_ccd.c
geom_ctl.c
geom_ctl.h
geom_dev.c
geom_disk.c Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_disk.h Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_dump.c Make the kern.geom.conftxt sysctl more usable by also dumping the 2005-11-12 20:02:02 +00:00
geom_event.c
geom_fox.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_gpt.c Check for g_read_data(9) errors properly: 2005-11-30 19:24:51 +00:00
geom_int.h
geom_io.c
geom_kern.c Add sysctl descriptions. 2005-11-25 10:09:30 +00:00
geom_mbr_enc.c
geom_mbr.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_pc98_enc.c
geom_pc98.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_slice.c
geom_slice.h
geom_subr.c Fix a bug that caused some /dev entries to continue to exist after 2005-11-18 02:43:49 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom_vfs.c
geom_vfs.h
geom_vol_ffs.c Don't pass error value pointer to g_read_data(9) at all if we don't 2005-11-30 22:15:00 +00:00
geom.h
notes