From: Roger Leigh <rleigh@codelibre.net>
To: Karel Zak <kzak@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
util-linux@vger.kernel.org
Subject: Re: /etc/fstab.d yes or not
Date: Fri, 20 Jan 2012 15:49:12 +0000 [thread overview]
Message-ID: <20120120154912.GK8797@codelibre.net> (raw)
In-Reply-To: <20120120140444.GC13157@x2.net.home>
On Fri, Jan 20, 2012 at 03:04:44PM +0100, Karel Zak wrote:
> I'd like to add support for /etc/fstab.d to libmount. The library is
> currently used by mount, umount and mount.nfs. The goal is to use it
> on more places.
>
> The /etc/fstab.d directory has been requested by people who maintains
> large number of mountpoints etc.
>
> The directory is not replacement for /etc/fstab, it's additional place
> where you can describe your filesystems.
As a general comment, I would like to use fstab.d for replacing
the initscripts which mount kernel filesystems in Debian initscripts
(sysvinit). We currently hardcode the logic to mount each filesystem
and additionally hardcode the defaults, and permit the defaults to
be overridden by the user via /etc/default/* or via entries in
/etc/fstab. This could be done much more straightforwardly using
entries such as /etc/fstab.d/kernfs and /etc/fstab.d/tmpfs etc.
>From the distributor's POV, this can then take advantage of the
package manager's conffile handling, meaning it's much simpler
for the user to customise.
>From the initscripts POV, were systemd to also use the same
approach, we could then share the configuration between the different
init systems.
Note that I've not actually taken any of these steps yet; I'm
about to test it with the upcoming util-linux release and the
current prerelease, but it is something under consideration.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
WARNING: multiple messages have this Message-ID (diff)
From: Roger Leigh <rleigh-l88Q8xmqi7wqcZcGjlUOXw@public.gmane.org>
To: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
util-linux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: /etc/fstab.d yes or not
Date: Fri, 20 Jan 2012 15:49:12 +0000 [thread overview]
Message-ID: <20120120154912.GK8797@codelibre.net> (raw)
In-Reply-To: <20120120140444.GC13157-s5vVilr7EKH/9pzu0YdTqQ@public.gmane.org>
On Fri, Jan 20, 2012 at 03:04:44PM +0100, Karel Zak wrote:
> I'd like to add support for /etc/fstab.d to libmount. The library is
> currently used by mount, umount and mount.nfs. The goal is to use it
> on more places.
>
> The /etc/fstab.d directory has been requested by people who maintains
> large number of mountpoints etc.
>
> The directory is not replacement for /etc/fstab, it's additional place
> where you can describe your filesystems.
As a general comment, I would like to use fstab.d for replacing
the initscripts which mount kernel filesystems in Debian initscripts
(sysvinit). We currently hardcode the logic to mount each filesystem
and additionally hardcode the defaults, and permit the defaults to
be overridden by the user via /etc/default/* or via entries in
/etc/fstab. This could be done much more straightforwardly using
entries such as /etc/fstab.d/kernfs and /etc/fstab.d/tmpfs etc.
>From the distributor's POV, this can then take advantage of the
package manager's conffile handling, meaning it's much simpler
for the user to customise.
>From the initscripts POV, were systemd to also use the same
approach, we could then share the configuration between the different
init systems.
Note that I've not actually taken any of these steps yet; I'm
about to test it with the upcoming util-linux release and the
current prerelease, but it is something under consideration.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-01-20 15:49 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 14:04 /etc/fstab.d yes or not Karel Zak
2012-01-20 14:04 ` Karel Zak
2012-01-20 14:20 ` Masatake YAMATO
2012-01-20 14:56 ` Kay Sievers
2012-01-20 14:56 ` Kay Sievers
2012-01-20 15:57 ` Roger Leigh
2012-01-20 16:08 ` Kay Sievers
2012-01-20 16:08 ` Kay Sievers
2012-01-24 0:19 ` Boaz Harrosh
2012-01-24 0:19 ` Boaz Harrosh
2012-01-24 9:47 ` bastien ROUCARIES
2012-01-24 9:47 ` bastien ROUCARIES
2012-01-20 14:43 ` Attila Kinali
2012-01-20 14:59 ` Karel Zak
2012-01-20 14:59 ` Karel Zak
2012-01-20 15:03 ` Voelker, Bernhard
2012-01-20 15:20 ` Kay Sievers
2012-01-20 15:20 ` Kay Sievers
2012-01-20 15:49 ` Roger Leigh [this message]
2012-01-20 15:49 ` Roger Leigh
2012-01-20 16:13 ` Kay Sievers
2012-01-20 16:22 ` Roger Leigh
2012-01-20 16:22 ` Roger Leigh
2012-01-20 17:59 ` Kay Sievers
2012-01-20 17:59 ` Kay Sievers
2012-01-23 12:21 ` Karel Zak
2012-01-23 13:01 ` Masatake YAMATO
2012-01-23 13:03 ` Kay Sievers
2012-01-23 13:26 ` Masatake YAMATO
2012-01-23 13:37 ` Kay Sievers
2012-01-23 14:14 ` Masatake YAMATO
2012-01-23 14:32 ` Kay Sievers
2012-01-23 13:55 ` Theodore Tso
2012-01-23 22:07 ` Alan Cox
2012-01-24 1:06 ` Ted Ts'o
2012-01-20 18:20 ` Denys Vlasenko
2012-01-20 18:20 ` Denys Vlasenko
2012-01-20 18:29 ` Kay Sievers
2012-01-20 18:29 ` Kay Sievers
2012-01-20 18:47 ` Al Viro
2012-01-20 18:47 ` Al Viro
2012-01-24 11:02 ` /etc/fstab.d yes or not (resolved) Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120120154912.GK8797@codelibre.net \
--to=rleigh@codelibre.net \
--cc=kzak@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.