AW: [ros-kernel] IOMega Zip Drive

Hartmut Birr Hartmut.Birr at gmx.de
Wed Mar 24 22:26:16 CET 2004



> -----Original Message-----
> From: ros-kernel-bounces at reactos.com
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of James Tabor
> Sent: Tuesday, March 23, 2004 4:29 PM
> To: ReactOS Kernel List
> Subject: Re: AW: [ros-kernel] IOMega Zip Drive
> 
> 
> 
> Need this too /drivers/fs/vfat/fsctl.c, in VfatHasFileSystem,
> add RemovableMedia,
> 
>   if (DiskGeometry.MediaType == FixedMedia || RemovableMedia) <-----
>     {
>        // We have found a hard disk
>        Size = sizeof(PARTITION_INFORMATION);
>        Status = VfatBlockDeviceIoControl(DeviceToMount,
>                                          
> IOCTL_DISK_GET_PARTITION_INFO,
>                                          NULL,
>                                          0,
>                                          &PartitionInfo,
>                                          &Size,
>                                          FALSE);
> 

Hi,

vfatfs needs something like this. It needs also some more checks to
determine if the first sector of a volumen is from a fat file system or
not (currently not in my diff).

- Hartmut

  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsctrl.c.diff
Type: application/octet-stream
Size: 4089 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-kernel/attachments/20040324/80a74264/fsctrl.c.obj


More information about the Ros-kernel mailing list