read only volume

hi,

is there anyway to know if a volume is read only for Win 2k and NT? i can
only find the attribute for XP.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein

IOCTL_DISK_IS_WRITABLE

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@pmail.ntu.edu.sg]
Sent: Thursday, November 07, 2002 2:27 AM
To: File Systems Developers
Subject: [ntfsd] read only volume

hi,

is there anyway to know if a volume is read only for Win 2k and NT? i
can
only find the attribute for XP.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein


You are currently subscribed to ntfsd as: xxxxx@powerquest.com
To unsubscribe send a blank email to %%email.unsub%%

IOCTL_DISK_IS_WRITABLE. I think that is the name.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ho Mun Chuen
Sent: Thursday, November 07, 2002 1:27 AM
To: File Systems Developers
Subject: [ntfsd] read only volume

hi,

is there anyway to know if a volume is read only for Win 2k and NT? i
can
only find the attribute for XP.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

Also, if you’re performing your check from a kernel-mode driver, you can
look at the device object’s Characteristics to see if it’s a read only
device:

if (pDeviceObject->Characteristics & FILE_READ_ONLY_DEVICE)
{
// Device is read only
}

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@pmail.ntu.edu.sg]
Sent: Thursday, November 07, 2002 2:27 AM
To: File Systems Developers
Subject: [ntfsd] read only volume

hi,

is there anyway to know if a volume is read only for Win 2k and NT? i
can
only find the attribute for XP.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein


You are currently subscribed to ntfsd as: xxxxx@powerquest.com
To unsubscribe send a blank email to %%email.unsub%%

how about mounted volumes through the rdr?

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein
----- Original Message -----
From: “Nate Bushman”
To: “File Systems Developers”
Sent: Friday, November 08, 2002 2:50 AM
Subject: [ntfsd] RE: read only volume

Also, if you’re performing your check from a kernel-mode driver, you can
look at the device object’s Characteristics to see if it’s a read only
device:

if (pDeviceObject->Characteristics & FILE_READ_ONLY_DEVICE)
{
// Device is read only
}

-----Original Message-----
From: Ho Mun Chuen [mailto:xxxxx@pmail.ntu.edu.sg]
Sent: Thursday, November 07, 2002 2:27 AM
To: File Systems Developers
Subject: [ntfsd] read only volume

hi,

is there anyway to know if a volume is read only for Win 2k and NT? i
can
only find the attribute for XP.

Ho Mun Chuen
@@ “Not everything that counts can be counted;
<” )~ and not everything that can be counted counts"
//\ … Albert Einstein


You are currently subscribed to ntfsd as: xxxxx@powerquest.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@pmail.ntu.edu.sg
To unsubscribe send a blank email to %%email.unsub%%

IOCTL_DISK_IS_WRITEABLE

----- Original Message -----
From: “Ho Mun Chuen”
To: “File Systems Developers”
Sent: Thursday, November 07, 2002 12:26 PM
Subject: [ntfsd] read only volume

> hi,
>
> is there anyway to know if a volume is read only for Win 2k and NT?
i can
> only find the attribute for XP.
>
> Ho Mun Chuen
> @@ “Not everything that counts can be counted;
> <” )~ and not everything that can be counted counts"
> //\ … Albert Einstein
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>