2 Copyright © 2007-2014, 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.2 (2.4.2014)";
70 ra
= ReadArgs("DEVICE/A", (IPTR
*)&dev
, NULL
);
72 if (Inhibit(dev
, DOSTRUE
) && Inhibit(dev
, DOSFALSE
))
77 PrintFault(error
, "DiskChange");