Subject: Re: pkg/21228: work directories are getting included in backups
To: None <rneswold@earthlink.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 04/18/2003 10:03:47
On Fri, 18 Apr 2003 rneswold@earthlink.net wrote:

> +.if defined(CHFLAGS)
> +	${_PKG_SILENT}${_PKG_DEBUG}${CHFLAGS} nodump ${WRKDIR}
> +.endif

Just to let you know, pkgsrc is being used more and more on non-NetBSD
platforms which may not offer filesystems that support the "no dump"
attribute. I use it on many Linux systems (without any chflags)

Linux uses chattr(1) for setting filesystem attributes. And it uses "+d"
to set this.

I do agree that backing up the work directories is usually not needed. I
have been using WRKOBJDIR to use /usr/tmp/pkgsrc for my work.

   Jeremy C. Reed
   http://bsd.reedmedia.net/