Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Dec 2000 13:28:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Dec 2000 13:28:18 -0500 Received: from chaos.analogic.com ([204.178.40.224]:640 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Thu, 7 Dec 2000 13:28:05 -0500 Date: Thu, 7 Dec 2000 11:54:38 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Linux kernel Subject: 2.4.0-test9 Root no longer permitted to format floppies? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Script started on Thu Dec 7 11:44:01 2000 # fdformat /dev/fd0h1440 Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB. Formatting ... ioctl(FDFMTBEG): Operation not permitted # exit exit Script done on Thu Dec 7 11:44:42 2000 Who do you have to be in order to format floppy drives? Or have all the ioctl numbers been changed since 2.2.18 ? write(1, "Double-sided, 80 tracks, 18 sec/"..., 63) = 63 write(1, "Formatting ... ", 15) = 15 ioctl(3, 0x247, 0) = -1 EPERM (Operation not permitted) brk(0) = 0x804af98 brk(0x804afe8) = 0x804afe8 brk(0x804b000) = 0x804b000 brk(0x804c000) = 0x804c000 It looks like they should still be okay? fd.h:#define FDFMTBEG _IO(2,0x47) fd.h:#define FDFMTTRK _IOW(2,0x48, struct format_descr) fd.h:#define FDFMTEND _IO(2,0x49) Maybe a broken MACRO? Cheers, Dick Johnson Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - 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/