SuSE Support Database

Title: Formatting disks under Linux

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

Formatting disks under Linux

Disks are formatted under Linux in 2 steps:

Low level format

The first step deals with the programme fdformat. It takes a parameter, the floppy disk drive's device name. The disk's format is set to this name.

That is why it does not work if /dev/fd0 or /dev/fd1 are declared as parameter: with these device names kernel tries to find out, which disk format is available (but it cannot before formatting !). To format e.g. a disk with 1.44 MByte in the (DOS) drive A , it must be entered the following:

fdformat /dev/fd0u1440 
Afterwards one has a disk with 2 Sides, 80 cylinders and 18 sectors formatted per track. Careful; at this point there are only sectors, not any file system yet.

High level format

The file system gets opened in the second step. Here it should be exemplarly presented the procedure for 2 file system kinds:

Important hint:

As in other operating systems, all data gets lost in Linux when formatting on the data carrier!

---

See also:

---

Keywords: DISKS, FORMAT, MSDOS, DOS, FILE SYSTEM, MINIX

---

Feedback welcome: Send Mail to maddin@suse.de (Please give the following subject: SDB-maddin_disk_format)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-maddin_disk_format, Copyright SuSE GmbH, Nuremberg, Germany - Version:
Impressum - Last generated: 24. Feb 1999 15:06:10 by maddin with sdb_gen 1.00.0