Mail Archives: cygwin-developers/1998/09/18/07:59:23
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------ =_NextPart_000_01BDE311.163CD3EA
Content-Type: text/plain
While, I like the idea of using extended attributes on NTFS and an
"index file" on FAT partitions and under Windows 9[58], I see a
potential problem with this scheme.
In a network environment this could lead to inconsistent information.
Here is how:
If an NT machine shares a writable directory on an NTFS partition, the
files in this directory would have extended attibutes, EAs. If this
share is then accessed from a Windows 9x machine, it would not have
access to the EAs. This machine could then attempt to create index file
that might have information that did not match the EAs.
While writing this a simple solution to this situation came to mind.
If a Windows 9x machine accesses a share that contains an index file, it
may use and even modify the index file. Obviously if we allow index
files to be modified remotely, they can not be cached locally. Either
way, they should never be cached remotely because the serving machine
can still the index file them.
This is not an issue with NT machines because the EAs are available over
the network.
-----Original Message-----
From: Christopher Faylor [mailto:cgf AT cygnus DOT com]
Sent: Thursday, September 17, 1998 7:27 AM
To: Corinna Vinschen; DJ Delorie; cygwin32-developers AT cygnus DOT com
Subject: Re: New winsup snapshot 9/14/98
On Thu, Sep 17, 1998 at 02:04:42PM +0200, Corinna Vinschen wrote:
>DJ Delorie wrote:
>> How about this idea: Create a real /dev directory in
>> posix-land. If you look for, say, "/dev/scd0", check for
>> "/dev/scd0.dll" and support an API for extending
>> device-space. The API would have to be passed the name you
>> found it as (scd0) and you'd have to have one copy of the
>> dll for each device (unless we grokked the trailing digits)
>> but it would be infinitely expandable. Probably a lot of
>> work too.
>
>Sounds like loadable modules as in linux. Cool idea!
>What do you think about the following modification?
>
>- Default dir: /dev , else, if non existant
> $CYGROOT/dev , overridable by
> $CYGWIN_DEVDIR
>
>- Create device entries with mknod(1) like symlinks, containing
>
> !<device>major,minor,[bcp]
Actually, I'd rather not use the current symlink route. On Windows NT
NTFS partitions we could use extended attributes. On Windows 9[58] we
could possibly have an "index file" in each directory which supplied
things like UNIX permissions and device types. That would work for
symlinks, too.
I've always wanted to add a /proc filesystem to cygwin, also.
And, maybe even a mountable "registry" filesystem.
--
cgf AT cygnus DOT com
http://www.cygnus.com/
------ =_NextPart_000_01BDE311.163CD3EA
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64
eJ8+IjoOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQSAAQAgAAAAUkU6IE5ldyB3aW5zdXAgc25hcHNob3QgOS8xNC85
OAD+CQEJgAEAIQAAAENBMzQwNkQzOEU0REQyMTFCNEM4MDAxMDRCOENGM0Q5AC4HASCAAwAOAAAA
zgcJABIACQAfADgABQBVAQEFgAMADgAAAM4HCQASAAkAHAA5AAUAUwEBDYAEAAIAAAACAAIAAQOQ
BgDIDAAAMAAAAAsAAgABAAAACwArAAAAAAADAC4AAAAAAEAAOQDAZHyrEOO9AR4AcAABAAAAHAAA
AE5ldyB3aW5zdXAgc25hcHNob3QgOS8xNC85OAACAXEAAQAAABsAAAABveI63r9Uc+VqTY0R0oA0
CAAJ4BuBADORIuAAAgEJEAEAAABSBwAATgcAADgMAABMWkZ1VpIotQMACgByY3BnMTI14jIDQ3Rl
eAVBAQMB9/8KgAKkA+QHEwKAD/MAUARWPwhVB7IRJQ5RAwECAGNo4QrAc2V0MgYABsMRJfYzBEYT
tzASLBEzCO8J97Y7GB8OMDURIgxgYwBQswsJAWQzNhZQC6djATAIIFdoAxBlLCBJACBsaWtlIHRo
BR3waQEAYSBvZiDidQCQbmcgDsEJ8AEAmGQgYQJABRBidQ6w5wQgAiAHsFRGBfAAcB+hjQOgIguA
AQB4IGYdUUIiIGJGQVQgCrF03mki0AIgBCAg8nUfcQXAElchcW93BCA5WzU8OF0dghQQHfAegHBv
Px9RItAHQCKQA2ACYGVt/iAD8B4QHgEEACTwE9AmUNxlLgqiCoQKgEkDoB6AKm4UIHcFsGsfIG52
emkDYG4HgAIwJsQFoHWWbB+gHWBhH6B0bx5Adm4FoACBcyWCKwECEHLjAMAi8i4gSASQH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