This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with dev nodes in tar extract

Hash: SHA1

Please don't top-post:

| From: Eric Blake [mailto:ebb9 AT]
~                               ^^^^

And please don't feed the spammers:

| Dev nodes are OS specific.  You will probably never get this to work,
| because cygwin's notions of which major device numbers map to which
| devices, while modeled after Linux, is not identical to Linux.  You are
| trying to do something that is inherently non-portable.

According to Nigel Hathaway on 2/29/2008 6:50 AM:
| cygwin. Do 'mknod --help' and see what you get !!

mknod --help prints the same under Linux or cygwin, because it comes from
the same source code for mknod(1).  It doesn't change the fact that the
underlying mknod(2) between the two OS's is different, and there's nothing
that mknod(1) can do about that.

| It turns out that the problem relates to one dev node in particular:
| $ chown root.root dev/ptmx
|       7 [main] chown 7940 _cygtls::handle_exceptions: Error while
| dumping state
| (probably corrupted stack)

Now we're getting somewhere.  Again, this is a problem in cygwin1.dll, and
not in coreutils, tar, or any other user-level program.

- --
Don't work too hard, make some time for fun as well!

Eric Blake   
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]