bug-coreutils
[Top][All Lists]
Advanced

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

Re: mknod


From: Eric Blake
Subject: Re: mknod
Date: Thu, 14 Apr 2005 18:09:55 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Costa on 4/14/2005 8:07 AM:
> Hi Everybody,
> 
> I have a problem on cygwin: 

You should ask this question on the cygwin mailing list, address@hidden

> 
> mknod pipe p

POSIX states that named pipes (aka fifos) are only portable if used in one
direction (ie. you can't open them read-write and expect portable
results).  Beyond that, named pipes are a relatively new addition to
cygwin, and there are still bugs being ironed out.  For example,

$ mkfifo f  # shorthand for mknod f p
$ ls -iF f
1125899907358221 f|
$ mv f f1
$ ls -iF f1
1125899907358221 f1

preserves the inode, but changes the file type from pipe to a regular file
(read-only at that).

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCXwZS84KuGfSFAYARAl30AKCir40E0f1Y5SySvAmXN6GNk62dMgCg1kN7
b4tS9djYzJ84Z0z6j+oZWvM=
=2Kee
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]