From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 12 Feb 2006 06:06:53 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Strange date/time on some created files In-Reply-To: <775b8d190602111953n75c2f584i46235f6e98e908f5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <775b8d190602111910w5adb0046q796ef800e92d2aea@mail.gmail.com> <7d2991bd85e2b18bf1ca6b037e6f9ddc@collyer.net> <775b8d190602111953n75c2f584i46235f6e98e908f5@mail.gmail.com> Topicbox-Message-UUID: fdd2dbfc-ead0-11e9-9d60-3106f5b1d025 cleanname is used mainly by user-space programs. the kernel only uses it to handle names of the form /clean/name/.. -- names ending in a single "/..". for the most part the kernel just keeps its names clean to begin with. dot is a local fiction provided by the kernel. file servers never see dot, nor do they show it in listings. as for stat, i looked at the kernel code, and it looks like stat should be returning the mounted root info, not the mount points. and sure enough, it does! i'm not sure what i was seeing before that confused me. sorry for confusing all of you. even union mounts appear to stat the top guy in the union. russ