FDFORMAT(8) System Administration FDFORMAT(8)NAME
fdformat - low-level format a floppy disk
SYNOPSIS
fdformat [options] 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
Skip the verification that is normally performed after the formatting.
-V, --version
Output version information and exit.
-h, --help
Display help and exit.
SEE ALSO fd(4), setfdprm(8), mkfs(8), emkfs(8)AUTHOR
Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
AVAILABILITY
The fdformat command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux July 2011 FDFORMAT(8)
Check Out this Related Man Page
MAKEDEV(3) BSD Library Functions Manual MAKEDEV(3)NAME
makedev, major, minor -- device number conversion
SYNOPSIS
#include <sys/types.h>
dev_t
makedev(int major, int minor);
int
major(dev_t dev);
int
minor(dev_t dev);
DESCRIPTION
The makedev() macro allows a unique device number to be generated based on its major and minor number. The major() and minor() macros can be
used to obtain the original numbers from the device number dev.
In previous implementations of FreeBSD all block and character devices were uniquely identified by a pair of major and minor numbers. The
major number referred to a certain device class (e.g. disks, TTYs) while the minor number identified an instance within the device class.
Later versions of FreeBSD automatically generate a unique device number for each character device visible in /dev/. These numbers are not
divided in device classes.
On FreeBSD these macros are only used by utilities that need to exchange numbers with other operating systems that may use different encod-
ings for dev_t, but also applications that present these numbers to the user in a more conventional way.
RETURN VALUES
The major() macro returns a device major number that has a value between 0 and 255. The minor() macro returns a device minor number whose
value can span the complete range of an int.
SEE ALSO mknod(2), devname(3), devfs(5)BSD September 28, 2008 BSD
Hello, and good day
I'm somewhat confused with the workings of the Linux operating system, more specifically RedHat 7.1.
The story began a few weeks ago when I downloaded SuSe 7.2, but failed at installation, then Caldera 2.4, then 3.1. Finally I landed upon RedHat 7.1--a fabulous... (6 Replies)
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)
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)
I have successfully installed Slackware 8.0 on a disk and Windows 2000 on the other. The win-disk being the master and linux-disk the slave. I do multi booting via LILO and everything works great.
But recently I've decided to remove the harddrive with linux on and put it in another computer.... (6 Replies)
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)
Help!
Our mail server has 100% disk utilisation. I don't know much about linux but I need to delete something pronto. I only have to keep this thing ticking over until it is replaced by an exchange server in a few weeks, but the phone is constantly ringing with people telling me they can't send... (7 Replies)
HI, I installed Suse 8.1 on an Emachine with a Cyrix processor equivelent to Pentium II. The dmesg reveals that the floppy was recognised, and there is an icon on the desktop for it, but when I trey to access it, it is not available.
If I access it from a terminal window, the error I get... (7 Replies)
I need a simple method to verify that an automated ftp script was successful. The ftp command can exit without error and the file may not have been successfully sent. It's rare, but it happens.
I could write a script that would use md5sum before and after sending the file. But, what I really... (7 Replies)
I'm running FC3 and I'd like to copy the entire /dev/hda to /dev/hdc, including all the boot info, so that I can boot off of it in case of failure. This will be a one time thing. I'm doing an app upgrade and I'm very afraid the install will go wrong, so I want to be able to quickly be back up in... (11 Replies)
Hey Guys
I have an extremely annoying problem with regular expressions! At this point i believe the command 'read' is causing the problem due to the carriage return it places once its done.
I have an continuous loop until the input is correct: (After initial read statement)
while ... (7 Replies)
Hi
I have a question regarding awk.
I have a file that contains several lines:
/dev/vg1
/dev/blabla
/dev/vg01
/dev/blabla2
i need to merge a lines as following:
/dev/vg1:/dev/blabla
/dev/vg01:/dev/blabla2
Can somebody help me?:confused: (6 Replies)
hi,
when i am doing the following things getting error
Can anyone please suggest
i have a file where there is a line like the following
branch=dev sdf dev jin kilii fin kale boyle dev james dev
i want to search the existance of dev in the above line.
cat "$file" | sed -n... (8 Replies)
Hello to everyone,
I am new to linux and I want to move to this system after bad experiences with windows.
I have also a particular problem. An old laptop is probably able to handle just linux at this point of its life.
The cdrom is gone, the bios doesn't have usb boot support, there is no... (6 Replies)
Hi, I have a linux file that has data like this..
REQUEST_ID|text^Ctext^Ctext^C
REQUEST_ID|text^Ctext^C
REQUEST_ID|
REQUEST_ID|
REQUEST_ID|text^Ctext^Ctext^Ctext^Ctext^Ctext^C....
Where ever I see a ^C character, I need to copy the corresponding REQUEST_ID and that part of the text to a new... (17 Replies)
Good morning, fellows. I would need to ask for your help in editing my awk script. Here is the original version:
BEGIN { printf ("CRYST1 200.000 200.000 200.000 90.00 90.00 90.00 P 1 1\n")
maxatoms=1000
natom=0
found_struct = 0
found_bond = 0
}
{
if( NF == 5 )
{
foundff=0
natom++... (9 Replies)