Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!necntc!ames!lll-tis!lll-lcc!lll-winken!csustan!dave From: dave@csustan.UUCP Newsgroups: comp.sys.amiga Subject: Re: Putting devices in the filename space Message-ID: <970@csustan.UUCP> Date: Thu, 1-Oct-87 12:13:25 EDT Article-I.D.: csustan.970 Posted: Thu Oct 1 12:13:25 1987 Date-Received: Sat, 3-Oct-87 09:03:16 EDT References: <503@louie.udel.EDU> <1929@umd5.umd.edu> Reply-To: dave@csustan.UUCP (david j wells) Organization: CSU, Stanislaus; Turlock, California Lines: 33 In article <8365@shemp.UCLA.EDU> cc1@CS.UCLA.EDU (Michael Gersten) writes: >On unix's "" == current dir: >I was BITTEN, badly by this bug once. On V7, I ran a set-uid program as >root (set-uid ignored), and got to a place where it unlink()'d a file, >name of file was a name given earlier. I had hit enter (I was testing >to see how well it worked for boundary cases). Imagine my suprise when >it couldn't find the directory again. ... > Michael Most likely the program stuck the current working directory onto the beginning of the path to unlink. (i.e. cwd + "" = cwd). While I am here, some people were saying that they liked device naming conventions like ":" rather than having the devices mounted into the file system. For example, mount : as /games, then access it with "/games/". I wonder if the people who liked ":" were, in a past life, MeSsed up DOS users. We tend to prefer things that we are familiar with ... BTW, the OS could be set up so that a floppy would (optionally) be automatically mounted in some default path. This would make the mounting process (more or less) transparent to most users. Device independance is a VERY powerful concept! David "MS/DOS, just say no!" -- ----- David J Wells lll-crg!csustan!dave dave@csustan.uucp