Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2009, 10:28 PM   #1
wz2b
Member
wz2b began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
script, versions, bbconfig, update 2.0.2

Code:
update_percent_complete 25
date >> /mnt/us/c.log
uname -a >> /mnt/us/c.log
update_percent_complete 50
bbconfig 2&>1 >> /mnt/us/c.log
ln -s /opt/amazon/screen_saver /mnt/us/screen_saver 2>&1 >> /mnt/us/c.log
date >> /mnt/us/c.log
update_progressbar 100
Result:

Code:
Thu Mar 19 22:18:33 UTC 2009
Linux kindle 2.6.22.19-lab126 #3 PREEMPT Mon Mar 2 12:26:35 PST 2009 armv6l unknown
Thu Mar 19 22:18:33 UTC 2009
The ln -s didn't work, and whats worse, failed silently. Any idea why?

--C

Last edited by wz2b; 03-19-2009 at 11:07 PM. Reason: shortened
wz2b is offline   Reply With Quote
Old 03-20-2009, 07:29 AM   #2
clarknova
Addict
clarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with others
 
clarknova's Avatar
 
Posts: 242
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
Quote:
Originally Posted by wz2b View Post
The ln -s didn't work, and whats worse, failed silently. Any idea why?

--C
Because the FAT filesystem doesn't support symbolic links.
clarknova is offline   Reply With Quote
Old 03-20-2009, 08:33 AM   #3
wz2b
Member
wz2b began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Oh, DUH. Of course. Also, the source revealed that BBCONFIG isn't enabled in busybox.

Last edited by wz2b; 03-20-2009 at 08:37 AM.
wz2b is offline   Reply With Quote
Old 03-20-2009, 11:44 AM   #4
wz2b
Member
wz2b began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
I wonder what would happen if I deleted /opt/amazon/screen_saver, and replaced it with a symlink to something in /mnt/us. /opt isn't FAT right? (I should just check that when I get home).

When I say "what would happen" what I really mean is: would this approach be ignored by the amazon updates? After some investigation it seems that before an official kindle update runs it checks to see that files its about to update haven't changed. I'm betting that it doesn't check directories in the same way, though I've noticed a few odd things about busybox's tar implemementation that would make me not be surprised if a later amazon update simply put it back the way it was.
wz2b is offline   Reply With Quote
Old 03-20-2009, 12:13 PM   #5
clarknova
Addict
clarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with others
 
clarknova's Avatar
 
Posts: 242
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
Quote:
Originally Posted by wz2b View Post
I wonder what would happen if I deleted /opt/amazon/screen_saver, and replaced it with a symlink to something in /mnt/us. /opt isn't FAT right? (I should just check that when I get home).
Yeah, this was discussed very briefly here.
clarknova is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 110 08-02-2013 03:33 PM
Firmware Update Can I reinstall the official amazon update after the update file from this site ? yuenslhk Amazon Kindle 2 06-20-2010 11:24 AM
Update on Google eBook Sales Plan Update poohbear_nc News 6 05-05-2010 09:00 AM
Sur Amazon, des versions électroniques plus chères que les versions papier IreneDelse Amazon Kindle 8 08-29-2008 08:35 AM
PRS-500 What file to change to re-update reader with latest update? pitolee Sony Reader Dev Corner 2 05-24-2007 11:56 PM


All times are GMT -4. The time now is 12:53 AM.


MobileRead.com is a privately owned, operated and funded community.