system directorys disappear for no reason

Hello.
I use QNX Neutrino 2.1 and Photon 2.0.
When I worked in the system, I met a strange problem.One or more system
directorys disappeared when I worked,I didn’t know when this happened.I
can’t see them under file manager or “ls”.These directories include
“/usr/include”, some sub-directorys under “/usr/help/product”, and so on,
and not can be seen after rebooting.At the same time ,some cammands such as
“qcc” can not be used anymore, the shell says: “qcc : not found”. This
problem appears on several machines already.
Could anybody tell me why and how to prevent it?

(WAG): I think it has something to do with the package mangler and/or the
package filesystem. Very odd things happen when you touch a file or
directory that’s part of that system. It’s all voodoo magic, I tells ya!
What I want is a way to put it all back like I never touched it (I lost my
/x86/boot/sys directory).

-Warren


“gaojie” <jiegi@public.wh.hb.cn> wrote in message
news:904vl8$saq$1@inn.qnx.com

Hello.
I use QNX Neutrino 2.1 and Photon 2.0.
When I worked in the system, I met a strange problem.One or more system
directorys disappeared when I worked,I didn’t know when this happened.I
can’t see them under file manager or “ls”.These directories include
“/usr/include”, some sub-directorys under “/usr/help/product”, and so on,
and not can be seen after rebooting.At the same time ,some cammands such
as
“qcc” can not be used anymore, the shell says: “qcc : not found”. This
problem appears on several machines already.
Could anybody tell me why and how to prevent it?
\

Warren Peece <Warren@nospam.com> wrote:

(WAG): I think it has something to do with the package mangler and/or the
package filesystem. Very odd things happen when you touch a file or
directory that’s part of that system. It’s all voodoo magic, I tells ya!
What I want is a way to put it all back like I never touched it (I lost my
/x86/boot/sys directory).

Take a look at the /var/pkg/spill directory. It contains
all of the files which you have modified from the original
packages. If you nuke this directory and re-start the
package filesystem with /usr/sbin/pkgctl -l /dev/pkginfo*
then you should have things come back.

You need to remove the file and then remove the corresponding
line in the .fspkg-spilled file.

Thomas

“gaojie” <> jiegi@public.wh.hb.cn> > wrote in message
news:904vl8$saq$> 1@inn.qnx.com> …
Hello.
I use QNX Neutrino 2.1 and Photon 2.0.
When I worked in the system, I met a strange problem.One or more system
directorys disappeared when I worked,I didn’t know when this happened.I
can’t see them under file manager or “ls”.These directories include
“/usr/include”, some sub-directorys under “/usr/help/product”, and so on,
and not can be seen after rebooting.At the same time ,some cammands such
as
“qcc” can not be used anymore, the shell says: “qcc : not found”. This
problem appears on several machines already.
Could anybody tell me why and how to prevent it?
\

“Thomas Fletcher” <thomasf@qnx.com> wrote in message
news:9060ud$fi5$1@nntp.qnx.com

| Take a look at the /var/pkg/spill directory. It contains
| all of the files which you have modified from the original
| packages. If you nuke this directory and re-start the
| package filesystem with /usr/sbin/pkgctl -l /dev/pkginfo*
| then you should have things come back.
|
| You need to remove the file and then remove the corresponding
| line in the .fspkg-spilled file.
|
| Thomas

Yes indeedy, that did the trick. I notice a few other files that I’ve managed
to spill (/etc/config/rc.d for example). Since they’re listed as spilled, does
that mean they will not be overwritten even if a newer version of them is
included in a future update (that we’re still waiting for :wink:? If so, how would
I go about comparing my altered version to the newer version to see if there’s
anything new I should incorporate?

Very edumacational, this. :slight_smile:

-Warren