Dear Gurus,
I have encountered a C question, which I thought of sharing with you.
This question was asked by one of my technical training staff...Though my training was over I'm still thinking of a solution for this..
Write a C program to do a small task(lets say just simply printing a "Hello... (34 Replies)
Hi gurus,
I have done my best to be as precisely as possible with this.
Besides giving the format of file a and file b and the result file
I have also given the algorithm as I have figured out.
I will try to do this and I hope that some of you could help
me to solve this or better yet... (1 Reply)
Hi Gurus,
To the Brain Teaser, if I add another condition, say the executable should not be altered, how the program should be altered? (no perl please, purely C). I forgot to mention this condition my staff had mentioned. ( forgot then and got now :D )
The program executed the first time... (4 Replies)
I do have a question about the great cyber wall of certain countries, like the UK for example. For years I just fetched once a week a public podcast that recently answered "notukerror", by chance I read just this weekend on slashdot about this topic. Does this mean the efforts enhanced by the EME... (4 Replies)
G'day,
Here's a teaser for a sed guru, which I surely am not one, as even my
basic sed skills are rusted from years of not practising ... lol
Ok ... we have a string of digits such as:
632413741610252847552619172459483022433027602515212950543016701812771409213148672112
we want it split... (9 Replies)
Hello,
I would like to check how many SAS disks and its size per disk for the whole power system. As per my understanding, if we assign the SAS controller to LPAR, then we can see the disk in lpar smitty command.
How can we check from the Power machine(physical ones) as well? I think the... (5 Replies)
Discussion started by: Phat
5 Replies
LEARN ABOUT MINIX
format
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)