public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: New snapshot with significant new functionality
@ 2002-05-02 20:57 Robert Collins
  2002-05-02 21:41 ` Charles Wilson
  2002-05-05 13:14 ` Chris Metcalf
  0 siblings, 2 replies; 22+ messages in thread
From: Robert Collins @ 2002-05-02 20:57 UTC (permalink / raw)
  To: Charles Wilson, Chris January; +Cc: cygwin



> -----Original Message-----
> From: Charles Wilson [mailto:cwilson@ece.gatech.edu] 
> Sent: Friday, May 03, 2002 1:46 PM

> That might work --- but I'd make it auto-reset after every 
> atomic write. 
>   So, you have to say
>    $ cat '1' > /proc/registry/.writeable
> 
>   $ <access one single "file" in the registry>
> 
>    $ cat /proc/registry/.writable
>    0

Two things: if /proc/registry isn't writable, cating 1 to
/proc/registry/.writeable won't work - without special case code. I'd
suggest /proc/sysopts/fs/registry/writeable.

Two, why not have two options:
writeable
nextwrite

one is persistent (until all cygwin processes end). The other is for a
single transaction.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: New snapshot with significant new functionality
@ 2002-05-03  1:03 Kiran Prakash
  0 siblings, 0 replies; 22+ messages in thread
From: Kiran Prakash @ 2002-05-03  1:03 UTC (permalink / raw)
  Cc: cygwin

Just looked at it.
Nice.

Seems to barf on colons in filenames, though, which do occur in the
registry.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: New snapshot with significant new functionality
@ 2002-05-01 23:16 fergus
  2002-05-02  0:24 ` Pierre Muller
  0 siblings, 1 reply; 22+ messages in thread
From: fergus @ 2002-05-01 23:16 UTC (permalink / raw)
  To: cygwin; +Cc: fergus

No problems, but is all the following expected behaviour? Having
uncompressed the new .dll and copied it to /bin:

1. had to make /proc using mkdir /proc

2. ls -al / doesn't actually show /proc

3. ls -al /proc shows (something like)

dr-xr-xr-x   10 0        medicine        0 Jan  1  1970 1951627
dr-xr-xr-x   10 0        medicine        0 Jan  1  1970 2022611
dr-xr-xr-x    7 0        medicine        0 May  2 07:11 registry
-r--r--r--    1 0        medicine        0 May  2 07:11 uptime
-r--r--r--    1 0        medicine        0 May  2 07:11 version

4. Note lack of . and ..

5. ls -al /proc/1951627 shows a lot of stuff, but

6. ls -al /proc/2022611 gives

ls: /proc/2022611: No such file or directory

If this is all what /should/ happen then that's fine (and please excuse
naive questioning).

Fergus


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* New snapshot with significant new functionality
@ 2002-05-01 21:58 Christopher Faylor
  2002-05-02 15:27 ` Gerrit P. Haase
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Christopher Faylor @ 2002-05-01 21:58 UTC (permalink / raw)
  To: cygwin

A couple of months ago Chris January submitted some significant new
functionality to cygwin which I've finally gotten around to merging
into the current cygwin sources.

His changes add a /proc filesystem to cygwin.  You can see what it does
by downloading the latest bzip2'ed dll from http://cygwin.com/snapshots/,
uncompressing it somewhere, stopping all cygwin processes, and then
moving the uncompressed cygwin1.dll into c:\cygwin\bin (or whereever)
using the windows COPY command.  You can't use cygwin commands to
overwrite the cygwin DLL, for hopefully obvious reasons.

(And, no, I have no interest in adding snapshot installation abilities
to setup.exe.  Thanks for coming up with this radical new idea, though.)

Once you've done all that you'll be able to amaze yourself by typing:

    ls /proc
or
    ls /proc/registry

Chris has said that he has no time to support this new functionality
but I thought it was cool enough to put in anyway.  I'll try to fix
any reported problems.

If you do have problems, report them *here*.  Don't send me private
email.  Don't send email to ChrisJ.  Don't send mail to cygwin-apps,
cygwin-announce, or cygwin-developers (unless you actually are
subscribed and want to talk about the implementation).  If you think the
code should be patched, don't send mail to cygwin-patches unless you
actually have a patch to submit.

Have fun.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2002-05-05 21:03 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 20:57 New snapshot with significant new functionality Robert Collins
2002-05-02 21:41 ` Charles Wilson
2002-05-05 13:14 ` Chris Metcalf
2002-05-05 13:54   ` Randall R Schulz
2002-05-05 14:03     ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03  1:03 Kiran Prakash
2002-05-01 23:16 fergus
2002-05-02  0:24 ` Pierre Muller
2002-05-02  2:46   ` Chris January
2002-05-02 23:33     ` Dr. Volker Zell
2002-05-03  3:24       ` Chris January
2002-05-03  3:54         ` Chris January
2002-05-01 21:58 Christopher Faylor
2002-05-02 15:27 ` Gerrit P. Haase
2002-05-02 16:52 ` Randall R Schulz
2002-05-02 17:12   ` Chris January
2002-05-02 17:30     ` Christopher Faylor
2002-05-02 17:55       ` Larry Hall (RFK Partners, Inc)
2002-05-02 20:45     ` Charles Wilson
2002-05-02 19:13 ` Chris January
2002-05-02 19:47   ` Christopher Faylor
2002-05-03  3:19     ` Chris January

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).