This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New snapshot with significant new functionality


Chris January wrote:

>>Chris & Chris,
>>
>>Cool!
>>
>>Is the registry as reflected in /proc/registry writable?
>>
> I'm torn between writing "no", and "no, not yet".
> The problem with this is that it is inevitable that at some point or other
> someone will post to the cygwin mailing list complaining they typed rm -rf
> /proc/registry/* and now their system is hosed and it's all Red Hat's
> fault...
> Certainly there would have to be some kind of 'safety' mechanism, whereby by
> default /proc/registry was read-only, but somehow it could be made writable,
> perhaps by writing '1' to /proc/registry/.writable or something.


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

--Chuck



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]