Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site megad.UUCP Path: utzoo!decvax!genrad!panda!talcott!harvard!seismo!cmcl2!philabs!sbcs!megad!seth From: seth@megad.UUCP (Seth H Zirin) Newsgroups: net.unix Subject: Re: embedded '/' in a filename??? Message-ID: <122@megad.UUCP> Date: Mon, 25-Feb-85 12:27:20 EST Article-I.D.: megad.122 Posted: Mon Feb 25 12:27:20 1985 Date-Received: Thu, 28-Feb-85 11:56:58 EST References: <161@sbcs.UUCP> Distribution: na Organization: Megadata Corp., Bohemia, NY Lines: 22 > Is it possible to create a file with an > embedded '/' in its name ? It is not possible to create such a file using "normal means". The kernel function which converts a path name into an inode pointer (namei) uses the '/' (slash) as a delimiter for file name components (name pieces). If you managed to embed a slash in the name of a file using extraordinary means on its parent directory, it would be "rather difficult" to open (or unlink, stat or mount on to name a few). Why not consider using a backslash instead ? With a backslash you'll only have to battle the shell. -- Name: Seth H Zirin USmail: Megadata Corp. 35 Orville Dr., Bohemia, NY 11716 Phone: 516-589-6800 (M-F 9-5 EST) UUCP: {allegra, philabs}!sbcs!megad!seth Keeper of the News for megad