Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-WM-Posted-At: avacado.atomice.net; Wed, 5 Jun 02 01:14:26 +0100 Message-ID: <008501c20c25$f41d9d60$0100a8c0@advent02> From: "Chris January" To: References: <11415277457 DOT 20020604143720 AT syntrex DOT com> Subject: Re: [PATCH] _unlink() & rmdir() on /proc/* Date: Wed, 5 Jun 2002 01:14:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > P.S. I don't expect this patches to be applied because they may look > like ugly hacks or something like that... I didn't find any more > appropriate way to fix this though without greater modifications to > the code. I see several ways of fixing this in a much better way: > > 1. unlink () and rmdir () should be made virtual functions in > fhandler_base. Chris, what are yout thoughts on this? At the moment, not enough file I/O functions have been moved to fhandler_base to implement a read/write pseudo filesystem using fhandler_virtual. This was one of the main reasons that /proc/registry is read-only. Chris -- 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/