From mboxrd@z Thu Jan 1 00:00:00 1970 From: bastien ROUCARIES Subject: Re: /etc/fstab.d yes or not Date: Tue, 24 Jan 2012 10:47:41 +0100 Message-ID: <201201241047.42303.roucaries.bastien@gmail.com> References: <20120120140444.GC13157@x2.net.home> <4F1DF90C.5070108@panasas.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Kay Sievers , Masatake YAMATO , kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, util-linux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Boaz Harrosh Return-path: In-Reply-To: <4F1DF90C.5070108-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org> Sender: util-linux-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org Le Tuesday 24 January 2012 01:19:24, Boaz Harrosh a =C3=A9crit : > 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. >=20 > Can't we have our cake and eat it too? >=20 > I mean why not have both? >=20 > 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. >=20 > 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) >=20 > 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/fsta= b.d/.=20 >=20 > Just my $0,017 > Boaz > -- > To unsubscribe from this list: send the line "unsubscribe linux-kerne= l" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html