mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Gooch <rgooch@ras.ucalgary.ca>
To: "Christian Bornträger" <linux-kernel@borntraeger.net>
Cc: andrew may <acmay@acmay.homeip.net>,
	Adam Schrotenboer <ajschrotenboer@lycosmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.4.17pre2: devfs: devfs_mk_dir(printers): could not append to dir: dffe45c0 "", err: -17
Date: Sun, 2 Dec 2001 12:41:48 -0700	[thread overview]
Message-ID: <200112021941.fB2Jfmg12171@vindaloo.ras.ucalgary.ca> (raw)
In-Reply-To: <E16Ac1n-0001Bd-00@mrvdom00.schlund.de>
In-Reply-To: <E16A6LR-00042s-00@mrvdom02.schlund.de> <20011201180940.B21185@ecam.san.rr.com> <200112021847.fB2IlmZ11175@vindaloo.ras.ucalgary.ca> <E16Ac1n-0001Bd-00@mrvdom00.schlund.de>

linux-kernel@borntraeger.net writes:
> I found the reason for these messages. It has a boot-script source.
> Mandrake stores the attributes of device nodes in /lib/dev-state.
> This directory is copied into /dev directly before devfsd is started.

OK, clean out stuff you don't need in /lib/dev-state. Check your
devfsd configuation to see if /lib/dev-state is being repopulated
automatically. If so, grab devfsd-v1.3.20 and use the new RESTORE
directive. This is the correct way to handle persistence. Remove the
boot-script code which populates from /lib/dev-state.

> If there is a device file in /lib/dev-state it is created in /dev
> even before the driver is loaded.  When the driver is loaded it
> tries again to create the node and the message appears.

OK, I suspected as much. Good. Thanks for tracking this down.
Attempting to create the same entry twice *should* yield EEXIST on the
second try. The new devfs is strict about this, the old one wasn't.

I consider this issue closed. I'd suggest you contact Mandrake and get
them to upgrade to devfsd-v1.3.20, remove the boot script code and use
the RESTORE directive instead. This requires v1.2 of the devfs core
(found in 2.4.17-pre1).

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

  parent reply	other threads:[~2001-12-02 19:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-01  9:20 Christian Bornträger
2001-12-01 18:08 ` Richard Gooch
2001-12-02  1:37   ` Adam Schrotenboer
2001-12-02  2:09     ` andrew may
2001-12-02 18:47     ` Richard Gooch
2001-12-02 19:10       ` Christian Bornträger
2001-12-02 19:41       ` Richard Gooch [this message]
2001-12-02 19:57         ` Alan Cox
2001-12-02 20:01         ` Richard Gooch
2001-12-02 20:14           ` Alan Cox
2001-12-02 20:22           ` Richard Gooch
2001-12-02  1:49   ` Richard Gooch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200112021941.fB2Jfmg12171@vindaloo.ras.ucalgary.ca \
    --to=rgooch@ras.ucalgary.ca \
    --cc=acmay@acmay.homeip.net \
    --cc=ajschrotenboer@lycosmail.com \
    --cc=linux-kernel@borntraeger.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®