Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/etc/etc.i386



Hi.

In message <20020211233313.J20607%wasabisystems.com@localhost>
        on Mon, 11 Feb 2002 23:33:13 +1100,
        Luke Mewburn <lukem%wasabisystems.com@localhost> 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@localhost>



Home | Main Index | Thread Index | Old Index