DragonFly users List (threaded) for 2009-01
DragonFly BSD
DragonFly users List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Installer & HAMMER only


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 28 Jan 2009 22:23:09 +0100

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   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]