View topic - Running CHKFSYS qnx2

Page 1 of 1

Running CHKFSYS qnx2

PostPosted: Sat Jan 26, 2019 5:02 am
by grovebaby
I would like to run CHKFSYS on my QNX2 install. How do you insure there are no open files , Idle system?

Re: Running CHKFSYS qnx2

PostPosted: Sun Jan 27, 2019 12:49 am
by maschoen
I believe that QNX2 has a program

$ fopen

That will show you which files are open, and in what mode. I believe it is perfectly safe to run chkfsys if you only have file open for read.

Re: Running CHKFSYS qnx2

PostPosted: Tue Jan 29, 2019 9:39 pm
by grovebaby
Thanks maschoen, yes there is FOPEN and DOPEN. Can a clean boot disk be created that dosen't open anything?

Re: Running CHKFSYS qnx2

PostPosted: Tue Jan 29, 2019 11:52 pm
by maschoen
grovebaby wrote:Thanks maschoen, yes there is FOPEN and DOPEN. Can a clean boot disk be created that dosen't open anything?


On the contrary, you have to go out of your way to boot the system and have it open something. By default the OS will look for /config/sysinitXXX files to execute. If one is not there, then it will be executed, but it doesn't have to open anything else. If it is not there, then a CTRL-Z on a terminal should bring up a login. That would be either the main console or a serial tty.