mount ext2 partition on startup

Hi all

I’d like to know if there’s a way to mount an ext2 partition when qnx
starts up. Doing a “mount -t ext2 /dev/hd0t130 /mnt/linux” works fine
but I want to automate that on startup.

Any ideas?

thx, ipp0

ipp0 wrote:

I’d like to know if there’s a way to mount an ext2 partition when qnx
starts up. Doing a “mount -t ext2 /dev/hd0t130 /mnt/linux” works fine
but I want to automate that on startup.
Any ideas?

There are a number of ways (including modifying your build script, and
options to devb-eide or diskboot), but the easiest is probably just to
put that exact mount line into your “/etc/rc.d/rc.local” script.

John Garvey wrote:

There are a number of ways (including modifying your build script, and
options to devb-eide or diskboot), but the easiest is probably just to
put that exact mount line into your “/etc/rc.d/rc.local” script.

Thanks man!

ipp0 wrote:

I’d like to know if there’s a way to mount an ext2 partition when qnx
starts up. Doing a “mount -t ext2 /dev/hd0t130 /mnt/linux” works fine
but I want to automate that on startup.

Any ideas?

Add that to /etc/rc.d/rc.local?


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.