OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:37 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 53 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
qmni
Post subject: How to mount second IDE disk?  PostPosted: Jan 31, 2008 - 02:03 AM
New Member


Joined: Jan 31, 2008
Posts: 9

OS:QNX6.3.2
DISK:IDE

First I made my disk into fat32 form using the software PQ, and then I can find it in qnx OS, it was displayed as "/dev/hd1"and "/dev/hd1t12", I mount it using the command"mount -t vfat /dev/hd1t12 /mnt/hd1", and failed.

Then I give up the fat32 form, I made it to qnx4 form using the command "fdisk /dev/hd1" and "fdisk /dev/hd1t12", and I restarted my machine, it was dispalyed as "/dev/hd1" and "/dev/hd1t77", I mount it using the command "mount -t qnx4 /dev/hd1t77 /mnt/hd1", failed too!

I do not know what's wrong with it.
 
 View user's profile Send private message  
Reply with quote Back to top
qmni
Post subject: RE: How to mount second IDE disk?  PostPosted: Jan 31, 2008 - 02:04 AM
New Member


Joined: Jan 31, 2008
Posts: 9

And when mount it displayed the error message "resource busy".
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: How to mount second IDE disk?  PostPosted: Jan 31, 2008 - 07:05 AM
QNX Master


Joined: Sep 01, 2002
Posts: 2667

Then it's most probably already mounted. Look for it under /fs/
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
qmni
Post subject: RE: How to mount second IDE disk?  PostPosted: Feb 03, 2008 - 02:03 AM
New Member


Joined: Jan 31, 2008
Posts: 9

Only have a device:"cd0"
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: How to mount second IDE disk?  PostPosted: Feb 03, 2008 - 05:36 AM
QNX Master


Joined: Sep 01, 2002
Posts: 2667

I *think* that if you try to mount /mnt/hd1 then /mnt has to exists.

Plus I don't think it's mount -t vfat but rather mount -tdos.

If you create a hd1t77 type did you use dinit on it?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rgallen
Post subject: Re: RE: How to mount second IDE disk?  PostPosted: Feb 04, 2008 - 08:31 PM
QNX Master


Joined: Jul 11, 2002
Posts: 557

mario wrote:
I *think* that if you try to mount /mnt/hd1 then /mnt has to exists.


No, it does not need exist, but of course, you wont be able to "cd" to /mnt if it doesn't

mario wrote:

Plus I don't think it's mount -t vfat but rather mount -tdos.


Yup, that's right "-t dos".

mario wrote:

If you create a hd1t77 type did you use dinit on it?


Good point. Both "-tvfat" (because it is wrong option) and "-tqnx4" (because fs was not initialized) would have failed, without a dinit...
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.