LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-24-2004, 09:23 AM   #1
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Rep: Reputation: 15
Mount Gmail-like account as drive


Hey all,

I got a question for you. Everybody has heard of Gmail by now, and most people should know that you are able to mount Gmail like a drive if your running linux (see GmailFS for details). I heard through word of mouth about this other service given by HRiders which offers 1 TB of space. Yes, you heard me right, 1 TB. That means roughly 1000 gigs, 1024 to be exact. I was wondering if there was a way to mount this account as a drive kinda like the same way you can do it with Gmail. Maybe someone already knows of a way to do this, or some code will have to be written for this to be possible. If it is the second answer could someone point me in the right direction of accomplishing this? If it can be done through C++, Java, or VB I might have a chance to doing it with some help.

Happy Holidays!

Last edited by snutz411; 12-24-2004 at 09:34 AM.
 
Old 12-24-2004, 11:03 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
As far as I remember, the GmailFS programming was done with Perl or Python. At a guess, if you wanted to do something similar, you'd need to amend or create a program in those languages.
 
Old 12-24-2004, 11:31 AM   #3
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
gmailfs isnt really anything special. All it does is send and check emails, the subject is the relevant filesystem information, the attachment is the file content. So yes, as long as you have a way to send and check email (libgmail, for example, which is what gmailfs used), then it should be fairly straightforward.
 
Old 12-24-2004, 11:32 AM   #4
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
So I would have to mod the source code to fit the servers that HRiders.com uses, and play around in python. Do you think that its worth trying something like this? How many people would find this useful? I think I might read on how the guy wrote GmailFS, and attempt this. If anyone is interested in helping out, drop a post.
 
Old 12-24-2004, 12:19 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Wow!
Quote:
Account Size: 0.0 Mb
107374182.4 Mb Limit
 
Old 12-24-2004, 01:59 PM   #6
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
Did anyone end up creating an account because of this thread?
 
Old 12-24-2004, 05:56 PM   #7
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
hah, I did. I still dont believe it though, wont untill I see one TB of mail there. Thats why I think they can do this, nobody is going to fill it up, I know of few people filling up even thier gmail accounts...
 
Old 12-24-2004, 05:58 PM   #8
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
Quote:
Originally posted by snutz411
So I would have to mod the source code to fit the servers that HRiders.com uses, and play around in python. Do you think that its worth trying something like this? How many people would find this useful? I think I might read on how the guy wrote GmailFS, and attempt this. If anyone is interested in helping out, drop a post.
That would own. In fact, you dont need to touch gmailfs. All you need to do is write your own library for checking and modifying mail. Gmailfs didnt do that, it used libgmail. So, theoretically, all you need to do is write a library to manipulate mail there, and do a bit of search and replace in gmailfs =D
 
Old 12-24-2004, 06:08 PM   #9
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
I really think I want to try this for the experience and usefulness of it. But before that I need to completely understand what will be happening. Would I be actually storing files (i.e. movies, mp3s, pics) or emails with movies, mp3s, or pics as attachments? I haven't fully read up on how GmailFS works. I'm in the middle of digging through that site. No better time to try than during winter break, woohooo!
 
Old 12-24-2004, 09:22 PM   #10
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
one last time: you dont even need to touch that. *all* you need to do is code a way to send and check emails on this hr server. Thats all. gmailfs, you can adapt to do the rest.

look, there are two parts: theres gmailfs, and theres libgmail. Libgmail checks and sends emails. Gmailfs uses libgmail, to do all the filesystemy stuff (and yes, the content is in the attachement, all the filesystem info is in the subject). So, all you need to do, is modify libgmail (not gmailfs, except for a few tweaks to get it to use the right library). Got me?

edit: I'd love to help you out, too. Gimme an email address or something.

Last edited by m00t00; 12-24-2004 at 09:24 PM.
 
Old 12-24-2004, 10:38 PM   #11
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
i found a java version of something that works like libgmail (called jGmail). i think trying to do this in perl and/or python will set me back a week or two since i don't know how to use them. i could learn it, but i already got java in my back pocket. i was doing some googling on hrider's server. its using IMail on port 8383, so its strictly web based. i dont know if this would hinder what i'm trying to do. so if im looking at this correctly, its a 2 step process. write something just to check/send emails with hrider, then write something that would tweak that around to actually become the filesystem. that's basically what GmailFS is doing combining libgmail and fuse with the filesystem program. if i'm getting any of this mixed up please let me know.

lets make this the official thread to create a mountable 1 terabyte harddrive, haha.

any more suggestions would be appreciated. if you want to email me, just send it to [see_my_user_name][AT]comcast[dot]net
 
Old 12-25-2004, 10:07 AM   #12
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by vectordrake
Wow!
My guess is that they know not every single person that signs up will ever use that much space.... hell, one of my gmail accounts has over 300 to 400 messages in it and it still says I'm like at 1% or less..
 
Old 12-29-2004, 08:32 PM   #13
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
W00T W00T!!!!

HRiders.com is now my 1 terrabyte file storing drive, hahaha. I backed up all my mp3s, vids, and pics. I can get them from anywhere now. Only thing is uploading takes a while. And the download takes time too cause HRider's servers are bogged down and slow.

Edit:
HRider uses port 8383 which is IMAIL. IMAIL requires Java to be installed on the server, so I figured Java would be best to "talk" to it.

Last edited by snutz411; 12-29-2004 at 08:51 PM.
 
Old 12-29-2004, 08:37 PM   #14
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
Source code is available through a .jar file. But you will have to do some real good convincing. You need to have Java Virtual Machine installed on your box. I picked Java since I use it a lot and I'm already familiar with it. I think this makes my experiences with Java go way up.
 
Old 12-30-2004, 06:41 PM   #15
snutz411
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 55

Original Poster
Rep: Reputation: 15
nobody cares about my hard work
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access my gmail account in Mepis Charos MEPIS 7 07-28-2005 01:52 AM
Configuring Mutt , and gmail account? D3javu Linux - Software 2 02-09-2005 10:07 AM
Gmail account for moderator , LQ addict , Guru heema General 13 09-03-2004 11:29 PM
ANYBODY WANT A GMAIL Account jon2kx General 9 08-17-2004 06:39 AM
I want a GMail account! jrbush82 General 1 08-06-2004 09:58 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration