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 g_nop_create: destroy newly created provider in case of errors. 2004-09-16 15:28:48 +00:00
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 Add a very simple and small GEOM class - ZERO. 2005-07-25 10:03:16 +00:00
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 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
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 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom_ctl.c o Don't cause a panic when the control request lacks a verb. 2005-09-18 23:54:40 +00:00
geom_ctl.h Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
geom_dev.c Avoid null pointer dereference. 2005-03-18 06:57:58 +00:00
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 Remove a race condition that could result in processes being stuck 2005-09-04 19:14:19 +00:00
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 Use unit number allocation functions for GEOM minor numbers. 2004-10-25 12:28:28 +00:00
geom_io.c - Add a new simple facility for marking the current thread as being in a 2005-09-15 19:05:37 +00:00
geom_kern.c Add sysctl descriptions. 2005-11-25 10:09:30 +00:00
geom_mbr_enc.c /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
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 Fix signed vs unsigned warning. 2005-05-01 09:44:50 +00:00
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 Fix so that when a slice or a partition is removed through g_slice_config(), 2005-09-14 21:38:35 +00:00
geom_slice.h Add a destroy_geom method to the slice "library". 2003-05-31 19:25:05 +00:00
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 Support VTOC volume names. This can be useful to distinguish multiple 2005-03-30 09:33:10 +00:00
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 Try to unbreak the vnode locking around vop_reclaim() (based mostly on 2005-02-19 11:44:57 +00:00
geom_vfs.h Make various random things static 2005-02-10 12:10:35 +00:00
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 Typo. 2005-09-03 11:03:10 +00:00
notes For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00