Go Back   Velocity Reviews > Newsgroups > A+ Certification
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

A+ Certification - Re: memory stick problem creating folder or file

 
Thread Tools Search this Thread
Old 06-26-2007, 03:49 PM   #1
Default Re: memory stick problem creating folder or file


Possibly:

If is truly FAT12 or FAT16 (and NOT FAT32) you're dealing with a fixed
maximum number of root directory entries. This number is defined in the boot
sector. Now you may be tempted to just change that using a disk editor but
then you'll be overwriting data in the data area. + Your new root entries
may be overwritten at any time as the file system still thinks your root is
just x entries in size.

For FAT16 it is advised to maintain 512 entries (for compatibility reasons).
186 would be a weird number I have not seen before, but maybe there's more
files actually there in form of a bunch of hidden files in your root.

Anyway, all root dir entries used is the most plausible explanation I can
think of. Use something like Winhex to have a look at the boot sector to
determine the value. If you're a DOS fetishist you can also use our
DiskPatch.

--

Kind regards,
Joep - DIY DataRecovery.nl

http://www.diydatarecovery.nl

Important: When replying to this mail, please include previous
correspondence!

"Drew" <> schreef in bericht
news:...
>
> Hi All:
>
> I have a PNY 1 Gig memory stick that has always workedc great. Its
> formatted as FAT and was formatted this way from factory as I've never
> formatted it at all.
>
> I'm able to access all data on it with no problems and chkdsk reports
> no problems.
>
> In the root of the stick, I have 45 folders and 141 files.
>
> From the root, if I attempt to right click in Explorer and create a
> new folder or a new text file, I get: Unable to create the folder
> 'New Folder', The dcirectory or file cannot be created. Attempting to
> create a new text file gives a comparable error.
>
> However, if I go into any of the subfolders, I can create a new file
> or a folder within any of them with no problem.
>
> I just can't seem to add anything new to the root. Is there some
> limitation with FAT that could be causing this?
>
> Also, the memory stick is only using 452 MB with 509 MB free space
> remaining.
>
> Any help is appreciated!
>
> Drew
>
>





Joep
  Reply With Quote
Old 07-04-2007, 02:07 PM   #2
mhaase-at-springmind.com
 
Posts: n/a
Default Re: memory stick problem creating folder or file
On Tue, 26 Jun 2007 16:49:04 +0200, "Joep" <>
wrote:

>Possibly:
>
>If is truly FAT12 or FAT16 (and NOT FAT32) you're dealing with a fixed
>maximum number of root directory entries. This number is defined in the boot
>sector. Now you may be tempted to just change that using a disk editor but
>then you'll be overwriting data in the data area. + Your new root entries
>may be overwritten at any time as the file system still thinks your root is
>just x entries in size.
>
>For FAT16 it is advised to maintain 512 entries (for compatibility reasons).
>186 would be a weird number I have not seen before, but maybe there's more
>files actually there in form of a bunch of hidden files in your root.
>
>Anyway, all root dir entries used is the most plausible explanation I can
>think of. Use something like Winhex to have a look at the boot sector to
>determine the value. If you're a DOS fetishist you can also use our
>DiskPatch.



I'd second that suggestion. And re: 186 being a weird number - I
remember reading somewhere that long file names take up additional
entries, so the limit can be substantially lower than 512.

M




mhaase-at-springmind.com
  Reply With Quote
Old 07-27-2007, 10:05 PM   #3
Joep
 
Posts: n/a
Default Re: memory stick problem creating folder or file
"mhaase-at-springmind.com" <mhaase-at-springmind.com@> schreef in bericht
news:...
> On Tue, 26 Jun 2007 16:49:04 +0200, "Joep" <>
> wrote:
>
>>Possibly:
>>
>>If is truly FAT12 or FAT16 (and NOT FAT32) you're dealing with a fixed
>>maximum number of root directory entries. This number is defined in the
>>boot
>>sector. Now you may be tempted to just change that using a disk editor but
>>then you'll be overwriting data in the data area. + Your new root entries
>>may be overwritten at any time as the file system still thinks your root
>>is
>>just x entries in size.
>>
>>For FAT16 it is advised to maintain 512 entries (for compatibility
>>reasons).
>>186 would be a weird number I have not seen before, but maybe there's more
>>files actually there in form of a bunch of hidden files in your root.
>>
>>Anyway, all root dir entries used is the most plausible explanation I can
>>think of. Use something like Winhex to have a look at the boot sector to
>>determine the value. If you're a DOS fetishist you can also use our
>>DiskPatch.

>
>
> I'd second that suggestion. And re: 186 being a weird number - I
> remember reading somewhere that long file names take up additional
> entries, so the limit can be substantially lower than 512.
>
> M


Of course you're right, that's it - stupid of me, it has been a while since
I actually wrote code to parse directory structures. Indeed long filenames
occupy directory entries and depending on the lenght of the long filename
they often even use multiple directory entries. So with only room for 512
entries for the FAT16 file system this space is used up pretty quickly.

BTW PartitionMagic has been able for a long time to increase the size of the
root.
--

Kind regards,
Joep - DIY DataRecovery.nl

http://www.diydatarecovery.nl

Important: When replying to this mail, please include previous
correspondence!




Joep
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't delete file or folder? nork Software 1 11-02-2009 11:52 AM
Problem with compressed (zipped) folder application Barbara92021 Software 0 11-23-2006 09:30 PM
Problem logging into eBay after deleting all contents of Temp Folder - Help Needed! ruddy2000 General Help Related Topics 0 11-15-2006 12:30 PM
Re: Memory stick question Nildram A+ Certification 1 01-14-2004 02:41 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46