What are some guidelines for prototyping a file system?
I had a try in Python using fusepy , and now I'm curious:
In the long run, if a respectable file system implementation be in C? Will there be portability in C hamper or, ultimately, performance problems?
It is not necessary that there are many executable languages other than C (O'Caml, C ++ are the first ones that come to mind.) In fact, I expect NTFS to be written in C ++. The point is that you seem to come from a Linux background, and since the Linux kernel is written in C, any file system that hopes to be integrated with the kernel must also be written in C.
Are there other implementations like FUSE?
Windows, http://code.google.com/p/winflux/ http://dokan-dev.net/en/
, (fat32, ext3, ntfs, - ), ?
, Windows, Solaris ZFS, Linux ext4 btrfs. , , .
, ?
, , , , , .
, ( FUSE Mac), , , , (, , C). , , ( ) " ", . , Linux Minix ( CS, , Linus - Linus, , , ; -.)
- , , , "" - , Python, C ( -, FUSE, , Python). .
mock object API- . mmap 'd . :
mmap
Dear file systems will be fast and efficient. For Linux, this basically means writing to C, because you will not be serious if you do not spread with the kernel.
As for other tools like Fuse, there is MacFUSE , which will allow you to use the same code on macs as well as linux.
Source: https://habr.com/ru/post/1756687/More articles:пользовательская документация для кода С# - .netSQL Server 2005 One query to calculate two tables - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1756684/subclassing-surfaceview-and-overriding-ondraw-to-change-surfaceview-parameters-to-generate-preview-of-desired-size&usg=ALkJrhiswylbu5JpoGaSTCZr2fNl3mNcKQПравильный способ сохранения даты типа 1970 года - databaseКак разместить широкую фигуру с субфигурами в латексе? - latexDjango Hosting on a FastCGI Shared Host - djangoRails: Send a shrimp email to an email sent by ActionMailer? - ruby-on-railsHow to write content type in cakephp? - content-typeHow to determine the presence of Android Market on devices? - androidUsing AvalonEdit in Sharpdevelop 3.x - c #All Articles