From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757279Ab2AXSEj (ORCPT ); Tue, 24 Jan 2012 13:04:39 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:37440 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645Ab2AXSEh convert rfc822-to-8bit (ORCPT ); Tue, 24 Jan 2012 13:04:37 -0500 From: bastien ROUCARIES To: Boaz Harrosh Subject: Re: /etc/fstab.d yes or not Date: Tue, 24 Jan 2012 10:47:41 +0100 User-Agent: KMail/1.13.7 (Linux/3.1.0-1-amd64; KDE/4.6.5; x86_64; ; ) Cc: Kay Sievers , Masatake YAMATO , kzak@redhat.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, util-linux@vger.kernel.org References: <20120120140444.GC13157@x2.net.home> <4F1DF90C.5070108@panasas.com> In-Reply-To: <4F1DF90C.5070108@panasas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201201241047.42303.roucaries.bastien@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Tuesday 24 January 2012 01:19:24, Boaz Harrosh a écrit : > On 01/20/2012 04:56 PM, Kay Sievers wrote: > > It's an old glibc API, and /etc/fstab is ABI, not a service config > > file, which now can read more than one file. It's a very different > > problem. It an ABI change, not a config extension. > > Can't we have our cake and eat it too? > > I mean why not have both? > > The subsystem that you currently plan to parse the /etc/fstab.d/ will > intelligently add the /etc/fstab.d/ entries to /etc/fstab before > actually processing and mounting /etc/fstab. > > So the rpm guys have their /etc/fstab.d/ convenience and the rest > of the ABI is kept intact. (If you can't bit them join them) > > Since /etc/fstab is hand edited as well. There are lots of smart > things that can be done like a remark (#) marker at the end of the > file that all /etc/fstab.d/ entries get to be added after. (And > a comment for the user) and some smart duplicate removal of, and > so on ... Even a marker per line added. I agree. And moreover extensible if they want to use xml for /etc/fstab.d/. > > Just my $0,017 > Boaz > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/