From owner-freebsd-fs@FreeBSD.ORG Sat Feb 17 19:53:17 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 653DD16A402 for ; Sat, 17 Feb 2007 19:53:17 +0000 (UTC) (envelope-from adamsch1@yahoo.com) Received: from web31809.mail.mud.yahoo.com (web31809.mail.mud.yahoo.com [68.142.207.72]) by mx1.freebsd.org (Postfix) with SMTP id 1321513C4A3 for ; Sat, 17 Feb 2007 19:53:16 +0000 (UTC) (envelope-from adamsch1@yahoo.com) Received: (qmail 80987 invoked by uid 60001); 17 Feb 2007 19:26:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=XSDAYzp2fZW3ZUM5XnT6rW395AUYoZbJCB9zBUkMGpkTLcqP4xYdniOfV3tEJCrvZCKEw0PsJtPe2hteoshsU8UOLy2qY8a6sfZ+O056cpvrOBkYaLby7fXQPCM1Rvx0jhhkHpB9I3eFN/4ClvLokvVTf542/20ZoesdP29+TMM=; X-YMail-OSG: 8sbudvcVM1lIsq_lGSncx8W19auHbMYpk7xFuwCcYzLrUcxEnPIrP3WDO5Aqe7zvgQ-- Received: from [69.236.88.234] by web31809.mail.mud.yahoo.com via HTTP; Sat, 17 Feb 2007 11:26:35 PST X-Mailer: YahooMailRC/463 YahooMailWebService/0.6.132.8 Date: Sat, 17 Feb 2007 11:26:35 -0800 (PST) From: Shane Adams To: "freebsd-fs@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <401753.71633.qm@web31809.mail.mud.yahoo.com> Subject: Advice on runtime directories ala .snapshot X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 19:53:17 -0000 Hi,=0A=0AI've been thinking about how I could add a "virtual" directory ent= ry similar to netapp, namely a .snapshot. Obviously I'd want to do this at= runtime, but I'm having trouble attacking this problem.=0A=0AI've been loo= king at the ufs_lookup routines, seems thats the only place to tackle such = a feature? Or possibly inject a .snapshot entry as the last entry read in = a call to ufs_readdir ?=0A=0AI believe doing a ls -la on a netapp will not = return the .snapshot directory, only explicitly nameing the directory will = achieve the effects you want. This would be somewhere beneith namei ultima= tly in ufs_lookup?=0A=0ASorry I'm a bit rambling!=0A=0ACheers,=0A Shane=0A= =0A=0A