non-interactive newfs

From: Adrian Flanagan (aflanagan@lucent.com)
Date: Thu Jul 04 2002 - 12:06:53 EDT


Hi all,
I was wondering if there is a way to run the newfs command without out
being asked the following question:

newfs: /dev/md/rdsk/dX last mounted as /wxyz
newfs: construct a new file system /dev/md/rdsk/dX: (y/n)? y

I need to run this command in a script and need it to be non-interactive
so as not to interrupt it. Any help much appreciated,

Thanks.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:33 EDT