| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | DosDevIOCtls |
Hi Mike!
[HPFS on removeable medias]
MB> The file system mounting procedure simply is not used if the device
MB> claims to be removable. LOCKDRV.FLT not only change the claim but
MB> also locks the media. It would be an easy -- and unwise -- hack to
MB> modify LOCKDRV.FLT so that it avoided actually locking the media, but
MB> continued to claim that it was not removable.
Well, "unwise" is relativated if your "change media
tool" really locks the device, flushes the caches, unlocks and ejects
the media. You insert a new media in the drive. Lock media, remount
filesystem, unlock device.
By locking the device, it is sure no other application has still an open
handle to files on that media.
[..]
MB> I suppose it is possible to allow dynamic locking and unlocking
from a command line
MB> utility that communicates with the FLT, implementing a sort of
MB> mount/dismount command.
This should work. But I haven't got LOCKDRV's source code. Neither is my
"FLT"-knowledge sufficent to alternate it's behaviour in the
intended way :)
__
|_)
cu/2 |atrick
[Team OS/2]
---
* Origin: OS/2 Bodensee ! (2:246/2315.18)SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 246/2315 2300 2340 24/901 240/5500 24/24 396/1 270/101 712/515 @PATH: 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.