Date: Fri, 4 Oct 2002 08:47:03 -0400 (EDT) From: Chris Vance <cvance@tislabs.com> To: Brian Feldman <green@freebsd.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 18562 for review Message-ID: <Pine.LNX.4.33.0210040843160.30849-100000@zorg.gw.tislabs.com> In-Reply-To: <200210022116.g92LG0VZ080199@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually I had it this way on purpose. In testing, not all filesystems will be mounted with extended attribute support (multilable). It seems unnecessary to make 100,000 calls to extattr_set_link() for those filesystems. Instead, label the system as: % sebsd_setfiles file_contexts / /home /usr/obj /usr/src chris. On Wed, 2 Oct 2002, Brian Feldman wrote: > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18562 > > Change 18562 by green@green_laptop_2 on 2002/10/02 14:15:51 > > It appears we really intend to label across filesystems, so > don't turn that off. > > Affected files ... > > .. //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#5 edit > > Differences ... > > ==== //depot/projects/trustedbsd/mac/sbin/sebsd_setfiles/setfiles.c#5 (text+ko) ==== > > @@ -395,7 +395,7 @@ > fclose(fp); > > /* Walk the file tree, calling apply_spec on each file. */ > - fts = fts_open(fts_path, FTS_PHYSICAL | FTS_XDEV, NULL); > + fts = fts_open(fts_path, FTS_PHYSICAL, NULL); > while ((ftsent = fts_read(fts))) { > apply_spec(ftsent); > } > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0210040843160.30849-100000>