Can't mount /dosdisk

Hi All

I have created a rc.local file and included the following line, to mount my
stiffy drive:

mount -tdos /dev/fd0 /fs/dosdisk

When I re-boot I get a message :
mount: Can’t mount /dosdisk (type dos)
mount: Possible reason: Invalid argument

How can I correct this?
Also am I correct in assuming that the rc.local file applies to all users
not just root.
Should one use a dos type disk or a QNX formated disk for remote system
development?

Thank Steven

I can help with one part of this, at least…

rc.local is executed by root once and only once at system startup time as
part of the system initialization. If you want control over what’s run each
time someone logs in, look into $HOME/.profile

-Warren


“Steven Venter” <sventer@grintek.com> wrote in message
news:8u5d89$cvv$1@inn.qnx.com

Hi All

I have created a rc.local file and included the following line, to mount
my
stiffy drive:

mount -tdos /dev/fd0 /fs/dosdisk

When I re-boot I get a message :
mount: Can’t mount /dosdisk (type dos)
mount: Possible reason: Invalid argument

How can I correct this?
Also am I correct in assuming that the rc.local file applies to all users
not just root.
Should one use a dos type disk or a QNX formated disk for remote system
development?

Thank Steven

Warren Peece <Warren@nospam.com> wrote:
: I can help with one part of this, at least…

: rc.local is executed by root once and only once at system startup time as
: part of the system initialization. If you want control over what’s run each
: time someone logs in, look into $HOME/.profile

: -Warren

Yes but presumably (and I’m presuming here) Steven actually
wants to mount the dos floppy drive to be mounted when the
system boots.

  1. Does this command work from the command line after
    the system is booted?

  2. Is there a disk in the drive? This may not be necessary,
    but might be a cause of the problem (I use an LS120 drive,
    so I can’t check locally right now)

  3. Is the error/command exactly as you reported? I find it
    odd that the “can’t mount /dosdisk” isn’t “can’t mount /fs/dosdisk”.
    What happens if you run the mount command with a -v or two?

Thomas

: “Steven Venter” <sventer@grintek.com> wrote in message
: news:8u5d89$cvv$1@inn.qnx.com
:> Hi All
:>
:> I have created a rc.local file and included the following line, to mount
: my
:> stiffy drive:
:>
:> mount -tdos /dev/fd0 /fs/dosdisk
:>
:> When I re-boot I get a message :
:> mount: Can’t mount /dosdisk (type dos)
:> mount: Possible reason: Invalid argument
:>
:> How can I correct this?
:> Also am I correct in assuming that the rc.local file applies to all users
:> not just root.
:> Should one use a dos type disk or a QNX formated disk for remote system
:> development?
:>
:> Thank Steven
:>
:>


\


Thomas (toe-mah) Fletcher QNX Software Systems
thomasf@qnx.com Neutrino Development Group
(613)-591-0931 http://www.qnx.com/~thomasf

The enumerators need a bit of time to find your drive: they may not
have found it by the time you mount from a startup script: add some
conditional delay. I have added some sample code in the Using floppies
section in the sys admin guide.

Previously, Steven Venter wrote in qdn.public.qnxrtp.newuser:

Hi All

I have created a rc.local file and included the following line, to mount my
stiffy drive:

mount -tdos /dev/fd0 /fs/dosdisk

When I re-boot I get a message :
mount: Can’t mount /dosdisk (type dos)
mount: Possible reason: Invalid argument

How can I correct this?
Also am I correct in assuming that the rc.local file applies to all users
not just root.
Should one use a dos type disk or a QNX formated disk for remote system
development?

Thank Steven
\

Regards,
Dave.

David P. Whelan, Technical Writer
QNX Software Systems Ltd.        Email: <dwhelan@qnx.com>
Kanata, Ontario  K2M 1W8         (613) 591-0931 ext.180