From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A33092C18C; Thu, 4 Jan 2024 19:14:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C438FC433C7; Thu, 4 Jan 2024 19:14:11 +0000 (UTC) Date: Thu, 4 Jan 2024 14:15:17 -0500 From: Steven Rostedt To: Al Viro Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Mathieu Desnoyers , Linus Torvalds , Christian Brauner , linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH] tracefs/eventfs: Use root and instance inodes as default ownership Message-ID: <20240104141517.0657b9d1@gandalf.local.home> In-Reply-To: <20240104182502.GR1674809@ZenIV> References: <20240103203246.115732ec@gandalf.local.home> <20240104014837.GO1674809@ZenIV> <20240103212506.41432d12@gandalf.local.home> <20240104043945.GQ1674809@ZenIV> <20240104100544.593030e0@gandalf.local.home> <20240104182502.GR1674809@ZenIV> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 4 Jan 2024 18:25:02 +0000 Al Viro wrote: > Unfortunately, the terms are clumsy as hell - POSIX ends up with > "file descriptor" (for numbers) vs. "file description" (for IO > channels), which is hard to distinguish when reading and just > as hard to distinguish when listening. "Opened file" (as IO > channel) vs. "file on disc" (as collection of data that might > be accessed via said channels) distinction on top of that also > doesn't help, to put it mildly. It's many decades too late to > do anything about, unfortunately. Pity the UNIX 101 students... ;-/ Just so I understand this correctly. "file descriptor" - is just what maps to a specific inode. "file description" - is how the file is accessed (position in the file and flags associated to how it was opened) Did I get that correct? -- Steve