![]() |
|
|
|||||||
![]() |
A+ Certification - Re: memory stick problem creating folder or file |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
"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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |