Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion FAT, NTFS, CIFS and DOS attributes
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
H. Peter Anvin  
View profile  
 More options Jan 3 2005, 5:46 pm
Newsgroups: fa.linux.kernel
From: "H. Peter Anvin" <h...@zytor.com>
Date: Mon, 3 Jan 2005 22:46:09 GMT
Local: Mon, Jan 3 2005 5:46 pm
Subject: FAT, NTFS, CIFS and DOS attributes
Hello all,

I recently posted to LKML a patch to get or set DOS attribute flags for
fatfs.  That patch used ioctl().  It was suggested that a better way
would be using xattrs, although the xattr mechanism seems clumsy to me,
and has namespace issues.

I also think it would be good to have a unified interface for FAT, NTFS
and CIFS for these attributes.

I noticed that CIFS has a placeholder "user.DosAttrib" in cifs/xattr.c,
although it doesn't seem to be implemented.

Questions:

a) is xattr the right thing?  It seems to be a fairly complex and
ill-thought-out mechanism all along, especially the whole namespace
business (what is a system attribute to one filesystem is a user
attribute to another, for example.)

b) if xattr is the right thing, shouldn't this be in the system
namespace rather than the user namespace?

c) What should the representation be?  Binary byte?  String containing a
subset of "rhsvda67" (barf)?

        -hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google