Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 1996 23:02:47 +1000 (EST)
From:      HMG coA reductase <s_koyin@eduserv.its.unimelb.EDU.AU>
To:        questions@freebsd.org
Subject:   devname won't recognise some devices
Message-ID:  <Pine.OSF.3.91.960730225712.8906A-100000@eduserv.its.unimelb.EDU.AU>

next in thread | raw e-mail | index | archive | help
hi,

this function returned a "??" when called as
	devname (196612, S_IFCHR)
but gave me "wd0s2e" when called as
        devname (196612, S_IFBLK)

any ideas why it won't work with S_IFCHR? rwd0s2e is in /var/run/dev.db
and i'm running as root.

brw-r-----  1 root  wheel    0, 196612 Jul 22 10:22 /dev/wd0s2e
crw-r-----  1 root  wheel    3, 196612 Jul 22 10:22 /dev/rwd0s2e

thanks.

ivan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960730225712.8906A-100000>