Subject: Re: bin/24690: have restore automatically set owner/mode without prompting
To: None <vax@linkdead.gangsta.local>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/08/2004 00:03:14
On Sat, Mar 06, 2004 at 03:37:59PM -0500, vax@carolina.rr.com wrote:
> restore -x and restore -i insist on interactive prompting
> >How-To-Repeat:
> 	
> I'm not exactly sure when it prompts, there's some code about it being the
> root inode, but it seems to do so every time I use restore -i or restore -x
> 
> This is particularly annoying when I'm using a long-running
> "dump | restore" pipeline since this prompt punctuates the middle of a long
> process.
> [...]
>  Do not perform actual writing to disk.
> +.It Fl o
> +Set owner/mode without asking.

I'm not sure we need a new option for this. I think that restore -i should
ask it, and restore -x should not.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--