Re: mount_nullfs

From: Oliver Fromme <olli(at)secnetix.de>
Date: Thu, 5 Jun 2003 21:44:19 +0200 (CEST)

Manfred Lotz <manfred.lotz(at)web.de> wrote:
> On Thursday 05 June 2003 20:52, Oliver Fromme wrote:
> > Eine funktionell vergleichbare Alternative wäre, loopback-
> > NFS-Mounts zu verwenden. D.h. das Dateisystem wird per
> > NFS an localhost (127.1) exportiert und auf dem gleichen
> > Rechner von dort wieder an die gewünschte(n) Stelle(n)
> > gemountet. Das funktioniert sehr zuverlässig, und zwar
> > sowohl read-only als auch read+write.
>
> Z.B. mount -o ro -bind /usr/ports /somewhere/else/ports
>
> würde mount -t nfs localhost:/usr/ports /somewhere/else/ports
>
> entsprechen (entsprechendes exportieren vorausgesetzt),

Exakt (außer daß Du noch das »-o ro« vergessen hast).

> nur mit dem
> Unterschied, dass bei dem mount -bind kein nfs beteiligt ist.

Richtig, aber Loopback-NFS ist bei FreeBSD äußerst effi-
zient. In der Praxis gibt es normalerweise keinen spür-
baren Overhead.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"The idea that Bill Gates has appeared like a knight in shining armour
to lead all customers out of a mire of technological chaos neatly ignores
ignores the fact that it was he who, by peddling second-rate technology,
led them into it in the first place." -- Douglas Adams (1952-2001)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 05 Jun 2003 - 21:44:22 CEST

search this site