Silly Question: How do I format a Floppy in RTP

I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.

Use the Helpviewer to look up topics “fdformat”, “dinit”, “mount”, and any
related topics shown in those.

paulw <paulwREMOVETHIS@voyager.co.nz> wrote in message
news:r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com

I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.
\

“Steve Munnings, Corman Technologies” wrote:

Use the Helpviewer to look up topics “fdformat”, “dinit”, “mount”, and any
related topics shown in those.

There is no ‘fdformat’ … so how can we format a floppy under Neutrino
RTP ?

Armin

paulw <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com> …
I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.
\

In article <8rvto7$bhk$1@inn.qnx.com>, "Steve says…

Use the Helpviewer to look up topics “fdformat”, “dinit”, “mount”, and any
related topics shown in those.

There is no “fdformat” … so how can we format a floppy under Neutrino RTP??

Armin

paulw <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com> …
I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.


\

mkdosfs /dev/fd0

should ‘format’ a floppy with a dos fs, or

dinit /dev/fd0

should put a qnx fs on a floppy.

“paulw” <paulwREMOVETHIS@voyager.co.nz> wrote in message
news:r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com

I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.
\

Kieran Tyrrell wrote:

mkdosfs /dev/fd0

should ‘format’ a floppy with a dos fs,

mkdosfs doesn’t format …
It isn’t documented … I guess it creates just a FAT file system on a
formated floppy.

or

dinit /dev/fd0

… ditto, it creates just a file system on a formated floppy :slight_smile:

So again … how can we format a floppy under QNX Neutron 2.1 ???

Armin



should put a qnx fs on a floppy.

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com> …
I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.
\

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

On Wed, 11 Oct 2000 18:21:30 +0200, Armin Steinhoff
<"<A-Steinhoff"@web_.de>> wrote:

Kieran Tyrrell wrote:

mkdosfs /dev/fd0

should ‘format’ a floppy with a dos fs,

mkdosfs doesn’t format …
It isn’t documented … I guess it creates just a FAT file system on a
formated floppy.

or

dinit /dev/fd0

… ditto, it creates just a file system on a formated floppy > :slight_smile:

So again … how can we format a floppy under QNX Neutron 2.1 ???

Armin




should put a qnx fs on a floppy.

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com> …
I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.
\

In article <eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com>, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? :slight_smile:)

Armin

On Wed, 11 Oct 2000 18:21:30 +0200, Armin Steinhoff
“<A-Steinhoff”@web_.de>> wrote:



Kieran Tyrrell wrote:

mkdosfs /dev/fd0

should ‘format’ a floppy with a dos fs,

mkdosfs doesn’t format …
It isn’t documented … I guess it creates just a FAT file system on a
formated floppy.

or

dinit /dev/fd0

… ditto, it creates just a file system on a formated floppy > :slight_smile:

So again … how can we format a floppy under QNX Neutron 2.1 ???

Armin




should put a qnx fs on a floppy.

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> r6u6usg7kh2nql9tumr2ebsf3098nec2cc@4ax.com> …
I have looked thru the BIN directory and can’t find any thing that
resembles a format command. Is it possible or will I have to make
some boot disks from the CD ROM and then delete the files on the
floppy??

Thanx in advance.

\

On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de>
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

I’m being rather presumptuous in answering anything in this thread at all
grins, but in my experiences with Linux, you’d use ‘fdisk’ to mess around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho I
never did it with a floppy, might this work?

–Charles

“paulw” <paulwREMOVETHIS@voyager.co.nz> wrote in message
news:n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com

On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

In article <FkxF5.4632$MK6.163377@newsread1.prod.itd.earthlink.net>, “Chalz”
says…

I’m being rather presumptuous in answering anything in this thread at all
grins,

My conclusion is that QNX RTP isn’t able to format a single floppy :slight_smile:)

Armin

but in my experiences with Linux, you’d use ‘fdisk’ to mess around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho I
never did it with a floppy, might this work?

–Charles

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com> …
On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

I think that this is dangerous. fdisk was meant for hard drive only. I
actually just tried this on a floppy that was dinit’d. It already had 4
partions on it, of types in 80-150’s (can’t remember exactly what). I deleted
all the partitions, created 1 0-80 cylinder partition (which only said it was
1Mb in size), and saved. fdisk came back with the standard stuff about
rebooting, and now I’m worried it save over my hard drive partition manp instead
of saving to the floppy. So I’m backing up my code that I’ve been porting
before I reboot, and we’ll see if I have to reinstall QRTP.

Scott

Chalz wrote:

I’m being rather presumptuous in answering anything in this thread at all
grins, but in my experiences with Linux, you’d use ‘fdisk’ to mess around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho I
never did it with a floppy, might this work?

–Charles

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com> …
On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

I think that this is dangerous. fdisk was meant for hard drive only. I
actually just tried this on a floppy that was dinit’d. It already had 4
partions on it, of types in 80-150’s (can’t remember exactly what). I
deleted
all the partitions, created 1 0-80 cylinder partition (which only said it
was
1Mb in size), and saved. fdisk came back with the standard stuff about
Well, a floppy will only be about 1.44M anyways. If there are bad

sectors, it’ll be even less.

rebooting, and now I’m worried it save over my hard drive partition manp
instead
of saving to the floppy. So I’m backing up my code that I’ve been porting
before I reboot, and we’ll see if I have to reinstall QRTP.

Scott
Well, I didn’t tell you to do it. I just asked if it would work…



Chalz wrote:

I’m being rather presumptuous in answering anything in this thread at
all
grins, but in my experiences with Linux, you’d use ‘fdisk’ to mess
around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho
I
never did it with a floppy, might this work?

–Charles

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com> …
On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw
says…

I have come to the conclusion that you have to format the disk in
DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

Chalz wrote:

I think that this is dangerous. fdisk was meant for hard drive only. I
actually just tried this on a floppy that was dinit’d. It already had 4
partions on it, of types in 80-150’s (can’t remember exactly what). I
deleted
all the partitions, created 1 0-80 cylinder partition (which only said it
was
1Mb in size), and saved. fdisk came back with the standard stuff about
Well, a floppy will only be about 1.44M anyways. If there are bad
sectors, it’ll be even less.

rebooting, and now I’m worried it save over my hard drive partition manp
instead
of saving to the floppy. So I’m backing up my code that I’ve been porting
before I reboot, and we’ll see if I have to reinstall QRTP.

Scott
Well, I didn’t tell you to do it. I just asked if it would work…

Only way to find out is to do it. I tried it and it didn’t wreck my partition
map on /dev/hd0, despite what it said about rebooting and all. What I did find
out though, is that if you use fdisk, and make one partition to cover the
floppy, and then dinit it, the 4 partition are put back.

I wouldn’t have minded if it did. It would have been trivial to reinstall QRTP
and restore my tar file. No big deal.

And I just realized from all this, is that what fdformat does is divide the
floppy up into cylinder’s, and you have to have that to start with to use fdisk,
so fdisk doesn’t do formatting. The reason you can use fdisk on a hard drive,
is that it’s already formatted by the manufacturer.

Can we get the source to fdformat from QNX4, and port it to QRTP? How is this
done in Linux and other Unix’s. Can you use DD or something to do this?

Scott

Chalz wrote:

I’m being rather presumptuous in answering anything in this thread at
all
grins, but in my experiences with Linux, you’d use ‘fdisk’ to mess
around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho
I
never did it with a floppy, might this work?

–Charles

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com> …
On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw
says…

I have come to the conclusion that you have to format the disk in
DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.

Hi All,

there is something on its way ( from qdn.public.qnxrtp.os ):

Armin Steinhoff <A-Steinhoff@web_.de> wrote:

: Hi,

: is there a way to open up the sources of the
: floppy driver in order that someone could write or
: port the ‘fdformat’ utility ??

There’s a version of fdformat in the works here (I already have some docs
for it :slight_smile: ) but last I heard, it wasn’t ready to be released.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.

In article <39E74C05.FC40F9A7@switch.com>, "J. says…
[ clip …]

Can we get the source to fdformat from QNX4, and port it to QRTP? How is this
done in Linux and other Unix’s. Can you use DD or something to do this?

Scott

The F in FDISK stands for Fixed. IBM originally called hard disks
Fixed Disks. FDISK is often called F*ck Disk because that is what
can happen if you foul up. :slight_smile:

“A. Steinhoff” wrote:

In article <FkxF5.4632$> MK6.163377@newsread1.prod.itd.earthlink.net> >, “Chalz”
says…

I’m being rather presumptuous in answering anything in this thread at all
grins,

My conclusion is that QNX RTP isn’t able to format a single floppy > :slight_smile:> )

Armin

but in my experiences with Linux, you’d use ‘fdisk’ to mess around
with creating/settingup/deleting/etc partitions and FSs on a disk. Tho I
never did it with a floppy, might this work?

–Charles

“paulw” <> paulwREMOVETHIS@voyager.co.nz> > wrote in message
news:> n5ecuskjp39isgd4qcb8temdank3b425ka@4ax.com> …
On 12 Oct 2000 03:39:22 -0700, Armin Steinhoff <A-Steinhoff@web_de
wrote:

In article <> eum9uskqfn8aa0kid524ucpf9e985c8apa@4ax.com> >, paulw says…

I have come to the conclusion that you have to format the disk in DOS
format first before using the DINIT command.

Correct … but how can you do that ? > :slight_smile:> )

Armin


Yes… That was my original silly question.

In QNX4 I seem to remember that the command was fdformat.