× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I will give example of my environment(s), though I don't answer all of your
questions.

I do personal dev in /home/aaron, including having a /home/aaron/usr/bin
folder for custom developed stuff.

I deploy web apps to /www

I keep language specific compiles in root directories like /ruby/gemsets.
That makes it easy to change from one set of packages to another.

I use chroot a lot and keep them in /QOpenSys/spaces. I call them
"spaces", as in spaces.litmis.com. I also think the term "IFS Containers"
is a very descriptive name that more exactly describes the feature of
chroot and also provides the differentiation of how chroot is different
from Docker (chroot is much less than Docker). Further, I think we
eventually need to modify the re-canned ibmichroot configs to not rely on
directories that IBM updates with PTFs because that's bitten me in the
butt. Instead it's always good to build a chroot off of directories that
are locked down and tested. So goes the story of automation.

I try not to modify any IBM supplied directory contents. For example, I
prefer to modify PATH to include additional ./bin directories vs. add
symbolic links to /QOpenSys/usr/bin.

You can still access QSYS.LIB via each language's iToolKit (XMLSERVICE
wrapper) from chroot. Note that QSYS.LIB doesn't/can't exist in chroot.

In the past I thought I saw an explanation of sorts describing how all the
symbolic links of the IFS are put together. Maybe someone from IBM can
comment (Tony Cairns or Kevin Adler?)

I am curious to know what others do.

HTH,
Aaron Bartell
litmis.com - Services for open source on IBM i


On Wed, Jun 29, 2016 at 1:06 PM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

This is more of a general question regarding the PASE/AIX folder IFS
environment.

I'm wondering what type of setup people are using on the for their folder
setup.
Where do you put the PASE/AIX Binaries and Libraries?

Where do you put your own open source programs?
Are people using /usr/local for open source programs?
Or should everything go into /QOpenSys/usr/local because /QOpenSys is the
PASE/AIX file system?

Do you have /usr/local as a symbolic link to /QOpenSys/usr/local?
Or do you have it the other way? /QOpenSys/usr/local as a symbolic link to
/usr/local?

Most folders under /usr are symbolic links to /QOpenSys/usr folders.
The /usr/local folder seems to be the exception.

The /usr/bin folder isn't symbolic linked, but that is because it contains
links for the QSHELL binaries.

Does anyone keep /usr/local for QSHELL local processes?
That would keep /QOpenSys/usr/local for PASE/AIX processes.


Does anyone just use chroot and copy everything they are using into an
entirely differently folder setup?
http://www.ibmsystemsmag.com/ibmi/developer/general/change-root-part2/
https://bitbucket.org/litmis/ibmichroot

The only downside I can see is that you can't use /QSYS.LIB anymore.
Does anyone know if you can still run the /QSYS.LIB programs if you create
a link to them inside the chroot'd folders?
Or would using chroot cause the symbolic links to /QSYS.LIB to be broken
because it can no longer see the folder?



Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.