A Silly Question about Extended Attributes

Hey guys,

I’m sure this has been addressed (as it seems like an obvious issue to
me), but I’ve been having trouble finding anything that tells me how to
do this. I’m writing a file driver that does not have any notion of EAS
and so I am wondering what is the “correct way” to tell Windows that my
file driver DOES NOT support EAS.

I’ve been trying to return EAS not supported when EA size is > 0 in my
Create. I’ve also tried to return STATUS_EAS_NOT_SUPPORTED when I get a
query of FileExtendedAttributes in QueryFileInformation. However, in
the latter case I’ve been having problems trying to open files in
notepad (returns an error of not supporting EAS – can’t I read and
write files in notepad without EAS support?) and in the former case I
still see Explorer requesting EA information from files it opens.

Any help on this would be greatly appreciated!

Sincerely,
Chris


Chris Sosa
Graduate Student
Virginia Center for Grid Research
University of Virginia
http://www.cs.virginia.edu/~cbs6n/

FAT32 does not support EA. I would suggest to look at FAT source and
implement the same response as FAT does when it handles FAT32 volumes. In
particular FAT does not fail QueryFileInformation - it reports that there is
no EA on the file.

Alexei.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Chris Sosa
Sent: Thursday, September 13, 2007 1:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] A Silly Question about Extended Attributes

Hey guys,

I’m sure this has been addressed (as it seems like an obvious issue to
me), but I’ve been having trouble finding anything that tells me how to
do this. I’m writing a file driver that does not have any notion of EAS
and so I am wondering what is the “correct way” to tell Windows that my
file driver DOES NOT support EAS.

I’ve been trying to return EAS not supported when EA size is > 0 in my
Create. I’ve also tried to return STATUS_EAS_NOT_SUPPORTED when I get a
query of FileExtendedAttributes in QueryFileInformation. However, in
the latter case I’ve been having problems trying to open files in
notepad (returns an error of not supporting EAS – can’t I read and
write files in notepad without EAS support?) and in the former case I
still see Explorer requesting EA information from files it opens.

Any help on this would be greatly appreciated!

Sincerely,
Chris


Chris Sosa
Graduate Student
Virginia Center for Grid Research
University of Virginia
http://www.cs.virginia.edu/~cbs6n/


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com