public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Persistent module storage - modutils design
Date: 8 Nov 2000 21:09:49 -0800	[thread overview]
Message-ID: <8udbit$pne$1@cesium.transmeta.com> (raw)
In-Reply-To: <14032.973605093@ocs3.ocs-net> <20001109045247.BE39A8120@halfway.linuxcare.com.au>

Followup to:  <20001109045247.BE39A8120@halfway.linuxcare.com.au>
By author:    Rusty Russell <rusty@linuxcare.com.au>
In newsgroup: linux.dev.kernel
> 
> > Modules are loaded before non-root file systems are mounted, damn!
> 
> modules.conf already breaks FHS lib/ badly enough.  Modules loaded
> before /var is mounted won't get persistant data.  Too bad; they
> have to do something sane when it doesn't exist anyway.
> 

Last I checked modules.conf was in /etc, not in /lib.

> 
> > Looks like persistent data has to be stored in /lib/modules/persist (no
> > <version>, see earlier mail).
> 
> You need versions: binary data is too prone to change (proven kernel
> history).  It's the kernel installer's duty to know which ones can be
> safely linked/copied to the new version.
> 
> Otherwise every data change requires a new symbol name: and this will
> happen all the time.
> 

Remember that we cannot rely on ANY form of persistent storage to be
available in the beginning; / may very well be readonly (on a ROM,
say.)  Since that means that we can't rely on writable storage being
available until at least one other filesystem has been mounted, it
might as well be the standard for variable data, i.e. /var.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-09  5:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07  4:00 Persistent module storage - modutils design Keith Owens
2000-11-07  4:45 ` Keith Owens
2000-11-07 12:45 ` Horst von Brand
2000-11-07 13:30   ` Horst von Brand
2000-11-07 13:51     ` Keith Owens
2000-11-09  4:52       ` Rusty Russell
2000-11-09  5:09         ` H. Peter Anvin [this message]
2000-11-09  5:25           ` Keith Owens
2000-11-09  5:21         ` Keith Owens
2000-11-07 13:55     ` Alan Cox
2000-11-09 12:22       ` Ralf Baechle
2000-11-07 13:33   ` Keith Owens
2000-11-07 14:47     ` Horst von Brand
2000-11-07 15:19       ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2000-11-07 16:01 Jesse Pollard
2000-11-07 21:51 ` Keith Owens
2000-11-07 22:30 Jesse Pollard
2000-11-07 22:52 ` Keith Owens

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='8udbit$pne$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox