Groups | Search | Server Info | Login | Register
Groups > comp.os.os2.programmer.misc > #128
| From | fcassia <fcassia@gmail.com> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | OS/2 .FLT (filter driver) to mount volumes as "read only" ? |
| Date | 2011-03-30 08:55 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <7b1fd663-5159-44af-bb3d-331a39f9afb3@r3g2000yqh.googlegroups.com> (permalink) |
My question is quite simple: is there ANY way to mount a HPFS
partition or JFS volume
(I´d like to know the answer both for OS/2 but I´m also interested in
Linux as well) as a _READ ONLY_ partition or volume?.
Simply, I want all writes, at the sector level, to be denied, just as
if you place the
"read-only" jumper on older SCSI hard drives.
Is this possible?.
The best-case scenario would be, having a .FLT filter driver to
IBM1S506.ADD or DANIS506.ADD that denies writes to the device, by
intercepting and sending error on all write commands, at the block
level. Ideally, it should be possible from a command-line, user-mode
application to switch this filter on and off, essentially giving the
same effect of inserting or removing the "read only" jumper on old
SCSI HDs.
The worst-case scenario? That there is a way to accomplish this
through parameters passed to JFS, HPFS, or LVM . So one boots into
normal (rw) mode, updates the config.sys, and then reboots having
switched back to "read only" mode.
I *think* that if this is not possible with the existing drivers,
maybe this could be hacked in
as an OS/2 "FLT" ("Filter device driver"), as explained above? **.
Thoughts? Comments? Expletives ;-) ?
TIA
FC
** http://cyberkinetica.homeunix.net/os2tk45/ddk_storag/007_L2_FilterDeviceDrivers.html
Back to comp.os.os2.programmer.misc | Previous | Next — Next in thread | Find similar
OS/2 .FLT (filter driver) to mount volumes as "read only" ? fcassia <fcassia@gmail.com> - 2011-03-30 08:55 -0700
Re: OS/2 .FLT (filter driver) to mount volumes as "read only" ? "Trevor Hemsley" <Trevor.Hemsley@mytrousers.ntlworld.com> - 2011-03-30 11:12 -0500
Re: OS/2 .FLT (filter driver) to mount volumes as "read only" ? Dave Yeo <dave.r.yeo@gmail.com> - 2011-03-30 10:03 -0700
Re: OS/2 .FLT (filter driver) to mount volumes as "read only" ? fcassia <fcassia@gmail.com> - 2011-05-01 13:52 -0700
Re: OS/2 .FLT (filter driver) to mount volumes as "read only" ? Dave Yeo <dave.r.yeo@gmail.com> - 2011-05-01 20:21 -0700
Re: OS/2 .FLT (filter driver) to mount volumes as "read only" ? "Allan" <allan2@warpspeed.dyndns.dk> - 2011-03-30 22:01 +0100
csiph-web