Bill Caroselli <Bill@sattel.com> wrote:
This is interesting. I’ve been re-prefixing the root directory ‘/’ on QNX 4
for years. But this works quite nicely. Can you define union file systems
any better. Is it simply that the most recent process that claims that name
space prefix wins?
Bill Caroselli - Sattel Global Networks
1-818-709-6201 ext 122
Take a look at the Neutrino System Architecture Guide as well as the
documentation for resmgr_attach() where it describes the behaviour
of the _RESMGR_FLAG_DIR, _RESMGR_FLAG_BEFORE, _RESMGR_FLAG_AFTER,
Also take a look at the name resolution process:
http://staff.qnx.com/~thomasf/nto.html → QNX2000 Open PPT stuff
“Randy Martin” <> email@example.com> > wrote in message
news:9f6b5n$hif$> firstname.lastname@example.org> …
neutrino supports union filesystems so the last filesystem to mount will
be written to first. this can be confusing…
what i prefer to do is to mount a ramdisk as /ram and then make symlinks
to specific directories within it. that way i know where things are
for fun, try this … but again, this can get confusing…:
devf-ram -s0,4M & # for a 4M ramdisk
flashctl -p /dev/fs0p0 -e -f -n / -m
now you are mounted as root.
create any new file in / … it will go to the ramdisk.
the new files you created are gone.
Kevin Lacquement <> email@example.com> > wrote:
Is it possible to use a ramdisk as root? I am booting from a disk on
chip, and want to copy or untar its contents onto a ramdisk, then use
that ramdisk as root. However, I still need access to the disk on
chip, in order to save changes to config files.
He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey
Randy Martin > firstname.lastname@example.org
Manager of FAE Group, North America
QNX Software Systems > www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579
Thomas (toe-mah) Fletcher QNX Software Systems
email@example.com Neutrino Development Group