9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@9fans.net
Subject: Re: [9fans] Windows XP names
Date: Fri,  7 Jan 2011 00:25:03 +0100	[thread overview]
Message-ID: <5abf7010f3d5dc5687a7933747789ad0@gmx.de> (raw)
In-Reply-To: <1c29c6f7-f7f6-4977-a3c4-33b7075d0002@t35g2000yqj.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

you can still access these "special" file names by prefixing your path
with \\?\

example:

C:\>echo Test > "\\?\C:\AUX"
C:\>dir "\\?\C:\AUX"
 Volume in drive \\?\C: is SYS
 Volume Serial Number is D48F-6BD6

 Directory of \\?\C:

07.01.2011  00:19                 7 AUX
               1 File(s)              7 bytes
               0 Dir(s)               0 bytes free

C:\>type "\\?\C:\AUX"
Test
C:\>

more info can be found under this url:

http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx

patch for drawterm should be trivial...

--
cinap

[-- Attachment #2: Type: message/rfc822, Size: 2462 bytes --]

From: Artem Novikov <novikovag@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] Windows XP names
Date: Wed, 5 Jan 2011 11:36:40 GMT
Message-ID: <1c29c6f7-f7f6-4977-a3c4-33b7075d0002@t35g2000yqj.googlegroups.com>

Under WIndows XP I cannot copy these files

sys\src\9\boot\aux.c
sys\src\cmd\con\con.c	=)

and these directories

sys\src\cmd\con\
sys\src\cmd\aux\

from Plan 9 source tree, because Windows don't allow anyone create
directories or files with names "aux", "con".

*LOL*

      parent reply	other threads:[~2011-01-06 23:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-05 11:36 Artem Novikov
2011-01-05 11:52 ` dexen deVries
2011-01-05 13:41   ` Steve Simon
2011-01-05 13:43 ` Richard Miller
2011-01-06 15:17   ` hiro
2011-01-06 23:25 ` cinap_lenrek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5abf7010f3d5dc5687a7933747789ad0@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).