[Gluster-users] Getting md5 check of a file through libglusterfs

Dongmin Yu min at hostway.co.kr
Sat Jan 23 06:13:56 UTC 2010


I just want to list name of files and m5 checksum in a directory as a tabular format.

For example,

my_file01.txt   50K         870982349afcxdsaffg
my_file02.jpg 100K        098132706adsfadsffs

I could get filenames and size thorugh glusterfs_readdir and glusterfs_stat. But I couldn't find easy way to get md5 checksum of a file.

Dong min

From: Tejas N. Bhise
Sent: 2010-01-23 (토) 오후 5:36
To: Dongmin Yu
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] Getting md5 check of a file through libglusterfs

Hi Dongmin,

Can you elaborate what what you are trying to achieve so we get a better understanding of the problem.


----- Original Message -----
From: "Dongmin Yu" <min at hostway.co.kr>
To: gluster-users at gluster.org
Sent: Saturday, January 23, 2010 1:57:09 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: [Gluster-users] Getting md5 check of a file through libglusterfs




Is there an easier way to get md5 checksum of a file through

Sure we could get this value with a standard md5sum command line on the
fuse mounted system. If I read all the contents and calculate md5
checksum, it would be very time/network consuming job.




DongMin Yu


HOSTWAY IDC Corp. / R&D Principal Researcher

TEL. +822 2105 6037

FAX. +822 2105 6019

CELL. +8216 2086 1357

EMAIL: min.yu at hostwaycorp.com 

Website: http://www.hostway.com 


NOTICE:  This email and any file transmitted are confidential and/or
legally privileged and intended only for the person(s) directly
addressed.  If you are not the intended recipient, any use, copying,
transmission, distribution, or other forms of dissemination is strictly
prohibited.  If you have received this email in error, please notify the
sender immediately and permanently delete the email and files, if any.

Gluster-users mailing list
Gluster-users at gluster.org

More information about the Gluster-users mailing list