/// <summary>
        /// Creates the devices.
        /// </summary>
        /// <param name="diskControllerDevice">The disk controller device.</param>
        /// <returns></returns>
        private LinkedList<IDevice> CreateDevices(IDiskControllerDevice diskControllerDevice)
        {
            LinkedList<IDevice> devices = new LinkedList<IDevice>();

            for (uint drive = 0; drive < diskControllerDevice.MaximunDriveCount; drive++) {
                if (diskControllerDevice.Open(drive)) {
                    IDiskDevice diskDevice = new DiskDevice(diskControllerDevice, drive, false);
                    devices.Add(diskDevice as IDevice);
                }
            }

            return devices;
        }
        /// <summary>
        /// Creates the devices.
        /// </summary>
        /// <param name="diskControllerDevice">The disk controller device.</param>
        /// <returns></returns>
        private LinkedList <IDevice> CreateDevices(IDiskControllerDevice diskControllerDevice)
        {
            LinkedList <IDevice> devices = new LinkedList <IDevice>();

            for (uint drive = 0; drive < diskControllerDevice.MaximunDriveCount; drive++)
            {
                if (diskControllerDevice.Open(drive))
                {
                    IDiskDevice diskDevice = new DiskDevice(diskControllerDevice, drive, false);
                    devices.AddLast(diskDevice as IDevice);
                }
            }

            return(devices);
        }
        /// <summary>
        /// Creates the devices.
        /// </summary>
        /// <param name="diskControllerDevice">The disk controller device.</param>
        /// <returns></returns>
        private List <IDevice> CreateDevices(IDiskControllerDevice diskControllerDevice)
        {
            var devices = new List <IDevice>();

            for (uint drive = 0; drive < diskControllerDevice.MaximunDriveCount; drive++)
            {
                if (diskControllerDevice.Open(drive))
                {
                    if (diskControllerDevice.GetTotalSectors(drive) == 0)
                    {
                        continue;
                    }

                    var diskDevice = new DiskDevice(diskControllerDevice, drive, false);
                    devices.Add(diskDevice as IDevice);
                }
            }

            return(devices);
        }