From owner-freebsd-questions@FreeBSD.ORG  Wed Mar 31 09:41:03 2004
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8AA4116A4CE
	for <questions@freebsd.org>; Wed, 31 Mar 2004 09:41:03 -0800 (PST)
Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E87843D2D
	for <questions@freebsd.org>; Wed, 31 Mar 2004 09:41:01 -0800 (PST)
	(envelope-from toomas.aas@raad.tartu.ee)
Received: Message by Barricade lv.raad.tartu.ee  with ESMTP id i2VHewf1016730;
	Wed, 31 Mar 2004 20:40:59 +0300
Message-Id: <200403311740.i2VHewf1016730@lv.raad.tartu.ee>
Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48);
    31 Mar 04 20:41:00 +0300
Received: from SpoolDir by INFO (Mercury 1.48); 31 Mar 04 20:40:52 +0300
From: "Toomas Aas" <toomas.aas@raad.tartu.ee>
Organization: Tartu City Government
To: Ron Joordens <ron.joordens@indec.com.au>
Date: Wed, 31 Mar 2004 20:40:48 +0300
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Priority: normal
In-reply-to: <11F383396235D511994B00A0C9E1753772123B@INDEC-NTSERVER>
cc: questions@freebsd.org
Subject: Re: e2fsprogs install
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2004 17:41:03 -0000

Hi!

> To have your ext2 and ext3 filesystems fsck'ed correctly without explicitly
> invoking the fsck_ext2fs utility installed by this port you will need to
> create links for the fsck utilities installed by this port in /sbin, e.g.
> 
> ln -f /usr/local/sbin/fsck_ext2fs /sbin/ 2>/dev/null \
>   || install -m755 /usr/local/sbin/fsck_ext2fs /sbin/
> ln -f /usr/local/sbin/e2fsck /sbin/e2fsck 2>/dev/null \
>   || install -m755 /usr/local/sbin/e2fsck /sbin/e2fsck
> 
> In particular, I assume that each of these two commands are meant to be
> entered as one line, 

Correct.

> and has been shown over two lines to fit on the page. 

Correct again.

> I also assume that there is a symbol denoting that the command is
> continued on the next line. But which one? The "\" and the end of the
> first line, or the "|" at the beginning of the second line, or both? 

It's the \. The || is something like a shell "or" operator:
"command1 || command2" means "execute command1, if that fails then 
execute command 2".
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* If Windows sucked, it would be good for something.