Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Sun, 29 Dec 2002 01:20:43 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Big changes on the cgf-dev-branch branch Message-ID: <20021229062043.GA27958@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i I'm using part of my vacation to revamp cygwin's device handling. I'm adding a 'dev' element to the path_conv and fhandler structures. This element will hold true linux-like major and minor device information. There is also a currently unused field for block and character devices. I've just implemented on-disk device files such that you can do mknod bob 5 0 c and then a 'echo hello >bob' will go the the tty since 5, 0 is the major/minor numbers for /dev/tty. Currently, devices are just symlinks to something funky. This all started because I wanted to implement a fifo using cygwin's new peer-to-peer process communication and got bogged down in trying to represent something like a device on disk. The branch is a somewhat fragile state right now but things seem to be coming along nicely. My trick for tomorrow will be to properly display ownership and protection for on-disk devices. FYI, cgf