linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ethan Benson <erbenson@alaska.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: Location for Linux kernel module support files
Date: Tue, 1 Oct 2002 23:54:43 -0800	[thread overview]
Message-ID: <20021002075443.GB26324@plato.local.lan> (raw)
In-Reply-To: <3D99F21B.5090408@mrsl.com>


On Tue, Oct 01, 2002 at 03:06:03PM -0400, Tim Moloney wrote:
> I want to distribute a standard FPGA program file with the module and
> have it loaded at system boot time.  I can create an rc script to copy
> this file to the /proc entry.  I can package the module, rc script, and
> FPGA file in an RPM.  I just need to determine a reasonable location for
> the FPGA file (since I know where to put the module and rc script).
>
> The custom FPGA files can be distributed with their respective
> applications and can be packaged in RPMs.
>
> Perhaps there is no good answer to this.  I thought that this situation
> happened enough that people had found a reasonable location for support
> files.

http://www.pathname.com/fhs/

if its not a configuration file which is intended to be edited by the
admin then it does NOT belong in /etc.  if its a architecture specific
file, but not a command executable then it belongs in /usr/lib unless
its required before filesystems are mounted in which cases it belongs
in /lib.

if its a architecture independent, non-executable file then it belongs
in /usr/share

the /lib /usr/lib and /usr/share cases indicate a subdirectory since
its not a actual shared library.

your Makefile make install step should install things in
/usr/local/lib or /usr/local/share (agian unless this is required to
get filesystems mounted, in that case it has to go in /lib).  debian
packages or rpms would install things under /usr/lib.

--
Ethan Benson
http://www.alaska.net/~erbenson/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2002-10-02  7:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01 17:07 Location for Linux kernel module support files Eugene Surovegin
2002-10-01 19:06 ` Tim Moloney
2002-10-02  3:25   ` Michael Heironimus
2002-10-02  7:54   ` Ethan Benson [this message]
2002-10-02  8:06   ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2002-09-30 15:46 Tim Moloney
2002-10-01  0:32 ` David Gibson
2002-10-01 14:33   ` Tim Moloney
2002-10-01 16:25     ` Geert Uytterhoeven

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=20021002075443.GB26324@plato.local.lan \
    --to=erbenson@alaska.net \
    --cc=linuxppc-dev@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).