Re: e2fsprogs install
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 | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * If Windows sucked, it would be good for something. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: e2fsprogs install
* Ron Joordens <[EMAIL PROTECTED]> [2004-03-30 14:56]: > Hello FreeBSDers, > > -- > 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 > > > 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? The trailing "\" at the end of the line indicates that the command continues on the next line. I'm not sure what the double pipe is for... > > Can some one set me straight? > > Ron > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Joshua "What terrible way to die." "There are no good ways." -- Sulu and Kirk, "That Which Survives", stardate unknown ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
e2fsprogs install
Hello FreeBSDers, Just installed e2fsprogs from ports and it gave some instructions for vreating some links as follows: -- 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 IMPORTANT: you also need to repeat the above steps after a port upgrade! - I haven't done this yet as I am a little cinfused by the syntax. In particular, I assume that each of these two commands are meant to be entered as one line, and has been shown over two lines to fit on the page. 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? Can some one set me straight? Ron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"