On Fri, Nov 28, 2014 at 12:26:32PM +0000, [email protected] wrote: > > Von: Gilles Chanteperdrix > > Gesendet: Freitag, 28. November 2014 11:16 > > ... > > In fact, the point is. Putting xenomai mount point under /mnt does > > not even break Debian. Because of the new standard, there is little > > chance for any Debian package to mount anything on /mnt or under > > /mnt. > > > > It is simply the local admin decision to decide to respect or not > > respect the standard. I have been using Debian since 1997 (up to > > back a few days, where I finally switched), and ALWAYS mounted > > things in /mnt subdirectories. And never had any problems with any > > Debian packages (and as I said, I seem to remember that some > > versions of the autofs packages had their mount points under /mnt, > > at any rate, the autofs mount points changed with debian versions, > > so, if you had them in one place and upgrading, it would have been a > > PIT to follow what Debian imposed). > > > > The standard changes the usage of /mnt, but does not provide a > > replacement. So, what we are left are choices among directories that > > are not specifically made for mounting things. I do not like that > > option. > > > > So yes, when using Xenomai, the user will have to accept to not > > follow the standard and create a /mnt/tmp directory for temporary > > mounts. But I suspect this is an issue nobody cares about, I mean, > > except you and Lennart. > > I don't want to add fuel to the fire, but I also care about > following (even changing) standards. And I'm afraid I fail to see > the problem with choosing another temporary mount point.
The problem is not why not? The problem is why. A mount point was chosen, which is not stupid, documentation and web contents were written, people have started getting used to it. So, why changing it now ? So from my point of view, Jan patch looks like a patch that has been submitted without thinking to the consequences, and changes things for bad reasons. > As you > cited from > http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/mnt.html > in your message on 27.11.2014 23:56: > > This directory [/mnt] must not be used by installation programs: > a suitable temporary directory not in use by the system must be > used instead. > > So, wouldn't using something like "/tmp/xenomai" conform to the > new standard as well as work on old systems? The sentence you quote does not really apply to xenomai, since xenomai is not an "installation program". The standard basically says that software installed by the distribution has no business messing with /mnt. But Xenomai is not installed by a distribution. If distibutions want to change this directory when they make xenomai their own package, they will apply patches, they do this all the time, and document the difference in /usr/share/doc/xenomai/README.Debian -- Gilles. _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
