How do you format a floppy disk under QNX V2.2?

How do you format a floppy either 3.5 inch or 5.25 inch under QNX 2.2.

I need to copy files onto a floppy.

Also I downloaded files from the Net using Windows and need to copy them
onto a QNX formatted floppy disk. Does anyone know how to do this?

NOTE I’M REFERRING TO QNX 2.2

David T wrote:

How do you format a floppy either 3.5 inch or 5.25 inch under QNX 2.2.

I need to copy files onto a floppy.

Also I downloaded files from the Net using Windows and need to copy them
onto a QNX formatted floppy disk. Does anyone know how to do this?

NOTE I’M REFERRING TO QNX 2.2

Well the command is the same as with QNX 4, i.e. fdformat, the drive
specifications are different as QNX 2 drives were numbered, 1,2,3…
Normally, the ‘A’ floppy drive is 1 and the ‘B’ floppy drive is 2. The
hard disk is usually referred to as 3 so don’t do an fdformat 3 unless
you want to destroy your hard drive. fdformat IIRC will require you
to use the -h flag to do this but my memory is hazy so don’t try it.

For floppies you can specify detail about the type and formatting of
the floppy but usually it figures out what’s appropriate from the drive.
Therefore, assuming the floppy to be formatted is in the ‘A’ drive,
all you need to do is:
fdformat 1

I don’t recall whether it asks you any questions (my QNX 2 support
machine is sitting next to me but turned off) but the answers are
obvious. If it has trouble with the floppy type try the following
switches after the drive number:
+3 (360K 5 1/4 inch)
+7 (720K 3 1/3 inch)
+1.2 (1.2M 5 1/4 inch)
+1.4 (1.4M 3 1/5 inch)

There is a utility which runs under QNX 2 which supports the DOS
file system for accessing DOS floppies. It is a licensed product last
I knew and I don’t know whether it is still available or whether they’ve
decided to give it away given I can’t see why anyone would buy it
these days. I have a single node license copy of it somewhere but as
I don’t recall the name of the program at the moment…

Chris

No arguements here with David. But to summerize:

How do you format a floppy either 3.5 inch or 5.25 inch under QNX 2.2.

3.5 1.44Meg

$ fdformat 1 +1.44

3.5 720k

$ fdformat 1 +720k

5.25 360

$ fdformat 1 +360

I need to copy files onto a floppy.

After formatting:

$ dinit 1

Then maybe

$ cp filename 1:/filename

to copy a file to the diskette

Also I downloaded files from the Net using Windows and need to copy them
onto a QNX formatted floppy disk. Does anyone know how to do this?

Copy the files to a DOS diskette.

On QNX run:

$ dfs start a=1 &

Then look at the diskette as:

ls a:/

Mitchell Schoenbrun --------- maschoen@pobox.com

I don’t seem to have dfs in the cmds directory.

What should I do and how do I get this program?

“Mitchell Schoenbrun” <maschoen@pobox.com> wrote in message
news:Voyager.010424184834.26809C@schoenbrun.com

No arguements here with David. But to summerize:

How do you format a floppy either 3.5 inch or 5.25 inch under QNX 2.2.

3.5 1.44Meg

$ fdformat 1 +1.44

3.5 720k

$ fdformat 1 +720k

5.25 360

$ fdformat 1 +360

I need to copy files onto a floppy.

After formatting:

$ dinit 1

Then maybe

$ cp filename 1:/filename

to copy a file to the diskette

Also I downloaded files from the Net using Windows and need to copy
them
onto a QNX formatted floppy disk. Does anyone know how to do this?

Copy the files to a DOS diskette.

On QNX run:

$ dfs start a=1 &

Then look at the diskette as:

ls a:/

Mitchell Schoenbrun --------- > maschoen@pobox.com