From gpalmer@orion.webspan.net  Tue Oct  1 00:14:25 1996
Received: from mail2.webspan.net (mail2.webspan.net [206.154.70.7])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA02595
          for <freebsd-gnats-submit@freebsd.org>; Tue, 1 Oct 1996 00:14:22 -0700 (PDT)
Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) 
          by mail2.webspan.net (8.7.5/8.7.3) with ESMTP id DAA02473
          for <freebsd-gnats-submit@freebsd.org>; Tue, 1 Oct 1996 03:00:35 -0400 (EDT)
Received: from localhost (gpalmer@localhost [127.0.0.1]) 
          by orion.webspan.net (8.7.5/8.6.12) with SMTP id DAA20000
          for <freebsd-gnats-submit@freebsd.org>; Tue, 1 Oct 1996 03:00:25 -0400 (EDT)
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.18]) 
          by orion.webspan.net (8.7.5/8.6.12) with ESMTP id CAA19617
          for <gpalmer@webspan.net>; Tue, 1 Oct 1996 02:55:52 -0400 (EDT)
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id XAA01674;
          Mon, 30 Sep 1996 23:55:50 -0700 (PDT)
Message-Id: <199610010655.XAA01674@freefall.freebsd.org>
Date: Mon, 30 Sep 1996 23:55:50 -0700 (PDT)
From: graphix@iastate.edu
To: freebsd-gnats-submit@freebsd.org
Subject: 'ls -lo' does not list opaque flag (chflags does not allow a user to change this flag)
X-Send-Pr-Version: www-1.0

>Number:         1700
>Category:       bin
>Synopsis:       'ls -lo' does not list opaque flag (chflags does not allow a user to change this flag)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  1 00:20:01 PDT 1996
>Closed-Date:    Sat Dec 14 11:33:33 PST 1996
>Last-Modified:  Sat Dec 14 11:34:52 PST 1996
>Originator:     Kent Vander Velden
>Release:        -current
>Organization:
Iowa State University
>Environment:
FreeBSD pseudo.cc.iastate.edu 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sun Sep 22 00:08:01 CDT 1996     root@pseudo.cc.iastate.edu:/usr/src/sys/compile/PSEUDO  i386

>Description:
I am not competely certain if this is a problem but 'ls -lo' does not
list the state of the opaque flag on files.  Our chflags also does not
allow a person to set this flag.  Our include file sys/stat.h makes
a refernce to it implying perhaps that ls and chflags should know about 
it.
>How-To-Repeat:


>Fix:
This patch (from comparing NetBSD's) to src/bin/ls/stat_flags.c 
should fix ls and chflags.  The man pages to these two programs 
will need to have a line added as well though.

src|Tue1:44am} cvs diff -r HEAD bin/ls/stat_flags.c
Index: bin/ls/stat_flags.c
===================================================================
RCS file: /usr/FreeBSD-CVS/src/bin/ls/stat_flags.c,v
retrieving revision 1.2
diff -r1.2 stat_flags.c
73a74,75
>       if (flags & UF_OPAQUE)
>               SAPPEND("opaque");
129a132,134
>                       return (1);
>               case 'o':
>                       TEST(p, "opaque", UF_OPAQUE);

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Dec 14 11:33:33 PST 1996 
State-Changed-Why:  
The kernel does not currently support opaque files, so updating  
ls and chflags to know about them doesn't gain you 
anything at the moment. 
>Unformatted:
