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? Agree that this way
much more conveniently than to correct some Makefiles:
.....
# 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))
....

-- 

Best regards,
Alexander R. Eremin
--
MilaX minimal Live Distribution developer 
Software engineer and system admin
http://www.milax.org

Reply via email to