Thus spake Bernard Li ([EMAIL PROTECTED]):
>Hi guys:
> 
>I was talking to Andrea this morning about how you need to rebuild the image 
>tar file each time if you make modifications to the image (if you're using the 
>BitTorrent transport) and I thought perhaps it might be a good idea to have a 
>new program called "si_chroot" (Andrea coined this) which is simply a wrapper 
>to chroot but will take note that you have made modifications to your image 
>and then automatically rebuild the image tarball and/or perform other 
>operations for you.
> 
>While I'm not sure if it is useful for anything other than for the BitTorrent 
>transport, I just thought I'd post it here for comments.
> 
>Andrea found this tool which may be useful in determining whether certain 
>files have been modified:
>
>http://oss.sgi.com/projects/fam/

Yes.  The FAM facility is being used by another piece of software I work
with, called bcfg2.  Reports from the bcfg2 creator are that there are
two primary packages to implement FAM, and he has found that "gamin" is
the preferred package.  I don't remember the reasons, but I remember
being convinced.

Other than that, It would definitely work.  When any file gets changed
in the entire image heirarchy, gamin would notify us.  The trick would
be in waiting an appropriate time after the activity happens, before
trying to update the tarball, but it's certainly doable.

The notification is pretty much instant.  You touch a file anywhere in
the heirarchy and the kernel tells you via gamin.  The problem is,
knowing when the events have ceased.  Perhaps the thing to do would be
to watch for the change of a single file, like
/etc/systemimager/IMAGE_RETRIEVAL_TIME (or similar), and simply touch it
whenever you're ready for a new tarball to be created.

>Comments??
> 
>One issue I see right off the bat is that some times you want to install RPMs 
>into the image, but you can't do that in a chroot if the RPMs are not 
>available inside the image directory...

If I understand correctly, that's one of the problems that si_imagemanip
is supposed to address.

Cheers, -Brian

 
>Cheers,
> 
>Bernard
> 
> 

>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Sisuite-devel mailing list
>Sisuite-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/sisuite-devel


-- 
Brian Elliott Finley
Mobile:  630.631.6621

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to