Notepad error with FSD?

Hi all,

I’m writing a file system, and testing using Notepad.exe. When creating a
new file, a la “notepad newfile.txt”, notepad then asks me if I want to
create a new file. I click OK, and then I get an error popup stating “Not
enough storage is available to process this command.” Before this error,
notepad has asked the file system for a FileStandardInformation. It seems
to be happening when notepad tries to create a section for the file. In
comparing with FAT using filemon and the debugger, everything seems
identical. Does anyone know what might be causing notepad to have this
error?

Thanks,
Matt

Do you set up FileObject->SectionObjectPointers? If not, notepad’s
attempt to map is failing.

As far as I can tell, quite a large number of errors are converted into
“out of space” (I keep running into this on FAT with the 4GB file limit.
That gets translated back into “no more disk space”). I think that’s
part of the Win32 error model - report one or two error codes back to
the user since the experienced user will know what’s wrong… :wink:

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 1:00 PM
To: ntfsd redirect
Subject: [ntfsd] Notepad error with FSD?

Hi all,

I’m writing a file system, and testing using Notepad.exe. When creating
a
new file, a la “notepad newfile.txt”, notepad then asks me if I want to
create a new file. I click OK, and then I get an error popup stating
“Not
enough storage is available to process this command.” Before this
error,
notepad has asked the file system for a FileStandardInformation. It
seems
to be happening when notepad tries to create a section for the file. In
comparing with FAT using filemon and the debugger, everything seems
identical. Does anyone know what might be causing notepad to have this
error?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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

If anybody cares, it resulted from a STATUS_SECTION_TOO_BIG.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tony Mason
Sent: Wednesday, July 06, 2005 1:06 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Notepad error with FSD?

Do you set up FileObject->SectionObjectPointers? If not, notepad’s attempt
to map is failing.

As far as I can tell, quite a large number of errors are converted into “out
of space” (I keep running into this on FAT with the 4GB file limit.
That gets translated back into “no more disk space”). I think that’s
part of the Win32 error model - report one or two error codes back to the
user since the experienced user will know what’s wrong… :wink:

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 1:00 PM
To: ntfsd redirect
Subject: [ntfsd] Notepad error with FSD?

Hi all,

I’m writing a file system, and testing using Notepad.exe. When creating a
new file, a la “notepad newfile.txt”, notepad then asks me if I want to
create a new file. I click OK, and then I get an error popup stating “Not
enough storage is available to process this command.” Before this error,
notepad has asked the file system for a FileStandardInformation. It seems
to be happening when notepad tries to create a section for the file. In
comparing with FAT using filemon and the debugger, everything seems
identical. Does anyone know what might be causing notepad to have this
error?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Ah, so then the next question would be “how big are you reporting the
size of the file?” Mm does get upset about section size under some
circumstances. For example, make sure you are reporting the size
correctly to both the application and memory manager.

The sequence (of operations) would be the same but the data returned
might be different.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 3:44 PM
To: ntfsd redirect
Subject: RE: [ntfsd] Notepad error with FSD?

If anybody cares, it resulted from a STATUS_SECTION_TOO_BIG.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tony Mason
Sent: Wednesday, July 06, 2005 1:06 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Notepad error with FSD?

Do you set up FileObject->SectionObjectPointers? If not, notepad’s
attempt
to map is failing.

As far as I can tell, quite a large number of errors are converted into
“out
of space” (I keep running into this on FAT with the 4GB file limit.
That gets translated back into “no more disk space”). I think that’s
part of the Win32 error model - report one or two error codes back to
the
user since the experienced user will know what’s wrong… :wink:

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 1:00 PM
To: ntfsd redirect
Subject: [ntfsd] Notepad error with FSD?

Hi all,

I’m writing a file system, and testing using Notepad.exe. When creating
a
new file, a la “notepad newfile.txt”, notepad then asks me if I want to
create a new file. I click OK, and then I get an error popup stating
“Not
enough storage is available to process this command.” Before this
error,
notepad has asked the file system for a FileStandardInformation. It
seems
to be happening when notepad tries to create a section for the file. In
comparing with FAT using filemon and the debugger, everything seems
identical. Does anyone know what might be causing notepad to have this
error?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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

Tony you are right… I was basically reporting the file size incorrectly.

Matt

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tony Mason
Sent: Wednesday, July 06, 2005 4:00 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Notepad error with FSD?

Ah, so then the next question would be “how big are you reporting the
size of the file?” Mm does get upset about section size under some
circumstances. For example, make sure you are reporting the size correctly
to both the application and memory manager.

The sequence (of operations) would be the same but the data returned might
be different.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 3:44 PM
To: ntfsd redirect
Subject: RE: [ntfsd] Notepad error with FSD?

If anybody cares, it resulted from a STATUS_SECTION_TOO_BIG.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tony Mason
Sent: Wednesday, July 06, 2005 1:06 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Notepad error with FSD?

Do you set up FileObject->SectionObjectPointers? If not, notepad’s attempt
to map is failing.

As far as I can tell, quite a large number of errors are converted into “out
of space” (I keep running into this on FAT with the 4GB file limit.
That gets translated back into “no more disk space”). I think that’s
part of the Win32 error model - report one or two error codes back to the
user since the experienced user will know what’s wrong… :wink:

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Wednesday, July 06, 2005 1:00 PM
To: ntfsd redirect
Subject: [ntfsd] Notepad error with FSD?

Hi all,

I’m writing a file system, and testing using Notepad.exe. When creating a
new file, a la “notepad newfile.txt”, notepad then asks me if I want to
create a new file. I click OK, and then I get an error popup stating “Not
enough storage is available to process this command.” Before this error,
notepad has asked the file system for a FileStandardInformation. It seems
to be happening when notepad tries to create a section for the file. In
comparing with FAT using filemon and the debugger, everything seems
identical. Does anyone know what might be causing notepad to have this
error?

Thanks,
Matt


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com