Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

format(1) [minix man page]

FORMAT(1)						      General Commands Manual							 FORMAT(1)

NAME
format - format a PC floppy diskette SYNOPSIS
format [-v] device [media-size [drive-size]] DESCRIPTION
Format allows a user with read-write permission to device to format a floppy. Either one of the special floppy devices must be used, see fd(4), or an automatic device may be used with the size of the floppy specified on the command line. Two sizes must be given when format- ting a low density diskette in a high density drive. For example: format /dev/at1 format /dev/fd1 1200 format /dev/fd1 360 1200 The first two commands format a 1.2M diskette, the last formats a 360k diskette in a 1.2M drive. A 1.44M drive knows when it's dealing with a low density floppy, so all these commands format a 720k diskette: format /dev/fd0 720 format /dev/fd0 720 1440 format /dev/ps0 No sizes may be specified when using a special floppy device, a size must be specified when using an automatic device. OPTIONS
-v Verify the process by reading each track after formatting it. Formatting is normally blind, the controller has no idea whether it succeeds or not. Use -v on a new box of cheap diskettes, or on a diskette that may have gone bad. Verifying will increase format- ting time by 50%. SEE ALSO
mkfs(1), fd(4). DIAGNOSTICS
Numbers will be printed on standard output to show that it is busy. The locations of bad sectors are printed on standard error when veri- fying. The exit code is zero unless there are too many bad spots. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) FORMAT(1)

Check Out this Related Man Page

FDFORMAT(8)						     Linux Programmer's Manual						       FDFORMAT(8)

NAME
fdformat - Low-level formats a floppy disk SYNOPSIS
fdformat [ -n ] device DESCRIPTION
fdformat does a low level format on a floppy disk. device is usually one of the following (for floppy devices, the major = 2, and the minor is shown for informational purposes only): /dev/fd0d360 (minor = 4) /dev/fd0h1200 (minor = 8) /dev/fd0D360 (minor = 12) /dev/fd0H360 (minor = 12) /dev/fd0D720 (minor = 16) /dev/fd0H720 (minor = 16) /dev/fd0h360 (minor = 20) /dev/fd0h720 (minor = 24) /dev/fd0H1440 (minor = 28) /dev/fd1d360 (minor = 5) /dev/fd1h1200 (minor = 9) /dev/fd1D360 (minor = 13) /dev/fd1H360 (minor = 13) /dev/fd1D720 (minor = 17) /dev/fd1H720 (minor = 17) /dev/fd1h360 (minor = 21) /dev/fd1h720 (minor = 25) /dev/fd1H1440 (minor = 29) The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with fdformat when a non-standard format is being used, or if the for- mat has not been autodetected earlier. In this case, use setfdprm(8) to load the disk parameters. OPTIONS
-n No verify. This option will disable the verification that is performed after the format. SEE ALSO
fd(4), setfdprm(8), mkfs(8), emkfs(8) AUTHOR
Werner Almesberger (almesber@nessie.cs.id.ethz.ch) Linux 0.99 1 February 1993 FDFORMAT(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reading a UNIX floppy on a PC ? HELP!

I desperately need to get a text file off of this floppy to resolve a customer issue on one of PC servers in thier all UNIX site. They sent the information on a UNIX formatted floppy with the information I need. Please help me as I need this ASAP. Black Knight (4 Replies)
Discussion started by: Black Knight
4 Replies

2. UNIX for Dummies Questions & Answers

How can I read files from the floppy in RedHat7.1

Can anybody tell me how can I read files from floppy. The files which are written in dos format. What I want to do is read files which I have on my Windows Machine and read those files On RedHat7.1 Machine. When I do this command mount -t msdos /dev/fd0 mnt/floppy I can see the files and I copy... (9 Replies)
Discussion started by: syedifti
9 Replies

3. UNIX for Advanced & Expert Users

I like to mount a remote/local diskette...!

Hi...! I have to connect a remote machine (solaris server) from a workstation, and I want to access the local diskette. I like mount the local diskette in the workstation, not the remote diskette (in the server). The server is a Solaris 2.7 in a Sun Ultra 450. The workstations are Sun Ultra... (6 Replies)
Discussion started by: Kayron
6 Replies

4. UNIX for Dummies Questions & Answers

cp multiple files to fd0

Hello all. I want to copy multiple files to a floppy. My distr. version is Mandrake 8.0. If i use , all is ok and the file is copied to disk If i use , I receive an error stating that /dev/fd0 is not a directory. I understand that /dev/fd0 is not a directory. Is there a way to... (7 Replies)
Discussion started by: wavy_lay
7 Replies

5. UNIX for Dummies Questions & Answers

copying to a floppy

how do i copy a file from solaris to a floppy drive. today is my first day using solaris (3 Replies)
Discussion started by: parksr
3 Replies

6. UNIX for Dummies Questions & Answers

opening floppy

I have solaris 8 (Intel Version) and I was wondering how I can transfer a bunch of text files (shellscripts) via floppy. I don't have internet connectivity with my Solaris pc so I can't download the files. I have the text files on my windows 2000 pc and copied them to a floppy but when I try to... (7 Replies)
Discussion started by: eloquent99
7 Replies

7. UNIX for Dummies Questions & Answers

To remove the extra spaces in unix

Hi... I am quite new to Unix and would like an issue to be resolved. I have a file in the format below; 4,Reclaim,ECXTEST02,abc123,Harry Potter,5432 6730 0327 5469,0603,,MC,,1200,EUR,sho-001,,1,,,abc123,1223 I would like my output to be as follows; 4,Reclaim,ECXTEST02,abc123,Harry... (4 Replies)
Discussion started by: Sho
4 Replies

8. UNIX for Advanced & Expert Users

FD0 error code 30

Hi I am new to this forum. Iam facing very strange problem in sco open server 5. when i try to mount the fd0 it just says "fd0 writeprotected, read only error code 30" I changed the floppy drive. even I check the /dev/fd0 permissions it is read and wirte. I changed the floppies also. but... (6 Replies)
Discussion started by: Pritpal singh
6 Replies

9. Shell Programming and Scripting

Formatting of file to an desired one

Hi, I am trying to format an existing file to the desired format. Existing file : abc.txt 2332 |3322 |5534 |5436 |NULL | Desire file : QTD GROSS|2332 |3322 |5534 |5436 | echo "QTD GROSS|" > out.xt cat abc.txt | cut... (5 Replies)
Discussion started by: pkondur
5 Replies

10. HP-UX

Format File

Can someone please give me the commands to format all the files in HP-UX without formatting the OS. (5 Replies)
Discussion started by: joeli
5 Replies

11. SCO

Boot hang after relocate of LSI HBA controller

Hi folks, I had problems trying to install SCO OpenServer 6 on a PC with no floppy drive and a SATA CD drive. Eventually after advice received on this forum last week, I adopted a different approach by fitting the LSI HBA RAID adapter and associated disks into an older PC that does have CD and... (4 Replies)
Discussion started by: millosman
4 Replies

12. Shell Programming and Scripting

cp to copy only non-corrupt files

I don't know if I am asking this correctly, but I have a hard drive with some bad sectors and it appears that some of the data is corrupt. I am having allot of trouble copying the data to a new drive. The issue is not in copying files, but that the new drive to which files are copied is not acting... (17 Replies)
Discussion started by: LMHmedchem
17 Replies

13. SCO

Getting error sco unix 507 from cdrom:no controller for device you chosen

Installing SCO UNIX 507 on Dell Poweredge T610. It has no floppy so I downloaded the BTLD onto CD from SCO site to load without floppy drive. BTLD loads ok. when i get to the Media to be used, no matter what option i chose i get the error: No controller for device you have chosen. During bootup you... (9 Replies)
Discussion started by: romanglad112
9 Replies

14. SCO

How to open a floppy in SCO UNIX?

Hi, Please help me to find the command to open a floppy disc 3.5" in Sco Unix Open Server 5.0.6 environment. Device located in dev/fd0. thanks in advance Rukshan (5 Replies)
Discussion started by: rukshan4u2c
5 Replies

15. Shell Programming and Scripting

Change in the file

Hi, I have a file which has wrong time format and we want to correct it before we load it. WRONG FORMAT : 93:0:00 CORRECT FORMAT :09:30:00 If you notice the 0 at the front is missing. Its the case always. (6 Replies)
Discussion started by: varun22486
6 Replies