Alexander R. Eremin wrote: > On Mon, 2008-11-10 at 22:58 -0800, Dan Mick wrote: >> Alexander R. Eremin wrote: >>> Only the lazy user did not compile a linux kernel independently. >>> However for linux there are conveniences like menuconfig. Why not to >>> make similar things for solaris? It would be desirable to give the >>> chance for the user to select easily from the menu to remove unneeded >>> modules or insert something else. >> For the most part, modules and features are loaded dynamically; very little >> is >> statically-configured by the Solaris build process. Adding new drivers or >> removing errant ones can be accomplished at runtime with add_drv and rem_drv; >> there are .conf files and *cnf utilities to configure a lot of system >> behavior; >> but there isn't much done at compile-time. Both 32-bit and 64-bit modules >> are >> present in the built images, and they're selected dynamically as needed for >> the >> machine to run or the boot (by Grub menu selections). >> >> Did you have a specific problem, or were you just asking about the >> equivalent >> mechanism? > > Why not to make the same file as in FreeBSD Generic?
The simple and flippant answer is "because it's not done that way", but a slightly more useful answer is "because it's not necessary; it saves time in the build process, and saves some disk space, but makes build outputs that are not universally useful, and saves no runtime space or time." > Agree that this way > much more conveniently than to correct some Makefiles: no Makefiles need correction; you build Solaris, you build everything and install it all; then the machine loads what it needs to run. > ..... > # Bus support. Do not remove isa, even if you have no isa slots > device isa > device eisa > device pci > > # Floppy drives > device fdc > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device ataraid # ATA RAID drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID # Static device numbering > > # SCSI Controllers > device ahb # EISA AHA1742 family > device ahc # AHA2940 and onboard AIC7xxx devices > device ahd # AHA39320/29320 and onboard AIC79xx > devices > device amd # AMD 53C974 (Tekram DC-390(T)) > .... >
