How to enable a volume readonly in file system driver ?

Hello, everyone!

Does anyone know how to enable a volume readonly in file system driver ?

I don’t find how to enable such an attribute like readonly for a volume, when volume information is queried. It works for inodes (files/directories).

Is there a readonly type object, such like cd-rom.

Thanks in advance and Best wishes,

========================
Matt Wu
E-Mail: mattwu@163.com
WebSite:http://sys.xiloo.com

You must make the disk device read-only by responding to the proper
IOCTL send to the disk class driver.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matt Wu
Sent: Thursday, February 28, 2002 1:58 AM
To: File Systems Developers
Subject: [ntfsd] How to enable a volume readonly in file system driver ?

Hello, everyone!

Does anyone know how to enable a volume readonly in file system driver ?

I don’t find how to enable such an attribute like readonly for a volume,
when volume information is queried. It works for inodes
(files/directories).

Is there a readonly type object, such like cd-rom.

Thanks in advance and Best wishes,

========================
Matt Wu
E-Mail: mattwu@163.com
WebSite:http://sys.xiloo.com


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

Jamey Kirby,

You must make the disk device read-only by responding to the proper
IOCTL send to the disk class driver.

Which IOCTL ? I could not find it ?

It would be very nice that someone knows it!

Thanks!

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matt Wu
Sent: Thursday, February 28, 2002 1:58 AM
To: File Systems Developers
Subject: [ntfsd] How to enable a volume readonly in file system driver ?

Hello, everyone!

Does anyone know how to enable a volume readonly in file system driver ?

I don’t find how to enable such an attribute like readonly for a volume,
when volume information is queried. It works for inodes
(files/directories).

Is there a readonly type object, such like cd-rom.

Thanks in advance and Best wishes,

========================
Matt Wu
E-Mail: mattwu@163.com
WebSite:http://sys.xiloo.com


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


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

Best wishes,

========================
Matt Wu
E-Mail: mattwu@163.com
WebSite:http://sys.xiloo.com

Filter the disk volume below the FSD, catch IOCTL_DISK_IS_WRITEABLE and fail it.

Max

----- Original Message -----
From: “Matt Wu”
To: “File Systems Developers”
Sent: Thursday, February 28, 2002 12:57 PM
Subject: [ntfsd] How to enable a volume readonly in file system driver ?

> Hello, everyone!
>
> Does anyone know how to enable a volume readonly in file system driver ?
>
> I don’t find how to enable such an attribute like readonly for a volume, when volume information is queried. It works for inodes
(files/directories).
>
> Is there a readonly type object, such like cd-rom.
>
> Thanks in advance and Best wishes,
>
> ========================
> Matt Wu
> E-Mail: mattwu@163.com
> WebSite:http://sys.xiloo.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>