Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 2016 09:44:28 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293115 - head/etc
Message-ID:  <7fjp-lonn-wny@vfemail.net>
In-Reply-To: <201601031918.u03JImBs012182@repo.freebsd.org> (Warner Losh's message of "Sun, 3 Jan 2016 19:18:48 %2B0000 (UTC)")
References:  <201601031918.u03JImBs012182@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Warner Losh <imp@FreeBSD.org> writes:

> Author: imp
> Date: Sun Jan  3 19:18:48 2016
> New Revision: 293115
> URL: https://svnweb.freebsd.org/changeset/base/293115
>
> Log:
>   Use /bin/rm to remove /firstboot*. Otherwise rm -i alias is picked
>   up and can cause issues on boot with the prompts.

Why do you have ~/.profile stuff leaking into rc* boot sequence?
And maybe use |command| instead.

  $ alias rm=foo /bin/rm=foo
  $ rm
  sh: foo: not found
  $ /bin/rm
  sh: foo: not found

  $ command rm
  usage: rm [-f | -i] [-dIPRrvWx] file ...
         unlink file

~/.profile may also contain syntax allowed by bash e.g.,

  $ rm() { bar; }; /bin/rm() { bar; }
  $ rm
  bash: bar: command not found
  $ /bin/rm
  bash: bar: command not found

  $ command rm
  rm: missing operand
  Try 'rm --help' for more information.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJWijDtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bB20IAJgh8Lp7nqvutDUmojFxjY9+
6VQQAUbsWTGllsT0yMAst6Q3xZEVq9t5nSmSsdlrcYNRPb9jdASprK3Iwtx623O4
d2MBFKPQD+El0Rb1KTPXKpkJeI/fh4U+/bgtvsBzqs3qyccX2MaqfYZhkKwijgul
gMGORHtjrfj0hhsVI0AyXYwBKjOMwOZ+LeeRrjiXyWNhDZXrBNTJ2gISScoww3TH
NHoktzBfGPJWz25OJeqbMylECq3rdNjGiKXAS3f2pzRukVaTCO1/qnRssm/AsBed
ulDKdMJqiFYRRwPazhcjsMXDSFhdP2FXBbNC/APTG2d0SMA0xgiesp01XO91E+w=
=vGlv
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7fjp-lonn-wny>