Date: Fri, 20 Feb 2009 04:48:40 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom geom_dev.c src/sys/geom/part g_part.c g_part_ebr.c g_part_if.m src/sys/sys disk.h Message-ID: <200902200449.n1K4ncM0094317@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2009-02-20 04:48:40 UTC
FreeBSD src repository
Modified files:
sys/geom geom_dev.c
sys/geom/part g_part.c g_part_ebr.c g_part_if.m
sys/sys disk.h
Log:
SVN rev 188839 on 2009-02-20 04:48:40Z by marcel
Provide compatibility symlink for logical partitions:
1. Extend geom_dev by having it create the symlink (i.e. call
make_dev_alias) based on the DIOCGPROVIDERALIAS ioctl.
In this way the functionaility is generic and thus usable
by any geom/provider.
2. Have g_part handle said ioctl through the devalias method,
so that it's under control of the scheme itself. By design
the alias will not be created for newly added partitions.
Revision Changes Path
1.101 +12 -0 src/sys/geom/geom_dev.c
1.33 +34 -0 src/sys/geom/part/g_part.c
1.4 +26 -1 src/sys/geom/part/g_part_ebr.c
1.7 +9 -0 src/sys/geom/part/g_part_if.m
1.44 +6 -0 src/sys/sys/disk.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902200449.n1K4ncM0094317>
