All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] [Xenomai-git] Philippe Gerum: copperplate: add configuration tunable for registry moint point
Date: Fri, 2 Jan 2015 14:41:46 +0100	[thread overview]
Message-ID: <20150102134146.GC1492@daedalus> (raw)
In-Reply-To: <54A6977F.6050607@web.de>

On Fri, Jan 02, 2015 at 02:05:03PM +0100, Jan Kiszka wrote:
> On 2015-01-02 13:51, Gilles Chanteperdrix wrote:
> > On Fri, Jan 02, 2015 at 12:11:13PM +0100, Jan Kiszka wrote:
> >> On 2015-01-02 11:58, Philippe Gerum wrote:
> >>> On 01/02/2015 11:28 AM, Jan Kiszka wrote:
> >>>> On 2015-01-01 18:43, xenomai-git-request@xenomai.org wrote:
> >>>>> Module: xenomai-3
> >>>>> Branch: next
> >>>>> Commit: d351f712bc9b03d621b454b55fe3e46a0000294a
> >>>>> URL:    http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d351f712bc9b03d621b454b55fe3e46a0000294a
> >>>>>
> >>>>> Author: Philippe Gerum <rpm@xenomai.org>
> >>>>> Date:   Thu Jan  1 18:15:36 2015 +0100
> >>>>>
> >>>>> copperplate: add configuration tunable for registry moint point
> >>>>>
> >>>>> --enable-registry[=/registry-mount-point]
> >>>>>
> >>>>> Defaults to /mnt/xenomai.
> >>>>
> >>>> Do we really have to leave this as default? Then at least the debian
> >>>> rules must be fixed to use a FHS-conforming path for distributed packages.
> >>>>
> >>>
> >>> I don't care about which default is picked, really. I would agree with
> >>> both options equally, i.e. using /mnt or /var/run, since /mnt has been a
> >>> sensible and documented root for temporary mount points for ages in the
> >>> *nix world, although I find /var/run a reasonable choice for
> >>> non-persistent mount points as well.
> >>
> >> As I explained (and I wasn't alone with this view), this is not a matter
> >> of taste but standard compliance: FHS requires us - as soon as we
> >> consider Xenomai being part of the platform and not some self-written
> >> admin script - to keep away from /mnt. You would have a hard time
> >> finding a distro package that writes to /mnt without being explicitly
> >> told by the admin.
> > 
> > And as I explained, the standard sucks. /mnt on the distro I use
> 
> Even if it sucked, it remains the standard that most distros apply.
> 
> > contains the following directories:
> 
> This is apparently an exception. Debian, Ubuntu, Suse/SLES, Fedora/RHEL,
> Gentoo - they all handle this conformingly and leave /mnt empty when
> installing things. At least today, I cannot comment on the history of
> all of them: Suse does as long as I us it (almost 20 years), Debian at
> least for the past 10 years. This is my concern.

Putting directories under /mnt does not prevent users from using
/mnt as a mount point. The distribution I use is Slackware, the
oldest Linux distribution still maintained.

Anyway, as I also already said, most people using Xenomai build it
from sources, and it is even probable that they do not use a
mainstream distribution, they rather use distributions that build
everything from sources, such as yocto or buildroot if they
integrate xenomai into a distribution at all.

And finally, as you already said, changing distribution scripts to
pass an FHS compliant directory, which could even be /run for Debian
instead of /var/run is not really complicated and will not break
anything. Keeping /mnt/xenomai as the default will avoid uselessly
surprising people which have been using Xenomai 3.x since the
beginning, and will keep happy people which find that using
directories under /mnt as mount points is fine. And as I also
already said, a lot of people are mounting their disks under
directories under /mnt, including people who administer Linux
systems for a living, and in fact, everything is made, including in
Debian, so that you can use /mnt the way you please, so, even using
/mnt/xenomai under Debian, would not break anything in Debian, it
would only be a problem for the stubborn people who want to use /mnt
as a mount point, but these people, which are the exception, can use
the configure option to pass /run as a mount point.

-- 
					    Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 173 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20150102/dae0ef5b/attachment.sig>

  reply	other threads:[~2015-01-02 13:41 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.787.1420134217.6101.xenomai-git@xenomai.org>
2015-01-02 10:28 ` [Xenomai] [Xenomai-git] Philippe Gerum: copperplate: add configuration tunable for registry moint point Jan Kiszka
2015-01-02 10:58   ` Philippe Gerum
2015-01-02 11:11     ` Jan Kiszka
2015-01-02 12:51       ` Gilles Chanteperdrix
2015-01-02 13:05         ` Jan Kiszka
2015-01-02 13:41           ` Gilles Chanteperdrix [this message]
2015-01-02 15:05         ` Lennart Sorensen
2015-01-02 15:10           ` Gilles Chanteperdrix
2015-01-02 15:22             ` Gilles Chanteperdrix
2015-01-02 15:47               ` Lennart Sorensen
2015-01-02 18:06                 ` Gilles Chanteperdrix
2015-01-02 12:56       ` Gilles Chanteperdrix
2015-01-02 13:06         ` Jan Kiszka
2015-01-02 13:29       ` Philippe Gerum
2015-01-02 13:24         ` Jan Kiszka
2015-01-02 14:02           ` Philippe Gerum
2015-01-02 13:56             ` Jan Kiszka
2015-01-02 14:16               ` Gilles Chanteperdrix
2015-01-02 15:06                 ` Gilles Chanteperdrix
2015-01-02 15:59                   ` Jan Kiszka
2015-01-02 18:03                     ` Gilles Chanteperdrix
2015-01-02 18:07                     ` Philippe Gerum
2015-01-02 18:09                       ` Jan Kiszka
2015-01-02 19:20                         ` Philippe Gerum
2015-01-02 19:15                           ` Jan Kiszka
2015-01-02 19:31                             ` Philippe Gerum
2015-01-02 19:28                               ` Jan Kiszka
2015-01-02 19:55                                 ` Philippe Gerum
2015-01-02 19:49                                   ` Jan Kiszka
2015-01-02 20:18                                     ` Philippe Gerum
2015-01-02 22:05                                       ` [Xenomai] registry daemon mangement (was: Re: [Xenomai-git] Philippe Gerum: copperplate: add configuration tunable for registry moint point) Jan Kiszka
2015-01-02 22:17                                         ` Gilles Chanteperdrix
2015-01-03 18:36                                         ` [Xenomai] registry daemon mangement Philippe Gerum
2015-01-03 20:09                                           ` Jan Kiszka
2015-01-03 20:55                                             ` Philippe Gerum
2015-01-04 13:03                                               ` Jan Kiszka
2015-01-03 19:40                     ` [Xenomai] [Xenomai-git] Philippe Gerum: copperplate: add configuration tunable for registry moint point Gilles Chanteperdrix
2015-01-03 20:17                       ` Jan Kiszka
2015-01-03 22:25                         ` Gilles Chanteperdrix
2015-01-07 18:14                           ` Jan Kiszka
2015-01-12 10:42                             ` Gilles Chanteperdrix
2015-01-12 11:19                               ` Jan Kiszka
2015-01-12 11:34                                 ` Gilles Chanteperdrix
2015-01-12 11:59                                   ` Jan Kiszka
2015-01-12 14:35                                     ` Philippe Gerum
2015-01-12 14:34                                       ` Jan Kiszka
2015-01-13  9:22                                         ` Philippe Gerum
2015-01-13  9:11                                           ` Jan Kiszka
2015-01-13  9:45                                             ` Philippe Gerum

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=20150102134146.GC1492@daedalus \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@web.de \
    --cc=xenomai@xenomai.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.