Identifying raw partition on NT

Hi,
We need to identify raw partitions on NT m/c from user application.
Currently we are using IOCTL_DISK_GET_PARTITION_INFO and when we get type
0X06, we treat that partition as raw.This seems to fail when we have done
some activity on that partition.

Thanx,
pash

We had also tried to use the IOCTL_DISK_GET_PARTITION_INFO api,
but found it broken. (u hav to filter out the valid partitions.
again their is no way of differentiating a primary partition or a logical
drive)

So we finally directly read the raw partition from the harddisk (by reading
the first sector of hard disk and extended partitions)

Warm regards
Jeseem
mailto:xxxxx@nestec.net

*************************************************************
The truest form of enlightenment is not in knowing that there
are things you don’t know, but in realizing that there are things
you don’t even know that you don’t know…
*************************************************************

-----Original Message-----
From: Pashupati Kumar [mailto:xxxxx@Legato.COM]
Sent: Wednesday, April 05, 2000 6:07 PM
To: File Systems Developers
Subject: [ntfsd] Identifying raw partition on NT

Hi,
We need to identify raw partitions on NT m/c from user application.
Currently we are using IOCTL_DISK_GET_PARTITION_INFO and when we get type
0X06, we treat that partition as raw.This seems to fail when we have done
some activity on that partition.

Thanx,
pash

6 is FAT; isn’t it?

What do youmean by RAW?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Pashupati Kumar
Sent: Wednesday, April 05, 2000 5:37 AM
To: File Systems Developers
Subject: [ntfsd] Identifying raw partition on NT

Hi,
We need to identify raw partitions on NT m/c from user application.
Currently we are using IOCTL_DISK_GET_PARTITION_INFO and when we get type
0X06, we treat that partition as raw.This seems to fail when we have done
some activity on that partition.

Thanx,
pash


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

hi,

Please Read the boot sector and look for Valid FILESYSTEM_MAGIC.
It should guarantee correct detection.

–nsq++

----- Original Message -----
From: Pashupati Kumar
To: File Systems Developers
Sent: Wednesday, April 05, 2000 6:07 PM
Subject: [ntfsd] Identifying raw partition on NT

> Hi,
> We need to identify raw partitions on NT m/c from user application.
> Currently we are using IOCTL_DISK_GET_PARTITION_INFO and when we get type
> 0X06, we treat that partition as raw.This seems to fail when we have done
> some activity on that partition.
>
>
> Thanx,
> pash
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vsnl.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>

1.0X06 is type MSDOS v6(or BigDos FAT 16 in resource kit). Its defined as
type PARTITION_HUGE in winioctl.h & ddk.

2.Raw partitions are those partition which are not formatted with any file
system.I understand there is some filesystem called RawFs which takes care
of raw partition( i got this listing when i print the driver stack for this
partition)

3.Reading from Boot sector is not a exhaustive test(OEM ID).Because of IFS,
a partition can have a file system which we didn’t check for.

thanx
pash

6 is FAT; isn’t it?

What do youmean by RAW?

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Pashupati Kumar
> Sent: Wednesday, April 05, 2000 5:37 AM
> To: File Systems Developers
> Subject: [ntfsd] Identifying raw partition on NT
>
>
> Hi,
> We need to identify raw partitions on NT m/c from user application.
> Currently we are using IOCTL_DISK_GET_PARTITION_INFO and when we get
type
> 0X06, we treat that partition as raw.This seems to fail when we have
done
> some activity on that partition.
>
>
> Thanx,
> pash
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>


You are currently subscribed to ntfsd as: xxxxx@Legato.COM
To unsubscribe send a blank email to $subst(‘Email.Unsub’)