devfs
[Top] [All Lists]

Re: patch for annoying symlink warnings

To: Greg Ward <gward@xxxxxxxxxx>
Subject: Re: patch for annoying symlink warnings
From: Russell Coker <russell@xxxxxxxxxxxx>
Date: Tue, 30 Oct 2001 18:07:36 +0100
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20011026202912.C4923@gerg.ca>
References: <20011024202208.1288A3836C2@lyta.coker.com.au> <20011026123828.CA81E34EE1@lyta.coker.com.au> <20011026202912.C4923@gerg.ca>
Reply-to: Russell Coker <russell@xxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
On Sat, 27 Oct 2001 02:29, Greg Ward wrote:
> On 26 October 2001, Russell Coker said:
> > OK.  The "GLOBAL symlink" operation is generally triggered by a REGISTER
> > event.  The normal operation of a register event is to link to the newly
> > created device.  So I can't imagine the automatic creation of a broken
> > symlink to be anything other than a serious error.
>
> Quite likely an error, certainly worth warning about, but a serious
> error?  Dangling symlinks are usually mistakes, but it's certainly
> possible for them to be useful.  I don't think /dev should be any
> different from any other filesystem in this respect, although warning
> about them is a great idea.

OK.  In my latest version I've made it log as an error but keep on working.  
So you can have your machine work with broken links if you really want to, 
but it'll give you error messages.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

<Prev in Thread] Current Thread [Next in Thread>