USB Thumbdrives

hi,

i am doing an encryption FSFD that will also handle removable media on
Windows XP.

i have encountered a case where a USB thumbdrive after using with my FSFD,
seems to have lost its Mass Storage Devices. That is, i cannot find this
item in Computer Management under USB Controllers.

is there any possibility that my FSFD has encrypted any USB related files on
the thumbdrive?

thanks.

Ampsi

hi,

for my previous question below, i think the answer is the USB thumb drive
has somehow been short circuited… such that its circuitry is returning the
wrong info.

anyway, i have encountered another USB thumb drive problem. the symptom is
that the files originally on the drive has disappeared and i cannot create
any files on the thumb drive. the error returned for the creation if
STATUS_CANNOT_MAKE. using a tool to look at the root directory entries, i
discovered that it has been populated with files having one common funny
name, size of -1 and all attributes set. so i deduce that the root directory
structure has been screwed up with entries of FF and maxed up to the limit
of entries for the directory.

could my encryption FSFD have encrypted the root directory? i am handling
create, close, read, write, directory control, fs control, dev control, set,
query and lock. can a directory be read and written with read and write
requests?

is there any doc that i can read to know what are the system files stored on
the root of volumes, like $MFT? i am already skipping encryption for a list
of such files listed in MSDN for NTFS, but i don’t know if the list applies
to FAT or FAT32 as well…

thanks.

Ampsi

----- Original Message -----
From: “Ampsi”
To: “File Systems Developers”
Sent: Monday, August 18, 2003 13:36
Subject: [ntfsd] USB Thumbdrives

hi,

i am doing an encryption FSFD that will also handle removable media on
Windows XP.

i have encountered a case where a USB thumbdrive after using with my FSFD,
seems to have lost its Mass Storage Devices. That is, i cannot find this
item in Computer Management under USB Controllers.

is there any possibility that my FSFD has encrypted any USB related files on
the thumbdrive?

thanks.

Ampsi


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

“Ampsi” wrote in message news:xxxxx@ntfsd…
>
>
> STATUS_CANNOT_MAKE. using a tool to look at the root directory entries, i
> discovered that it has been populated with files having one common funny
> name, size of -1 and all attributes set. so i deduce that the root
directory
> structure has been screwed up with entries of FF and maxed up to the limit
> of entries for the directory.
>

I’m thinkin’ that when you read-back all 0xFFs, the device itself is not
working properly.

Did you try another copy of the same type of device? Remember, these thumb
drives are nothing more than flash ram. They DO (a) have a finite useful
life, (b) malfunction.

Peter
OSR

actually this is the second of the same type of device. the first one
encountered the problem i mentioned in my first email, which i suspect is a
matter of short circuit, as it returns the wrong type of device and it is
asking for a very high current.

for the current one, the 0xFFs i read back seems only in the root directory
area of the volume as the first sector seems ok. after a format, i can use
the thumbdrive again.

is there a possibilty that a sudden unplug of such devices from the computer
will cause such a problem? i think i have encountered losing files on
another thumbdrive when i pull out the drive w/o using the safe removal
feature.

Ampsi

----- Original Message -----
From: “Peter Viscarola”
Newsgroups: ntfsd
To: “File Systems Developers”
Sent: Wednesday, September 03, 2003 19:58
Subject: [ntfsd] Re: USB Thumbdrives

“Ampsi” wrote in message news:xxxxx@ntfsd…
>
>
> STATUS_CANNOT_MAKE. using a tool to look at the root directory entries, i
> discovered that it has been populated with files having one common funny
> name, size of -1 and all attributes set. so i deduce that the root
directory
> structure has been screwed up with entries of FF and maxed up to the limit
> of entries for the directory.
>

I’m thinkin’ that when you read-back all 0xFFs, the device itself is not
working properly.

Did you try another copy of the same type of device? Remember, these thumb
drives are nothing more than flash ram. They DO (a) have a finite useful
life, (b) malfunction.

Peter
OSR


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