tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Mark S. Yamnicky" <marco () nirvana ! ES ! bss ! boeing ! com>
To: tru64-unix-managers
Subject: newfs without confirmation
Date: Thu, 04 Apr 2002 21:29:00 +0000	[thread overview]
Message-ID: <102653755322217.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2002-04-04 21:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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