[parted-devel] libparted API nomenclature & code-repetition

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Sat Nov 11 00:29:33 CET 2006


Hello folks,

I just happened to notice that the names of some of the functions,
like the ones used to register/unregister file-systems and
disk-labels, do not follow a similar pattern. eg.,
ped_register_disk_type & ped_file_system_type_register, etc.. Maybe we
should gradually make sure that names follow a uniform pattern.

In certain places there is some unnecessary repetition of code. eg.,
the functions for registering/unregistering file-system types and
disk-label types perform the identical functions; the probe functions
are also similar in some cases. Maybe we should try remove some of
these repetitions in the near future.

What do you think?

Happy hacking,
Debarshi
-- 
"India is not, as people keep calling it, an underdeveloped country,
but rather a developed nation in an advanced state of decay."
--Shashi Tharoor



More information about the parted-devel mailing list