This is the mail archive of the cygwin 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: Reading /proc/registry/... returns extra char


Greetings, Corinna Vinschen!

>> BTW, is there a way to create value of certain type through /proc/registry ?
>> (Link to documentation would be enough, I don't have local cygwin installation ATM)

> No, there isn't.  There were the occasional discussions on the
> developer's ML since the virtual /proc/registry filesystem has been
> introduced, but to no avail yet.  The problem is to find a unique *and*
> posixy way to identify the type of a registry value when writing it,
> since, basically, every write access to a value also determines its
> type.

Erm... how about ":type" suffix? Don't know how "POSIXy" it is, but it's close
enough to similar functionality of NTFS (file streams).

 echo "some value" > /proc/registry/key/var:type


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 01.06.2010, <3:35>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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