Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to format a floppy?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Fri Jun 11, 2004 1:59 am    Post subject: How to format a floppy? Reply with quote

Simple question, should have a simple answer, but so far I haven't found it.

How do you format a floppy on a Gentoo PPC installation?

I can access floppies on my PowerMac 7300 running Gentoo just fine, but when I try to format them with the fdformat command, I get this:

Code:
# format /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440kB.
Formatting ...
ioctl(FDFMTBEG): Inappropriate ioctl for device


I noticed that the fdformat man page makes mention of various /dev/fdXYZZZ devices that my system doesn't have. Should I create these devices myself, or are they not supported by the PowerPC floppy driver? I have dev-fs on this system.

Incidentally, I plan on creating DOS disks, not HFS or anything else.

Thanks for any help!
_________________
Proud to be a... eh, forget it.

"Everyday is just one day." -- not the Traveling Wilburys
Back to top
View user's profile Send private message
tomthewombat
Apprentice
Apprentice


Joined: 29 Mar 2003
Posts: 244
Location: NY State

PostPosted: Fri Jun 11, 2004 2:26 am    Post subject: Reply with quote

http://rtfm.dyndns.info/tips/2000/04/10/15.shtml
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Fri Jun 11, 2004 7:46 am    Post subject: Reply with quote

you could try "mtools", then you should just format them like in DOS... like:
Code:
format a:

you can see what's on a floppy with:
Code:
mdir a:

copy:
Code:
mcopy a:blabla /home/me/file

you get the idea.

i haven't used it on ppc though, but it's marked stable, so i guess it works.
Back to top
View user's profile Send private message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Fri Jun 11, 2004 2:54 pm    Post subject: Reply with quote

Both mformat and the mk*fs commands are used to put a file system on top of a disk that has already been given a low-level format, if I'm not mistaken, and fdformat is used to perform this low-level format.

There are a few floppies in my collection in need of a new low-level format, so I need either to figure out how to get fdformat to work, or to find an alternative that hopefully doesn't involve booting into MacOS.

Thanks for the help so far!
_________________
Proud to be a... eh, forget it.

"Everyday is just one day." -- not the Traveling Wilburys
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Mon Jun 14, 2004 11:23 am    Post subject: Reply with quote

Ok, you are right, you should use fdformat for low-level formatting. I've never done that myself though. Since the man page from fdformat mentions 'setfdprm', maybe you should try to use that to manually set the floppy drive parameters?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum