Sun Remarketing Catalog Summer 1988
On the subject of Suns and Macs:<p>What, no GatorBoxes?<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20007875" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20007875</a><p>&gt;DonHopkins on May 25, 2019 | parent | context | favorite | on: Why Does Windows Really Use Backslash as Path Sepa...<p>&gt;There used to be a bug in the GatorBox Mac Localtalk-to-Ethernet NFS bridge that could somehow trick Unix into putting slashes into file names via NFS, which appeared to work fine, but then down the line Unix &quot;restore&quot; would totally shit itself.<p>&gt;That was because Macs at the time (1991 or so) allowed you to use slashes (and spaces of course, but not colons, which it used a a path separator), and of course those silly Mac people, being touchy feely humans instead of hard core nerds, would dare to name files with dates like &quot;My Spreadsheet 01&#x2F;02&#x2F;1991&quot;.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GatorBox" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GatorBox</a><p>From the Unix-Haters Handbook:<p><a href="https:&#x2F;&#x2F;archive.org&#x2F;stream&#x2F;TheUnixHatersHandbook&#x2F;ugh_djvu.txt" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;stream&#x2F;TheUnixHatersHandbook&#x2F;ugh_djvu.tx...</a><p>Don&#x27;t Touch That Slash!<p>UFS allows any character in a filename except for the slash (&#x2F;) and the ASCII NUL character. (Some versions of Unix allow ASCII characters with the high-bit, bit 8, set. Others don&#x27;t.)<p>This feature is great — especially in versions of Unix based on Berkeley&#x27;s Fast File System, which allows filenames longer than 14 characters. It means that you are free to construct informative, easy-to-understand filenames like these:<p>1992 Sales Report<p>Personnel File: Verne, Jules<p>rt005mfkbgkw0 . cp<p>Unfortunately, the rest of Unix isn&#x27;t as tolerant. Of the filenames shown above, only rt005mfkbgkw0.cp will work with the majority of Unix utilities (which generally can&#x27;t tolerate spaces in filenames).<p>However, don&#x27;t fret: Unix will let you construct filenames that have control characters or graphics symbols in them. (Some versions will even let you build files that have no name at all.) This can be a great security feature — especially if you have control keys on your keyboard that other people don&#x27;t have on theirs. That&#x27;s right: you can literally create files with names that other people can&#x27;t access. It sort of makes up for the lack of serious security access controls in the rest of Unix.<p>Recall that Unix does place one hard-and-fast restriction on filenames: they may never, ever contain the magic slash character (&#x2F;), since the Unix kernel uses the slash to denote subdirectories. To enforce this requirement, the Unix kernel simply will never let you create a filename that has a slash in it. (However, you can have a filename with the 0200 bit set, which does list on some versions of Unix as a slash character.)<p>Never? Well, hardly ever.<p><pre><code>    Date: Mon, 8 Jan 90 18:41:57 PST 
    From: sun!wrs!yuba!steve@decwrl.dec.com (Steve Sekiguchi) 
    Subject: Info-Mac Digest V8 #3 5 

    I&#x27;ve got a rather difficult problem here. We&#x27;ve got a Gator Box run- 
    ning the NFS&#x2F;AFP conversion. We use this to hook up Macs and 
    Suns. With the Sun as a AppleShare File server. All of this works 
    great! 

    Now here is the problem, Macs are allowed to create files on the Sun&#x2F; 
    Unix fileserver with a &quot;&#x2F;&quot; in the filename. This is great until you try 
    to restore one of these files from your &quot;dump&quot; tapes, &quot;restore&quot; core 
    dumps when it runs into a file with a &quot;&#x2F;&quot; in the filename. As far as I 
    can tell the &quot;dump&quot; tape is fine. 

    Does anyone have a suggestion for getting the files off the backup 
    tape? 

    Thanks in Advance, 

    Steven Sekiguchi Wind River Systems 

    sun!wrs!steve, steve@wrs.com Emeryville CA, 94608
</code></pre>
Apparently Sun&#x27;s circa 1990 NFS server (which runs inside the kernel) assumed that an NFS client would never, ever send a filename that had a slash inside it and thus didn&#x27;t bother to check for the illegal character. We&#x27;re surprised that the files got written to the dump tape at all. (Then again, perhaps they didn&#x27;t. There&#x27;s really no way to tell for sure, is there now?)