Skip navigation.
Home
The QNX Community Portal

View topic - QNX4 Zip drive dev name

QNX4 Zip drive dev name

For the old QNX2 and QNX4 RTOS

QNX4 Zip drive dev name

Postby ingraham » Tue Jun 14, 2011 2:37 pm

In QNX4, Fsys.atapi mounts my IDE Zip drive as /dev/fd0. I'd like to be able to change that, say to /dev/zip0. Does anyone know how to do that? The "use" doesn't mention removable types, and using /boot/build/install.1 as an example doesn't help, (a) because it uses a totally different scheme than the "use" info and (b) it still doesn't say anything about removable devices. Any ideas?

Thanks,
James Ingraham
ingraham
Senior Member
 
Posts: 160
Joined: Wed Nov 05, 2003 2:25 pm
Location: Texas

RE: QNX4 Zip drive dev name

Postby maschoen » Tue Jun 14, 2011 2:49 pm

Just a wild wild guess, can you use "mv" after it's mounted to change the name?
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: RE: QNX4 Zip drive dev name

Postby ingraham » Tue Jun 14, 2011 9:30 pm

maschoen wrote:Just a wild wild guess, can you use "mv" after it's mounted to change the name?


Nice thought, but no. "mv: Block & character special files may not be moved."

Presumably, there is some option I can pass to Fsys.atapi. For example, the "example" install.1 in /boot/build after a clean install from the CD has:

Code: Select all
Fsys.atapi fsys -Ndsk0 -n0=hd0. -n5=cd0.


One would expect a -n option that has to do with removable / Zip drives. But since it's not documented in either the help files or the "use Fsys.atapi" I don't know what it should be.

Thanks,
James Ingraham[/code]
ingraham
Senior Member
 
Posts: 160
Joined: Wed Nov 05, 2003 2:25 pm
Location: Texas

Re: QNX4 Zip drive dev name

Postby space » Mon May 14, 2012 4:21 pm

I don't have a QNX4 system handy but my .boot files Run "Fsys.eide fsys -fhd" and the IDE ZIp drive shows up as /dev/hd1. Perhaps Fsys.atapi will work with a similar option.
space
Active Member
 
Posts: 16
Joined: Fri Mar 09, 2007 6:03 pm
Location: Texas


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests