lkml.org 
[lkml]   [2000]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.132 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site