Like that take advantage of reserved-area in inode of UNIX, LINUX, I want
to use reserved-area(Unused Areas) in NTFS/FAT32/FAT file system.
That is, among the fields that are storing information(location, size,
date, characteristic etc.) of each file, I try to note down
specific-content(for example, file access withdrawal) in reserved-area
which is not in use and try to read specific-content later.
But I don’t know that this reserved-area exist in NTFS/FAT32/FAT file
system.
I must make reserved-area if do not exist.
I want to make Kernel-Mode-Driver which achieve these work.
So, I want to ask a question about next three.
- If i make File-System-Filter-Driver, is this work possible?
- Among the fields which store information of each file, reserved-area
exist? Then, How can i use it?
- If reserved-area do not exist, it is possible to create reserved-area?
How must i do if possible?
I desire that you spend delightful day.
Sincerely
Chang Sung. Jung
You may be able to use “reparse points” in NTFS 5. I don’t know about
FAT/FAT32, though. But if you do anything non-standard with a
filesystem, your extra information could be lost after restoration from
a backup, since the backup software probably isn’t aware of said extra
information.
Chuck
----- Original Message -----
From: “Chang Sung. Jung”
To: “NT Developers Interest List”
Sent: Thursday, September 26, 2002 1:24 PM
Subject: [ntdev] How to use “unused areas”.
> Like that take advantage of reserved-area in inode of UNIX, LINUX, I
want
> to use reserved-area(Unused Areas) in NTFS/FAT32/FAT file system.
> That is, among the fields that are storing information(location, size,
> date, characteristic etc.) of each file, I try to note down
> specific-content(for example, file access withdrawal) in reserved-area
> which is not in use and try to read specific-content later.
> But I don’t know that this reserved-area exist in NTFS/FAT32/FAT file
> system.
> I must make reserved-area if do not exist.
> I want to make Kernel-Mode-Driver which achieve these work.
>
> So, I want to ask a question about next three.
>
> 1. If i make File-System-Filter-Driver, is this work possible?
> 2. Among the fields which store information of each file,
reserved-area
> exist? Then, How can i use it?
> 3. If reserved-area do not exist, it is possible to create
reserved-area?
> How must i do if possible?
>
> I desire that you spend delightful day.
>
> Sincerely
> Chang Sung. Jung
with NTFS you could always store your metadata in an alternate stream in
the file.
-p
-----Original Message-----
From: Chuck Batson [mailto:xxxxx@cbatson.com]
Sent: Thursday, September 26, 2002 9:39 AM
To: NT Developers Interest List
Subject: [ntdev] Re: How to use “unused areas”.
You may be able to use “reparse points” in NTFS 5. I don’t know about
FAT/FAT32, though. But if you do anything non-standard with a
filesystem, your extra information could be lost after restoration from
a backup, since the backup software probably isn’t aware of said extra
information.
Chuck
----- Original Message -----
From: “Chang Sung. Jung”
To: “NT Developers Interest List”
Sent: Thursday, September 26, 2002 1:24 PM
Subject: [ntdev] How to use “unused areas”.
> Like that take advantage of reserved-area in inode of UNIX, LINUX, I
want
> to use reserved-area(Unused Areas) in NTFS/FAT32/FAT file system. That
> is, among the fields that are storing information(location, size,
> date, characteristic etc.) of each file, I try to note down
> specific-content(for example, file access withdrawal) in reserved-area
> which is not in use and try to read specific-content later. But I
> don’t know that this reserved-area exist in NTFS/FAT32/FAT file
> system. I must make reserved-area if do not exist.
> I want to make Kernel-Mode-Driver which achieve these work.
>
> So, I want to ask a question about next three.
>
> 1. If i make File-System-Filter-Driver, is this work possible? 2.
> Among the fields which store information of each file,
reserved-area
> exist? Then, How can i use it?
> 3. If reserved-area do not exist, it is possible to create
reserved-area?
> How must i do if possible?
>
> I desire that you spend delightful day.
>
> Sincerely
> Chang Sung. Jung
—
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%
> Like that take advantage of reserved-area in inode of UNIX, LINUX, I want
to use reserved-area(Unused Areas) in NTFS/FAT32/FAT file system.
That is, among the fields that are storing information(location, size,
date, characteristic etc.) of each file, I try to note down
specific-content(for example, file access withdrawal) in reserved-area
which is not in use and try to read specific-content later.
But I don’t know that this reserved-area exist in NTFS/FAT32/FAT file
system.
I must make reserved-area if do not exist.
I want to make Kernel-Mode-Driver which achieve these work.
So, I want to ask a question about next three.
- If i make File-System-Filter-Driver, is this work possible?
- Among the fields which store information of each file, reserved-area
exist? Then, How can i use it?
- If reserved-area do not exist, it is possible to create reserved-area?
How must i do if possible?
I desire that you spend delightful day.
Sincerely
Chang Sung. Jung
First if at all possible, limit your project to NTFS volumes.
There is no easy way to do this in FAT or FAT32, basically
you should not assume there is any “unused field” in a Windows
file system.
What there is available for NTFS data files are streams and
extended attributes. These will allow you to associate data
with a file.
Don Burn
Egenera, Inc
> That is, among the fields that are storing information(location,
size,
date, characteristic etc.) of each file, I try to note down
specific-content(for example, file access withdrawal) in
reserved-area
which is not in use and try to read specific-content later.
But I don’t know that this reserved-area exist in NTFS/FAT32/FAT
file
And now the command-line sample of this (w2k SP2, “cat” is GNU tool
ported to pure Win32 by me):
C:\>echo aaa > t.txt
C:\>echo bbb >> t.txt
C:\>type t.txt
aaa
bbb
C:\>echo ccc >> t.txt:Second:$DATA
C:\>cat t.txt
aaa
bbb
C:\>cat t.txt:Second:$DATA
ccc
Note it is not even necessary to write C code to use the feature.
Max
> Like that take advantage of reserved-area in inode of UNIX, LINUX, I
want
to use reserved-area(Unused Areas) in NTFS/FAT32/FAT file system.
That is, among the fields that are storing information(location,
size,
date, characteristic etc.) of each file, I try to note down
specific-content(for example, file access withdrawal) in
reserved-area
which is not in use and try to read specific-content later.
But I don’t know that this reserved-area exist in NTFS/FAT32/FAT
file
system.
Does not exist in FAT.
NTFS, in turn, has a very much advanced mechanism for this, which is
more robust then the fragile UNIX approach described by you, since the
UNIX approach will not allow 2 apps using it to co-exist on the same
volume.
The NTFS’s approach is called “alternate data streams”, and is
described on MSDN Library.
I want to make Kernel-Mode-Driver which achieve these work.
You do not need a kernel mode driver to do this on NTFS, though you
can consider development of the filter which will implement the same
on FAT, storing the alternate streams in some special files of your
own, for instance.
Max