EldoS | Feel safer!

Software components for data protection, secure storage and transfer

NTFS

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#16772
Posted: 06/22/2011 01:12:56
by Pol R (Basic support level)
Joined: 06/22/2011
Posts: 10

Hi,
I'm using VDisk sample which create FAT32 Drive.

How can I create NTFS Drive using CBFS?
What is the maximum volume size that I can "simulate" with CBFS?

Thanks,
Pol
#16774
Posted: 06/22/2011 02:48:21
by Volodymyr Zinin (EldoS Corp.)

Hello Pol,

Call CallbackFS.SetFileSystemName("NTFS"). In addition it's better to implement the additional named stream support (see the callback OnEnumerateNamedStreams) and security (see the callbacks OnSetFileSecurity and OnGetFileSecurity). Although in most cases it will work and without these callbacks.
#16775
Posted: 06/22/2011 04:19:08
by Pol R (Basic support level)
Joined: 06/22/2011
Posts: 10

Thanks,
I will check it.

Do you have maximum size for the file system that I can implement with CBFS?
#16776
Posted: 06/22/2011 04:34:44
by Volodymyr Zinin (EldoS Corp.)

No
#16777
Posted: 06/22/2011 05:35:49
by Eugene Mayevski (EldoS Corp.)

Note, that some applications [mainly by Microsoft], when they see "NTFS" as a file system name, start sending it certain private and undocumented requests which we can't handle, and the applications don't expect those requests to be unhandled and misbehave. So you should be careful with emulating NTFS.


Sincerely yours
Eugene Mayevski
#16779
Posted: 06/22/2011 05:48:44
by Pol R (Basic support level)
Joined: 06/22/2011
Posts: 10

Hi,
So what do you recommend?
Can I use something else? Can I emualte something like NFS,CIFS which have simpler API.
I want to use it as MSSQL server backup Drive and it need to be bigger than 4 GB.

How can I monitor and see if I got these undocumented calls?

Thanks,
#16780
Posted: 06/22/2011 06:11:22
by Volodymyr Zinin (EldoS Corp.)

You can check the work with the CallbackFS Mapper sample. It just shows a folder as a virtual disk. So just specify a folder on a physical disk which has more than 4Gb free space. First use the default name (i.e. "FAT32") and if it doesn't work then check the "NTFS" name.
#16781
Posted: 06/22/2011 06:14:32
by Eugene Mayevski (EldoS Corp.)

You can also set custom name. Windows won't start applications from such file system (if memory serves) but you don't need this, as I understood.


Sincerely yours
Eugene Mayevski
#26314
Posted: 09/04/2013 22:54:04
by mzgcz (Basic support level)
Joined: 09/03/2013
Posts: 8

Hello, I want to create NTFS Drive.
I know I need use SetFileSystemName(L"NTFS") funtion, but where it go?
I used the fuse interface.
#26315
Posted: 09/05/2013 01:12:14
by Eugene Mayevski (EldoS Corp.)

There's no option to set a filesystem name in FUSE interface.

If you need all capabilities of CBFS, please use one of its native interfaces. FUSE interface is limited to features of linux FUSE and we won't extend it beyond this feature set.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 2270 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!