Installer & HAMMER only

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Jan 28 13:26:16 PST 2009


Jeremy C. Reed wrote:
On Wed, 28 Jan 2009, FloW wrote:

cd /dev && /bin/echo ad0s4a || /bin/sh MAKEDEV ad0s4a

Shouldn't this be rather

cd /dev && /bin/echo ad0s4a && /bin/sh MAKEDEV ad0s4a
Neither of those make sense to me  as that echo will always return 0.
If this is to check existence why not use test (or ls)?
Unless it really does a cd /dev/ && /bin/echo ad0s4a* and depends on the 
shell to complain when expanding...  but a test(1) would be even better...

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Users mailing list