Use OPERATOR instead of WHEEL for make_dev(), use 0640 instead of 0644

for disk devices to be consistent with other storage devices.

Submitted by:	kris
Reviewed by:	scottl
This commit is contained in:
rwatson 2002-12-27 17:52:16 +00:00
parent 4cb5c6109a
commit dfce4bd012

View File

@ -301,8 +301,8 @@ aac_attach(struct aac_softc *sc)
* Make the control device.
*/
unit = device_get_unit(sc->aac_dev);
sc->aac_dev_t = make_dev(&aac_cdevsw, unit, UID_ROOT, GID_WHEEL, 0644,
"aac%d", unit);
sc->aac_dev_t = make_dev(&aac_cdevsw, unit, UID_ROOT, GID_OPERATOR,
0640, "aac%d", unit);
#if __FreeBSD_version > 500005
(void)make_dev_alias(sc->aac_dev_t, "afa%d", unit);
(void)make_dev_alias(sc->aac_dev_t, "hpn%d", unit);