[Parted-edge] VFS layer

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Thu Feb 22 19:53:29 UTC 2007


This is about the VFS layer we are planning for Parted 2.0. I find that the
current libparted code already has the foundations of a VFS infrastructure. The
PedFileSystem, PedFileSystemType, PedPartition, PedPartitionType, etc.
structures and enumerators abstract away the implementation details of every
file system, file system type, partition, partition-type, etc. respectively.
However we do not have an API to retrieve or modify the information kept in
these structures.

Such a set-up works as long as the underlying structures are simple and not
changing too often. It becomes very cumbersome when one wants to access some
information that is kept in the "void *type_specific" or "void *disk_specific"
part of these structures, because the format of these fields are dependent on
the underlying file system or disk label. The 'volume name' is an example of
one such piece of information.

Therefore what I think is that we need to write API functions to complete this
existing VFS layer, and do it in such a way that we can use externally
available libraries too.

I am afraid that most of this might already be obvious to you, but this would
help me to shed any misconceptions I might be having.

Happy hacking,
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-edge/attachments/20070223/d3d3e9cf/attachment.pgp

More information about the Parted-edge mailing list