Message-Id: <199704251241.OAA11853@grendel.sylaba.poznan.pl> Comments: Authenticated sender is From: "Mark Habersack" Organization: PPP (Pesticide Powered Pumpkins) To: alaric AT abwillms DOT demon DOT co DOT uk Date: Fri, 25 Apr 1997 14:41:41 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: File system ideas Reply-to: grendel AT hoth DOT amu DOT edu DOT pl CC: opendos-developer AT delorie DOT com References: In-reply-to: <861911963.0525177.0@abwillms.demon.co.uk> Precedence: bulk Once upon a time (on 24 Apr 97 at 20:08) Alaric B. Williams said: > > Post your ideas, they sound fascinating. apparently the Vax have some > > scheme where you can place "alarms" on certain files for when they are > > accessed. (for example the shadow password file... someone reads it who > > isn't in the "your allowed" catagory mails root, and runs shutdown -h now" > > :) > > Well, all these features are implementable, but putting them all in makes > the filer rapidly bigger and slower! Therefore, I would suggest opting for a > simple architecture, but with a well defined extension system. > > EG, a file header has an optional field specifying a monitor module. This is > a DLL that is notified of all access to the file. It can refuse access, if > it performs an authentication role. It can log access. It can do all sorts > of fun things like that. > > It's flexible, and it's optional. > > How about it? Idea is excellent, only I'd argue about where to store the monitor information. IMO, the operating system should not store any information in the file itself - its structure is program-dependent and thus the OS may spoil something. Instead, we would make a dirent big enough to store such information. DLL you mentioned would be pointed at by something like a "symlink" field in the dirent. ================================================== Stand straight, look me in the eye and say goodbye Stand straight, we drifted past the point of reasons why. Yesterday starts tommorow, tommorow starts today And the problems seem to be we're picking up the pieces of a ricochet...