Subject: Re: CVS commit: basesrc/etc/etc.i386
To: None <lukem@wasabisystems.com>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: source-changes
Date: 02/11/2002 21:44:57
Hi.
In message <20020211233313.J20607@wasabisystems.com>
on Mon, 11 Feb 2002 23:33:13 +1100,
Luke Mewburn <lukem@wasabisystems.com> wrote:
> | Log Message:
> | Use "mkdir -p" instead of "mkdir" to create /dev/altq
>
> Is "-p" truly necessary?
>
> The entry being created is "altq", not "/dev/altq", so -p is
> superfluous, which is why I removed it in an earlier commit.
I guess that it prevents error on existing "/dev/altq" directory.
But if so, MAKEDEV for fd(4) is more simple solution.
fd)
if $nofdesc; then
rm -f fd/*
mkdir fd 2>/dev/null
...
Cheers.
--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>