Weblog

All | General | Java | Music
Main | Next day (Jun 15, 2005) »
20050614 Tuesday June 14, 2005

Solaris Devfs Solaris originated from BSD and SVR4 UNIX. Over the years, many enhancements have been made to address business needs. One area of big change is the I/O framework and device name management.
Traditional UNIX kernel configures all devices at boot time. Device access is supported via two indexed arrays, bdevsw[] and cdevsw[], for block and character devices, respectively. The array elements contain references to driver entry points compiled into the kernel. Applications access device by opening device special files, created via the mknod(2) syscall. A device special file has a type (block or char) and a device number (dev_t). The type informs the kernel whether to use bdevsw[] or cdevsw[]. The device number contains two parts, major and minor. The major number is used to index into the arrays, and minor number is used by driver only, typically to determine which device instance to access.
Solaris modified and extended the model in many ways.

The current Solaris I/O framework is flexible and scales well from a single CPU system to high-end servers with 100+ CPUs and 1000+ devices. In addition, I/O devices can be reconfigured dynamically without rebooting the system. This functionality is also referred to as Dynamic Reconfiguration or hotplugging. In a future blog entry, I hope to explain in more detail the inner workings of devfs and the kernel device tree. ( Jun 14 2005, 08:38:19 AM PDT ) Permalink Comments [2]

Booting Solaris x86 at Fry's It was a fun story to tell. It's time to move on. ( Jun 14 2005, 08:29:44 AM PDT ) Permalink Comments [0]

Calendar

RSS Feeds

Search

Links

Navigation

Referers