label recognition for partitions

pritam.ghanghas at gmail.com pritam.ghanghas at gmail.com
Wed Sep 5 01:29:33 PDT 2012


Hi

I cloned udisks code and started digging "how udisk
does it." But I am not able to find out from the code "how it does that". I
am hoping someone more familiar with the code base can
help me out here.

A little bit of history on my requirement:

I have an embedded device where I don't have udisks and related libs
available but I have mdev.
I was doing automouting with mdev. It works very well but I want to know
the fs labels of the
partitions that I am mouting so that mount points are a lot more
meaningful. On my desktop I see that udisks
does it automatically. I looked around on net and saw that
for linux partitions I need e2label
for fat, mtools
for ntfs, ntfstools

that is too many tools for a simple job. Then I thought let me write some
quick code to recognize that but it seems
information about how to retrieve those is not avaialbel easily. Then I
turned to udisks. I don't want to stuff all of udisks
dependencies in there for such a small task.

-- 
pritam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20120905/71644d54/attachment.html>


More information about the devkit-devel mailing list