Date: Wed, 31 Mar 2004 20:40:48 +0300 From: "Toomas Aas" <toomas.aas@raad.tartu.ee> To: Ron Joordens <ron.joordens@indec.com.au> Cc: questions@freebsd.org Subject: Re: e2fsprogs install Message-ID: <200403311740.i2VHewf1016730@lv.raad.tartu.ee> In-Reply-To: <11F383396235D511994B00A0C9E1753772123B@INDEC-NTSERVER>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403311740.i2VHewf1016730>