delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/24/07:24:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Chris January" <chris AT atomice DOT net>
To: "Cygwin AT Cygwin DOT Com" <cygwin AT cygwin DOT com>
Subject: RE: Skipping the /proc filesystem
Date: Thu, 24 Jul 2003 12:23:54 +0100
Message-ID: <ICEBIHGCEJIPLNMBNCMKOEFOCJAA.chris@atomice.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <5.2.1.1.2.20030723150051.02052750@pop.sonic.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Randall R Schulz
> At 13:59 2003-07-23, Chris January wrote:
> > > Randall R Schulz wrote:
> > > > At 18:15 2003-07-22, David A. Cobb wrote:
> > > >>I would wish to tell find not to get involved with the
> /proc filesystem
> > > >>at all. Can that easily be done?
> > > >
> > > > Very easily:
> > > > % find / -path '/proc' -prune -o -print
> > >
> > > Would it make sense to identify the inodes under /proc/registry as not
> > > regular files (type f), but, say, devices (or other such
> special files)?
> >
> >No.
>
>
> Chris,
>
> Just to clarify what may, due to quote trimming, appear to be a
> suggestion I made, the idea about using a special inode type for the
> /proc entries was not mine, it was David A. Cobb's.

Actually it was Shankar Unni's, but let's not split hairs...
Shankar: It's not a good idea because i) there are no unix "special" file
types that could reasonably correspond to registry values, ii) under the
/proc filesystem in linux, all kinds of things show up as regular files,
iii) setting the files to be "special" is not a good way to get find to
ignore them. An extended mechanism for accessing /proc/registry is
warranted, however, particular for writing to the registry but this is a
separate discusssion.
Randall: I really must get a better e-mail client!

Chris


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019