[pkg-discuss] Re: query re files in /kernel/drv/*.conf
- From: Albert White <
- Subject: [pkg-discuss] Re: query re files in /kernel/drv/*.conf
- Date: Wed, 27 Mar 2013 12:47:56 +0000
On 27/03/2013 12:19, Enda o'Connor - Oracle Ireland - Software Engineer
> what is the best way to check if a file in /kernel/drv/*.conf has
> changed since s11 FCS to s11.1 latest SRU say?
This is what I do:
pkg search -af -o chash,path,pkg.fmri
CHASH PATH PKG.FMRI
So no change between 175.0.0 and 175.0.9, but there was a change going
> I want to detect if ssd.conf and sd.conf have changed since s11 FCS
> and hence are likely to get overwritten during update and lead to
> systems booting without the changes.
> I can install s11 FCS and edit them, but interested to see if I can
> get this more easily via pkg.
> technically the 4 files that are of type preserve in /kernel/drv
> probably should not be type preserve, any customisations that need to
> go to these 4 should be done via their counterparts in
> /etc/driver/drv/*.conf files.
> that way, Solaris can deliver changes to say /kernel/drv/bmc.conf
> without having to worry about wiping out any customisations, when
> system boots it will merge the core /kernel/drv/bmc.conf with
> /etc/driver/drv/bmc.conf that way you can customise bmc.conf and still
> let solaris deliver changes to it as well.
>> not many do on my system that get installed there. Contrasting that with
>> the contents of /etc/ is interesting:
>> $ pkg search -l -o preserve,path,pkg.fmri \
>> ':file:path:/etc/*' | grep -v '^ '