Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] howto relocate sorcery stuff from /var to /sorcery

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Mads Laursen <smgl AT dossen.dk>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] howto relocate sorcery stuff from /var to /sorcery
  • Date: Wed, 24 May 2006 18:55:11 +0200

On 24/05/06 09.16, Andrew Stitt wrote:
> The easiest thing to do is to just use symlinks. Theres several mostly
> independent pieces of the system: libraries, codex, state data, source
> cache, compile archive cache, logs. Some are more flexible than others.

Another option is bind-mounts. Simply create /sorcery/<whatever> and
put something like
/sorcery/<whatever> /var/<whatever>/sorcery bind defaults 0 0
in /etc/fstab.

Do remember to move the contents before mounting, as the 'real'
/var/<whatever>/sorcery is hidden once you have mounted something on
top of it.

BTW: Isn't /var supposed to be per machine? It's got stuff like
/var/state/run /var/lock and the like. Usually it's /usr or /home that
would be shared (fully or partially).

/dossen
--
The fantasy of gold, the fairy dream that the gold is there, at the end of
the rainbow, and will continue to be there for ever provided, naturally,
that you don't go and look. This is known as Finance.
-- Terry Pratchett, Going Postal

Attachment: pgpIlt_6QkbKm.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page