"Peter Tribble" <[EMAIL PROTECTED]> wrote:

> On Thu, May 29, 2008 at 12:56 PM, Joerg Schilling
> <[EMAIL PROTECTED]> wrote:
> >>
> >> There are no equivalents of pre- and postinstall, no equivalents of pre- 
> >> and postremove?!?!?
> >
> > I heard anbout this seveeral times and I am wondering how one would install 
> > a
> > driver without this feature.........
>
> Because IPS knows how to handle driver installation as
> a first class operation without having to resort to postinstall
> hackery. (As it understands how to handle other common
> classes of object. that might be installed on a system.)

Driver installations modify files like

/etc/name_to_major
/etc/driver_aliases
/etc/devlink.tab
/etc/minor_perm
...

by inserting lines. Parts of this work is done by calling add_drv(1M)
but others is done by including shell or sed scripts into the driver's
postinstall code. Are you sure that everything a driver may need is in IPS now?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to