From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Wed, 5 Jan 2011 12:52:50 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37-rc6-18+; KDE/4.5.4; x86_64; ; ) References: <1c29c6f7-f7f6-4977-a3c4-33b7075d0002@t35g2000yqj.googlegroups.com> In-Reply-To: <1c29c6f7-f7f6-4977-a3c4-33b7075d0002@t35g2000yqj.googlegroups.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201101051252.50718.dexen.devries@gmail.com> Subject: Re: [9fans] Windows XP names Topicbox-Message-UUID: 9097201a-ead6-11e9-9d60-3106f5b1d025 On Wednesday, January 05, 2011 12:36:40 pm Artem Novikov wrote: > 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* lol indeed; thanks to backward compatibility. Back in the heyday of DOS, you could copy CON FILE.txt (typety typety typety) ^Z and you got a nice file :D or, perhaps, copy FILE.txt LPT1 and have it printed in any case, the limitation is not in filesystem, neither in handling of directory access; there's a `hack' involving a somewhat twisted pathname to create the directory; see the discussion at http://kerneltrap.org/node/5772 -- dexen deVries ``You want to make your way in the CS field? Simple. Calculate rough time of amnesia (hell, 10 years is plenty, probably 10 months is plenty), go to the dusty archives, dig out something fun, and go for it. It's worked for many people, and it can work for you.'' - Ron Minnich