*BSD News Article 79639


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news-peer.gsl.net!news.gsl.net!hunter.premier.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Named pipe with mknod
Date: 30 Sep 1996 22:27:03 GMT
Organization: Private BSD site, Dresden
Lines: 23
Message-ID: <52phfn$d93@uriah.heep.sax.de>
References: <GORSKI.96Sep30150728@axiom.somewhere.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

gorski@cips01.physik.uni-bonn.de wrote:

> Compile the program below and run it. On FreeBSD it produces:
> mknod: Invalid argument

     [EINVAL]      The pathname contains a character with the high-order bit
                   set.

Well, this doesn't seem to be your answer either. :-)

> Why ??
> I thought this should run on FreeBSD without using mkfifo.

No.  UTSL.  You can easily see that the kernel will only allow VCHR
and VBLK nodes.  (Plus all IFMT bits set, the comment says that
badsect uses this to flag bad sectors.  Legacy.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)