Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261905AbVACVbt (ORCPT ); Mon, 3 Jan 2005 16:31:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261888AbVACV2r (ORCPT ); Mon, 3 Jan 2005 16:28:47 -0500 Received: from rwcrmhc13.comcast.net ([204.127.198.39]:16374 "EHLO rwcrmhc13.comcast.net") by vger.kernel.org with ESMTP id S261867AbVACVYM (ORCPT ); Mon, 3 Jan 2005 16:24:12 -0500 Subject: Re: [PATCH] get/set FAT filesystem attribute bits From: Nicholas Miell To: "H. Peter Anvin" Cc: hirofumi@mail.parknet.co.jp, linux-kernel@vger.kernel.org, Andrew Morton In-Reply-To: <41D9B1C4.5050507@zytor.com> References: <41D9B1C4.5050507@zytor.com> Content-Type: text/plain Date: Mon, 03 Jan 2005 13:24:07 -0800 Message-Id: <1104787447.3604.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3.njm.1) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 867 Lines: 34 On Mon, 2005-01-03 at 12:57 -0800, H. Peter Anvin wrote: > This patch adds a set of ioctls to get and set the FAT filesystem native > attribute bits, including the unused bits (6 and 7.) > Instead of adding another ioctl, wouldn't an xattr be more appropriate? For instance, system.fatattrs containing a text representation of the attribute bits. i.e. a = archive d = directory h = hidden r = read only s = system v = volume 6 = unused bit 6 7 = unused bit 7 and bash-3.00$ getfattr -n system.fatattrs dosfile.txt # file: dosfile.txt system.fatattrs="ar" bash-3.00$ -- Nicholas Miell - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/