From owner-freebsd-hackers Fri Jan 12 3:14:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp8.xs4all.nl (smtp8.xs4all.nl [194.109.127.134]) by hub.freebsd.org (Postfix) with ESMTP id B589737B400 for ; Fri, 12 Jan 2001 03:13:52 -0800 (PST) Received: from localhost (s340-modem1099.dial.xs4all.nl [194.109.164.75]) by smtp8.xs4all.nl (8.9.3/8.9.3) with SMTP id MAA03144; Fri, 12 Jan 2001 12:13:48 +0100 (CET) Message-ID: <3A5EE6B1.41C67EA6@xs4all.nl> Date: Fri, 12 Jan 2001 11:12:49 +0000 From: "W.H.Scholten" Organization: . X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 4.1-RELEASE i386) MIME-Version: 1.0 To: Alfred Perlstein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: pppd & mkdir diff References: <3A5C843C.794BDF32@xs4all.nl> <20010111132509.J7240@fw.wintelcom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > > 1. a pppd patch which sends the pppd messages to stderr. > > not sure about this one, I would open a PR about it. I'm not sure either :) Maybe everyone else uses gui frontend which reads pppd's syslog messages or starts pppd as root? > Ok, I may be misreading this, but this doesn't fix it really: > > mkdir /tmp/a/b/c/d/e/f/s > > perhaps if you called "stat" in a loop to on each patch component > until it failed you'd be able to trim off the directory paths > one by one. I don't think it's useful for mkdir to check which exact part of the path of the parent directory does exist. The fix just makes mkdir say the parent directory doesn't exist (instead of the previously wierd "the dir you wanted me to create doesn't exist" type of error message :). Regards, Wouter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message