Turning off file flags during restore

David Kirchner dpk at dpk.net
Tue Aug 30 16:31:01 GMT 2005

On 8/30/05, Freminlins <freminlins at gmail.com> wrote:
> -rw-r--r-- 1 www www schg 73 Jul 27 22:04 foo.txt
> I understand that some of the attributes on the NetApp may be confusing
> restore. I don't really have a problem with that. Is there a way to not set
> the file flags during restore? I don't really want to chflag a few million
> files if I don't have to. Also, of course, changing the flags updates the
> file's ctime.

There doesn't appear to be a way to avoid this with restore,
unfortunately. It performs the chflags() call immediately after
setting the file times, without any conditional to avoid it.

More information about the freebsd-questions mailing list