rdmenezes / remote-testbed

Automatically exported from code.google.com/p/remote-testbed
0 stars 1 forks source link

Move UDEV helper scripts to /lib/udev #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Executable scripts are not supposed to be in /etc, instead /lib can be used
for this. Ubuntu at least has UDEV helper scripts located in /lib/udev.

Original issue reported on code.google.com by jonas.fonseca on 14 Nov 2007 at 11:10

GoogleCodeExporter commented 9 years ago
The basic motivation is from the Linux Hierarchy Standard which states that: 
"The
/lib directory contains those shared library images needed to boot the system 
and run
the commands in the root filesystem, ie. by binaries in /bin and /sbin." UDEV
binaries are in /sbin.

http://www.pathname.com/fhs/pub/fhs-2.3.html#LIBESSENTIALSHAREDLIBRARIESANDKERN

Original comment by jonas.fonseca on 14 Nov 2007 at 1:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Gentoo has UDEV helper scripts located in /lib/udev as well.
Let's move it.

Original comment by spin...@gmail.com on 18 Nov 2007 at 9:05

GoogleCodeExporter commented 9 years ago
I recommend that we also rename the scripts:

  remote.sh               -> remote-device-manager
  remote-micaz-symlink.sh -> remote-device-name

This seems to follow better the convention of existing UDEV scripts (although 
they
use underscores) and the MicaZ script is not really limited to just this 
platform, at
least in theory.

Original comment by jonas.fonseca on 9 Mar 2008 at 12:13

GoogleCodeExporter commented 9 years ago

Original comment by spin...@gmail.com on 10 Mar 2008 at 6:43