freebsd-nq/sys/geom
Ed Schouten 06d425f92e Remove the distinction between device minor and unit numbers.
Even though we got rid of device major numbers some time ago, device
drivers still need to provide unique device minor numbers to make_dev().
These numbers are only used inside the kernel. They are not related to
device major and minor numbers which are visible in devfs. These are
actually based on the inode number of the device.

It would eventually be nice to remove minor numbers entirely, but we
don't want to be too agressive here.

Because the 8-15 bits of the device number field (si_drv0) are still
reserved for the major number, there is no 1:1 mapping of the device
minor and unit numbers. Because this is now unused, remove the
restrictions on these numbers.

The MAXMAJOR definition was actually used for two purposes. It was used
to convert both the userspace and kernelspace device numbers to their
major/minor pair, which is why it is now named UMINORMASK.

minor2unit() and unit2minor() have now become useless. Both minor() and
dev2unit() now serve the same purpose. We should eventually remove some
of them, at least turning them into macro's. If devfs would become
completely minor number unaware, we could consider using si_drv0 directly,
just like si_drv1 and si_drv2.

Approved by:	philip (mentor)
2008-05-29 12:50:46 +00:00
..
bde Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cache Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
concat Implement BIO_FLUSH handling by simply passing it down to the components. 2006-10-31 21:23:51 +00:00
eli On some arches, openssl is built with OPENSSL_NO_CAMELLIA, so the 2007-11-19 08:59:32 +00:00
gate Bump copyright year. 2006-09-08 10:20:44 +00:00
journal Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
label o s/resiserfs_sb/reiserfs_sb/. 2007-11-16 19:43:26 +00:00
linux_lvm Add a geom class to map Linux LVM logical volumes. 2008-02-20 07:45:36 +00:00
mirror Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
multipath Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
nop Remove trailing spaces. 2006-09-30 08:16:49 +00:00
part Implement the G_PART_DUMPCONF method for all 6 schemes. Also call 2008-04-23 20:13:05 +00:00
raid3 Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
shsec Add BIO_FLUSH support to GSHSEC class. 2006-11-01 12:30:51 +00:00
stripe Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
uzip If compressed length is zero, return a zero-filled block. 2007-04-24 06:30:06 +00:00
vinum - Recognize the 'volume' parameter when creating a plex. 2008-05-22 10:27:03 +00:00
virstor LINT compiled just fine for me, but it seems it breaks tinerbox way of 2007-09-23 15:10:48 +00:00
zero Remove trailing spaces. 2006-02-01 12:06:01 +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_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_bsd.c Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type. 2007-12-06 09:20:27 +00:00
geom_ccd.c Make CCD be able to read and write Linux software raids. 2006-04-13 20:35:31 +00:00
geom_ctl.c - Be more verbose when saying "foo" not found. 2007-03-30 16:32:08 +00:00
geom_ctl.h
geom_dev.c Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
geom_disk.c Teach the dump and minidump code to respect the maxioszie attribute of 2008-02-15 06:26:25 +00:00
geom_disk.h - Extend disk structure to allow to store disk's serial number, which can be 2007-05-05 17:12:15 +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 When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +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_int.h
geom_io.c Don't limit BIO_DELETE requests to MAXPHYS, they perform no data 2007-12-16 18:03:31 +00:00
geom_kern.c Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +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 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 Handle GEOM::ident attribute by attaching 'sX' string at the end of ident 2007-05-05 17:52:22 +00:00
geom_slice.h Allow to use g_slice_orphan() from outside. 2006-02-18 11:21:17 +00:00
geom_subr.c - Assert that we don't send new provider event for a provider which has 2008-05-18 22:50:50 +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 Cylinder group bitmaps and blocks containing inode for a snapshot 2007-01-23 10:01:19 +00:00
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 Add g_retaste(), which given a class will present all non-open providers 2008-03-23 01:23:35 +00:00
notes