unattended disk clone

S. Anthony Sequeira tony at sequeira.org.uk
Thu Nov 2 08:12:56 GMT 2006


On Wed, November 1, 2006 23:37, Chris Whitehouse said:
> Hi,
>
> I asked this question on questions@ but didn't get a reply so hoping
> my
> luck might be better here.
>
> I'm running dump/restore in a script to clone disks. For each
> partition
> restore stops and asks me if I want to
>
> set owner/mode for '.'? [y/n]
>
> Can I somehow avoid this prompt so that the script is completely
> automatic? I'm sure the answer ought to be simple and obvious but I
> can't see it.

Pipe 'yes' to your script or restore within the script.

man yes.
-- 
Tony





More information about the Ukfreebsd mailing list