tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* newfs without confirmation
@ 2002-04-04 21:29 Mark S. Yamnicky
  0 siblings, 0 replies; only message in thread
From: Mark S. Yamnicky @ 2002-04-04 21:29 UTC (permalink / raw)
  To: tru64-unix-managers

Admins,

My task is simply however there is a hiccup.

I'm writing a script that includes a few newfs routines. In an attempt to
get newfs to run without end user input I tried:

newfs /dev/rrz24a << EOF
y
EOF

When I do this I see the message:

Warning: /dev/rrz24a is marked in use for 4.2BSD in the disklabel.
If you continue with the operation you can 
possibly destroy existing data.

however the prompt to continue never accepts the "y". The script continues
as if I said no. I get the same result even if I simply enter it at the
command line. Any thoughts on how I might get around this?

Thanks
:wq!
-m

Mark S. Yamnicky
mark.yamnicky@es.bss.boeing.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-04 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-04 21:29 newfs without confirmation Mark S. Yamnicky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox