Copying *everything* in case I want to add a package later scales *really* 
badly :-(
I'm reminded of when my job required installing MATLAB ca 1995.   30,000 lines 
of shell scripts calling each other multiple times.    I added "<filename> 
/usr/bin/date >>log to all the scripts.  It was *almost* funny.  If ZFS can't 
mount multiple snapshots RO it needs to.
I'd like to see some serious explanation of why mounting a snapshot of the repo 
at the time of the "not a release" is not viable.  I am supporting the servers 
at $100 USD/month.  Do I really want to support something this broken?
This is NOT a resource issue, disk is $25/TB and there are not TBs of actual 
changes in a year unless someone has done something breathetakingly wrong.
My own S10 package setup where I built everything from source I can switch 
between multiple installed versions at will, all of which resolved to the same 
search.  :unlink version <n.x>; link At one oil company /tool/{bin,lib,man,etc} 
resolved to  /tool/<arch>/{bin,lib,man,etc}for 6 platforms and a single NFS 
directory per user. I set it up and maintained all the OS stuff we had all 
common across all platforms.  In a COW system the snapshots are cheap. I 
presume only portions of the file which are modified, not the entire file.  The 
semantics  required are embedded in the filesystem.  But you need to map it 
correctly.

Reg


    On Friday, November 21, 2025 at 06:00:38 PM CST, Bill Sommerfeld via 
openindiana-discuss <[email protected]> wrote:  
 
 On 11/21/25 14:34, Reginald Beardsley via openindiana-discuss wrote:
>  I'm looking for the functional equivalent of a physical copy on media. I can 
>*guarantee* it's exactly a match for any arbitrary set of packages I pull at 
>any arbitrary date.  No bug fixes, but it *is* exactly the same.

You can do this by making a local copy of the package repo.  (I do this 
for several reasons - mostly that I run with my own build of illumos-gate).

You can do this either via rsync or via pkgrecv, then point your systems 
at your local copy rather than the master copy at pkg.openindiana.org

Something along the lines of:

pkgrecv -r -m latest -s ${SOURCEREPO}  -d ${DESTREPO} 'consolidation/*'

works pretty well for me.

                        - Bill



_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss
  
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to