mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
Made NTFS-Partitions mountable.
svn path=/trunk/; revision=2980
This commit is contained in:
parent
a9f79206fa
commit
9ca6cf1169
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: disk.h,v 1.6 2001/06/28 02:42:27 rex Exp $
|
/* $Id: disk.h,v 1.7 2002/05/25 13:32:51 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
((P) == PTDOS3xPrimary || \
|
((P) == PTDOS3xPrimary || \
|
||||||
(P) == PTOLDDOS16Bit || \
|
(P) == PTOLDDOS16Bit || \
|
||||||
(P) == PTDos5xPrimary || \
|
(P) == PTDos5xPrimary || \
|
||||||
|
(P) == PTIfs || \
|
||||||
(P) == PTWin95FAT32 || \
|
(P) == PTWin95FAT32 || \
|
||||||
(P) == PTWin95FAT32LBA || \
|
(P) == PTWin95FAT32LBA || \
|
||||||
(P) == PTWin95FAT16LBA || \
|
(P) == PTWin95FAT16LBA || \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: xhaldrv.c,v 1.20 2002/04/26 19:58:48 ekohl Exp $
|
/* $Id: xhaldrv.c,v 1.21 2002/05/25 13:32:25 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
((P) == PTDOS3xPrimary || \
|
((P) == PTDOS3xPrimary || \
|
||||||
(P) == PTOLDDOS16Bit || \
|
(P) == PTOLDDOS16Bit || \
|
||||||
(P) == PTDos5xPrimary || \
|
(P) == PTDos5xPrimary || \
|
||||||
|
(P) == PTIfs || \
|
||||||
(P) == PTWin95FAT32 || \
|
(P) == PTWin95FAT32 || \
|
||||||
(P) == PTWin95FAT32LBA || \
|
(P) == PTWin95FAT32LBA || \
|
||||||
(P) == PTWin95FAT16LBA)
|
(P) == PTWin95FAT16LBA)
|
||||||
|
@ -441,9 +442,8 @@ xHalIoAssignDriveLetters(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
RtlInitUnicodeString(&UnicodeString2,
|
RtlInitUnicodeString(&UnicodeString2,
|
||||||
Buffer2);
|
Buffer2);
|
||||||
|
|
||||||
DPRINT(" %wZ\n", &UnicodeString2);
|
|
||||||
|
|
||||||
/* assign it */
|
/* assign it */
|
||||||
|
DPRINT(" %wZ\n", &UnicodeString2);
|
||||||
HalpAssignDrive(&UnicodeString2,
|
HalpAssignDrive(&UnicodeString2,
|
||||||
AUTO_DRIVE,
|
AUTO_DRIVE,
|
||||||
DOSDEVICE_DRIVE_FIXED);
|
DOSDEVICE_DRIVE_FIXED);
|
||||||
|
@ -483,7 +483,8 @@ xHalIoAssignDriveLetters(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||||
DPRINT("Assigning extended (logical) partitions:\n");
|
DPRINT("Assigning extended (logical) partitions:\n");
|
||||||
for (i = 0; i < ConfigInfo->DiskCount; i++)
|
for (i = 0; i < ConfigInfo->DiskCount; i++)
|
||||||
{
|
{
|
||||||
if( LayoutArray[i] ){
|
if (LayoutArray[i])
|
||||||
|
{
|
||||||
/* search for extended partitions */
|
/* search for extended partitions */
|
||||||
for (j = PARTITION_TBL_SIZE; j < LayoutArray[i]->PartitionCount; j++)
|
for (j = PARTITION_TBL_SIZE; j < LayoutArray[i]->PartitionCount; j++)
|
||||||
{
|
{
|
||||||
|
@ -805,7 +806,7 @@ xHalIoSetPartitionInformation(IN PDEVICE_OBJECT DeviceObject,
|
||||||
IN ULONG PartitionNumber,
|
IN ULONG PartitionNumber,
|
||||||
IN ULONG PartitionType)
|
IN ULONG PartitionType)
|
||||||
{
|
{
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return(STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -816,7 +817,7 @@ xHalIoWritePartitionTable(IN PDEVICE_OBJECT DeviceObject,
|
||||||
IN ULONG NumberOfHeads,
|
IN ULONG NumberOfHeads,
|
||||||
IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer)
|
IN PDRIVE_LAYOUT_INFORMATION PartitionBuffer)
|
||||||
{
|
{
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return(STATUS_NOT_IMPLEMENTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue