support for ext4 filesystem
I need to write a backup/restore utility for Linux. Even the ext4 file-system will be supported. While I download Fedora 11 using the ext4 file-system I had a question.
Will the existing API's on Linux support ext4 or the new kernel has a different set of API's to identify the ext4 file-system ? This is because I would be building the binaries on an older kernel version
As far as I know, you won't even need to "know" that ext4 is the underlying filing system...
I. e. if your binary runs in a kernel that has ext4 support, and that kernel is running in a system that has drives formatted as ext4, the kernel will read and write, as ext4, whatever your binary tells it to read and write. That's the point of the operating system - it does the nitty gritty of managing diskspace for you (among many, many other things - memory, interrupts, basic I/O, etc.).
So unless you want to do something very weird or very specialised, or you will be working with file sizes or directory structures in the terabyte size range, you can just write your app and forget about what exact underlying filing system it is going to have to work with - since the Linux kernel does that for you already...?
As part of supporting ext4 filesystem, I need to identify it as an ext4 FS and then proceed with backup/restore.
Now that it supports very very large files, I too need to support backup/restore of those.
Hence, I wanted to know if the existing API's will identify it.
|All times are GMT -5. The time now is 06:31 PM.|