From owner-freebsd-hackers Fri Jul 28 19:13:19 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id TAA18409 for hackers-outgoing; Fri, 28 Jul 1995 19:13:19 -0700 Received: from UUCP-GW.CC.UH.EDU (UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id TAA18399 for ; Fri, 28 Jul 1995 19:13:14 -0700 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA14236 (5.67a/IDA-1.5 for freebsd.org!hackers); Fri, 28 Jul 1995 20:47:59 -0500 Received: by bonkers.taronga.com (smail2.5p) id AA13753; 28 Jul 95 20:33:14 CDT (Fri) Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.6) id UAA13750 for hackers@freebsd.org; Fri, 28 Jul 1995 20:33:13 -0500 From: Peter da Silva Message-Id: <199507290133.UAA13750@bonkers.taronga.com> Subject: What's in a name? To: hackers@freebsd.org Date: Fri, 28 Jul 1995 20:33:13 -0500 (CDT) In-Reply-To: <199507290050.TAA12663@bonkers.taronga.com> from "Stephanie da Silva" at Jul 28, 95 07:50:35 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 972 Sender: hackers-owner@freebsd.org Precedence: bulk > > I have to agree with Peter and Robert here. It seems > > to me to be awfully cool to do > > # echo format > /dev/sd0/crtl > > to format a disk (and the disk can even be remote)! > Why when it opens the device does it not get the lookup values and result > in opening the device on your machine instead of the remote machine? Because when it hits a remote machine instead of doing what NFS does and running namei() over the network (at one transaction per directory, ick!) it hands the whole thing off to the remote machine and gets an open file descriptor back, the way virtually every other network file system in the world does it (OpenNET, for example, or Sprite). (and before you worry about diskless machines, the root is always virtual, with /dev built up at boot by sequentially binding the devices you need) > How do you prevent a MIME message from sending the device message? Same way you prevent a MIME message from overwriting /bin/sh or .rhosts.