Date: Sat, 17 Feb 2007 11:26:35 -0800 (PST) From: Shane Adams <adamsch1@yahoo.com> To: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Advice on runtime directories ala .snapshot Message-ID: <401753.71633.qm@web31809.mail.mud.yahoo.com>
index | next in thread | raw e-mail
Hi, I've been thinking about how I could add a "virtual" directory entry similar to netapp, namely a .snapshot. Obviously I'd want to do this at runtime, but I'm having trouble attacking this problem. I've been looking 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 ? I 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 ultimatly in ufs_lookup? Sorry I'm a bit rambling! Cheers, Shanehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401753.71633.qm>
