Messages in this thread |  | | Date | Thu, 7 Dec 2000 20:28:09 +0100 | From | Andries Brouwer <> | Subject | Re: 2.4.0-test9 Root no longer permitted to format floppies? |
| |
On Thu, Dec 07, 2000 at 11:54:38AM -0500, Richard B. Johnson wrote:
> # fdformat /dev/fd0h1440 > Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB. > Formatting ... > ioctl(FDFMTBEG): Operation not permitted
Probably an old fdformat? Try a recent util-linux.
[I forgot the details - people will correct me - Old situation: a special kludge in floppy.c allows ioctls, including formatting, on a fd opened without read or write permission. And the old fdformat did just that. Some cleanup removed the kludge, and fdformat had to open the fd for writing. So the util-linux fdformat was updated. Later Alain Knaff said that the old kludge remained necessary, because one might wish to use ioctl's on write protected floppies. Maybe the change was partially reverted, I have not checked.]
Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |