From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 19 04:48:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B6B716A4CE for ; Sat, 19 Jun 2004 04:48:01 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE90543D1F for ; Sat, 19 Jun 2004 04:48:00 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i5J4la90038553 for ; Fri, 18 Jun 2004 21:47:36 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <40D3C568.7030407@freebsd.org> Date: Fri, 18 Jun 2004 21:47:36 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: NTFS and file flags X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 04:48:01 -0000 I'm confused. I've noticed that files on ntfs mounts can provide 0x800 (IN_HASHED) or 0x8000 (IN_LOADED) in the st_flags field returned from stat(2). Why? These bits aren't documented in sys/stat.h and aren't recognized in any current utility as far as I can tell. Is there any reason they should be exposed to user space? If they do need to be exposed to user space, shouldn't they be at least documented in sys/stat.h? Tim