2 Copyright © 2007, The AROS Development Team. All rights reserved.
5 Desc: DiskChange CLI command
8 /******************************************************************************
28 Diskchange is intended only for removable media. For example if
29 you have a internal floppy disk dive set to noclick AROS will not
30 perform disk presence check. So you have to manually update any
35 DEVICE -- The disk device unit.
53 ******************************************************************************//*****************************************************************************************/
55 #include <proto/dos.h>
58 #include <exec/types.h>
60 const TEXT __version__
[] = "\0$VER: DiskChange 41.1 (8.12.2007)";
69 ra
= ReadArgs("DEVICE/A", (IPTR
*)&dev
, NULL
);
71 if (Inhibit(dev
, DOSTRUE
) && Inhibit(dev
, DOSFALSE
))
76 PrintFault(IoErr(), "DiskChange");