device file on Solaris 10

From: Mehrotra, Vivek (STSD) (vivek.mehrotra@hp.com)
Date: Tue Jun 07 2005 - 03:23:20 EDT


Hi Experts,

I have a specific question for Solaris 10. When I create a device file
using "mknod" (mknod /dev/rdsk/xyz c m n, where m=major and n=minor
number) and a driver with major number (m) exists it works fine.

The problem is when I try to open this device file (say using 'cat') I
get ENXIO error. If I use 0 as minor number to create (using mknod) this
device file then open succeeds, else with any other minor number it
fails with ENXIO error.

The same exercise succeeds on other versions of Solaris (Solaris 8/9).

Any help would be appreciated.

TIA
Vivek
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:51 EDT