John Garvey <email@example.com> wrote:
It seems this is a bug. I tried adding
-d “/Program Files/qnx/boot/fs”
to diskboot in the build file, re-made a ifs, and now it works.
The default -d path is determined by the type of the host filesystem.
Assuming you’ve got a DOS install here, is it a type 1, 4, 6, 11, 12,
14 partition? Do you have a “.diskroot” file in the root of that
filesystem which contains a “type=” line?
It’s a zero byte file, as created by dinit with -R option.
-d options only tells diskboot where to find the filesystem.
The fact that it works after I gave the -d “/Program Files/qnx/boot/fs”
shows my root.qfs is good.
btw, if I have to manually adding multiple dirs, shall I do
Only a single ‘-d’ option is supported (last one on the command line
overrides). But, since the string is passed into glob() to pattern-
match a file, you might be able to construct a POSIX filename
expansion expression and provide that as the -d option (although the
syntax may not be flexible enough to specify unrelated directory paths,
it only does wildcard expansions). The first .qfs file found is
selected for mounting.
If I use -d, will it still search the “default” locations as mentioned
in “use diskboot”?
BTW, after your reviewing the source, were you able to find the bug?
I know the “default” used to work prior to QNX 6.3. but now it seems
diskboot no longer searches those default locations though “use diskboot”
still mentions it.