The Glade 4.0

"Turn the lights down, the party just got wilder."
It is currently Sun Nov 24, 2024 9:29 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Dec 10, 2011 12:28 am 
Offline
Oberon's Playground
User avatar

Joined: Thu Sep 03, 2009 9:11 am
Posts: 9449
Location: Your Dreams
If I were to make a guess, it's because the SD card's ext partition gets treated as a system partition, rather than removable media. It also contains swap space. Journalling makes it far less likely the data on it becomes corrupted or orphaned. The microSD cards in these things are obviously not designed to be treated as highly portable.

_________________
Well Ali Baba had them forty thieves, Scheherezade had a thousand tales
But master you in luck 'cause up your sleeves you got a brand of magic never fails...
...Mister Aladdin, sir, What will your pleasure be?
Let me take your order, Jot it down -You ain't never had a friend like me

█ ♣ █


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 10, 2011 2:39 am 
Offline
User avatar

Joined: Fri Feb 05, 2010 11:59 am
Posts: 3879
Location: 63368
Journaling on a non-removable drive makes it less likely to become corrupted, journaling on a removable drive is a guarantee it'll become corrupted.

There is no good reason to journal removable storage media. There are reasons, sure... none of them good ones.

IF it's a requirement in this case, it's just an indication that this is a hack to do something and not a professional implementation.

_________________
In time, this too shall pass.


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Sat Dec 10, 2011 10:13 am 
Offline
Evil Bastard™
User avatar

Joined: Thu Sep 03, 2009 9:07 am
Posts: 7542
Location: Doomstadt, Latveria
Taskiss wrote:
There is no good reason to journal removable storage media. There are reasons, sure... none of them good ones.
I just gave you 3 extremely good reasons to enable journaling on removable drives.

_________________
Corolinth wrote:
Facism is not a school of thought, it is a racial slur.


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Sat Dec 10, 2011 10:32 am 
Offline
Oberon's Playground
User avatar

Joined: Thu Sep 03, 2009 9:11 am
Posts: 9449
Location: Your Dreams
Taskiss wrote:
Journaling on a non-removable drive makes it less likely to become corrupted, journaling on a removable drive is a guarantee it'll become corrupted.

There is no good reason to journal removable storage media. There are reasons, sure... none of them good ones.

IF it's a requirement in this case, it's just an indication that this is a hack to do something and not a professional implementation.



All drives are, ultimately, "removable." What people generally use the term for is portable drives that are frequently swapped, such as USB thumbdrives, external drives, or SD cards. But once you implant an SD card in a device that is never, ever coming out again, why still treat it like a removable drive? At that point, it might as well be a solid-state hard drive. Well, that's the wrong terminology. Not "might as well be." It is just a solid state hard drive.

_________________
Well Ali Baba had them forty thieves, Scheherezade had a thousand tales
But master you in luck 'cause up your sleeves you got a brand of magic never fails...
...Mister Aladdin, sir, What will your pleasure be?
Let me take your order, Jot it down -You ain't never had a friend like me

█ ♣ █


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 10, 2011 10:38 am 
Offline
Oberon's Playground
User avatar

Joined: Thu Sep 03, 2009 9:11 am
Posts: 9449
Location: Your Dreams
Mookhow wrote:
I didn't know about the partitioning thing. I'll probably try it today and let you know how well it works for me.



I've almost got this working.

God, I hate being a total noob again.

_________________
Well Ali Baba had them forty thieves, Scheherezade had a thousand tales
But master you in luck 'cause up your sleeves you got a brand of magic never fails...
...Mister Aladdin, sir, What will your pleasure be?
Let me take your order, Jot it down -You ain't never had a friend like me

█ ♣ █


Top
 Profile  
Reply with quote  
 Post subject: Re: Re:
PostPosted: Sat Dec 10, 2011 10:39 am 
Offline
Evil Bastard™
User avatar

Joined: Thu Sep 03, 2009 9:07 am
Posts: 7542
Location: Doomstadt, Latveria
Talya wrote:
All drives are, ultimately, "removable." What people generally use the term for is portable drives that are frequently swapped, such as USB thumbdrives, external drives, or SD cards. But once you implant an SD card in a device that is never, ever coming out again, why still treat it like a removable drive? At that point, it might as well be a solid-state hard drive. Well, that's the wrong terminology. Not "might as well be." It is just a solid state hard drive.
Insofar that it's solid state storage, it's not an SSD. It's reads aren't fast enough; it's writes aren't fast enough. It's the last part that gets you, by the by ...

You're still writing to large portions of that SD card on a regular basis. You don't want journaling for those areas of the SD card; and I'm not sure how well Android phones handle multiple partitions. You specifically don't want journaling anywhere the data is transient. The situations I mentioned are ALL situations where the data rarely (or never) changes.

_________________
Corolinth wrote:
Facism is not a school of thought, it is a racial slur.


Top
 Profile  
Reply with quote  
 Post subject: Re: Re:
PostPosted: Sat Dec 10, 2011 12:52 pm 
Offline
User avatar

Joined: Fri Feb 05, 2010 11:59 am
Posts: 3879
Location: 63368
Khross wrote:
Taskiss wrote:
There is no good reason to journal removable storage media. There are reasons, sure... none of them good ones.
I just gave you 3 extremely good reasons to enable journaling on removable drives.

You could give me what you consider 3 extremely good reasons to run with scissors too, that doesn't mean that it's a good idea.

Removable media will be removed (by definition), and you don't write cache something that can be removed without flushing the cache. Don't journal a filesystem if you have write caching turned off, you'll just double the writes.

You can have whatever policy you want for your own systems... you can argue 'till the cows come home, but if anyone says having removable media with write cache enabled is a good idea, they're blowing smoke.

_________________
In time, this too shall pass.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 10, 2011 2:24 pm 
Offline
Oberon's Playground
User avatar

Joined: Thu Sep 03, 2009 9:11 am
Posts: 9449
Location: Your Dreams
It is WORKING.

Had to root the droid, install a couple kernel mods, partition the mSD card with three partitions (Fat32 14GB, Ext2 560MB, Linux Swap 515MB). Downloaded A2SDGUI from Android Market, and it is now good to go.

Internal system storage is up from 180MB to 640MB. Total RAM is up from 285MB to 800MB. And I still have 14GB of regular SD card storage (The vast majority of apps and data can go here anyway).

_________________
Well Ali Baba had them forty thieves, Scheherezade had a thousand tales
But master you in luck 'cause up your sleeves you got a brand of magic never fails...
...Mister Aladdin, sir, What will your pleasure be?
Let me take your order, Jot it down -You ain't never had a friend like me

█ ♣ █


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 10, 2011 2:32 pm 
Offline
God of the IRC
User avatar

Joined: Wed Sep 02, 2009 7:35 pm
Posts: 3041
Location: The United States of DESU
Nice. I haven't had time to play with it on my phone. I look forward to having more internal space for my apps.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 10, 2011 4:21 pm 
Offline
Eatin yur toes.
User avatar

Joined: Mon Sep 07, 2009 2:49 am
Posts: 836
That sounds like a pita ;) grats though ;)


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 11, 2011 12:28 pm 
Offline
Oberon's Playground
User avatar

Joined: Thu Sep 03, 2009 9:11 am
Posts: 9449
Location: Your Dreams
SuiNeko wrote:
That sounds like a pita ;) grats though ;)


You have no idea. I eventually took the plunge and upgraded the stock firmware (to CyanogenMod 7.1 RC2.2)...which was a good idea, but wow what a learning curve. Also, hellahard to put swype back on after upgrading. (But...TouchPal is the same thing.)

_________________
Well Ali Baba had them forty thieves, Scheherezade had a thousand tales
But master you in luck 'cause up your sleeves you got a brand of magic never fails...
...Mister Aladdin, sir, What will your pleasure be?
Let me take your order, Jot it down -You ain't never had a friend like me

█ ♣ █


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 11, 2011 6:21 pm 
Offline
User avatar

Joined: Fri Sep 04, 2009 7:35 pm
Posts: 396
I've got Cyanogen on my phone, only problem with it is battery draw, need to tweak some things to get back to normal.

The independent android developers do a great job of filling in the holes and making these devices preform.

_________________
History of the Condom
In 1272, the Muslim Arabs invented the condom, using a goat's lower intestine.
In 1873, the British somewhat refined the idea, by taking the intestine out of the goat first.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 12, 2011 2:30 am 
Offline
I got nothin.
User avatar

Joined: Thu Sep 03, 2009 7:15 pm
Posts: 11160
Location: Arafys, AKA El Müso Guapo!
I have to wait a bit for the CM release for my Droid 3. Prolly have to wait for them to release 9.

_________________
Image
Holy shitsnacks!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 171 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group