Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2017, 12:15 PM   #1
fennectech
Connoisseur
fennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enough
 
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
Rewrote the optware mount script

Hey you guys i rewrote the optware mount script that used to use sysvinit (never got that damn thing to work) since the kindle uses upstart i created a .conf file
/etc/upstart/optmount.comf

Code:
 # /mnt/us/optware.ext3 is the optware filesystem image
   
 start on mounted_userstore
 stop on stopping filesystems
 export LANG LC_ALL
 
 pre-start script
 mount /mnt/optware
 end script
  
 post-stop script
 umount /mnt/optware
 end script
This compleetly replaces the sysvinit script for optware mount and this one actually works!
https://wiki.mobileread.com/wiki/Optware
fennectech is offline   Reply With Quote
Old 03-15-2017, 01:48 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by fennectech View Post
Hey you guys i rewrote the optware mount script that used to use sysvinit (never got that damn thing to work) since the kindle uses upstart i created a .conf file
/etc/upstart/optmount.comf

Code:
 # /mnt/us/optware.ext3 is the optware filesystem image
   
 start on mounted_userstore
 stop on stopping filesystems
 export LANG LC_ALL
 
 pre-start script
 mount /mnt/optware
 end script
  
 post-stop script
 umount /mnt/optware
 end script
This compleetly replaces the sysvinit script for optware mount and this one actually works!
https://wiki.mobileread.com/wiki/Optware
As written, that script depends on a modification of /etc/fstab.
Which will be lost on every firmware update.
As will the up-start script shown above.
knc1 is offline   Reply With Quote
Advert
Old 03-15-2017, 03:35 PM   #3
fennectech
Connoisseur
fennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enough
 
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
Quote:
Originally Posted by knc1 View Post
As written, that script depends on a modification of /etc/fstab.
Which will be lost on every firmware update.
As will the up-start script shown above.

Thats really a non issue one can simply re apply their modification after a firmware update Alot of things dont survive an FW update And to prevent it happening unknowingly they cana simply use one of the update blockers that is common to put in place

Last edited by fennectech; 03-15-2017 at 04:18 PM.
fennectech is offline   Reply With Quote
Old 03-15-2017, 05:45 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by fennectech View Post
Thats really a non issue one can simply re apply their modification after a firmware update Alot of things dont survive an FW update And to prevent it happening unknowingly they cana simply use one of the update blockers that is common to put in place
My comment was for those people who might think it is a total solution and try to use it without first reading the wiki article you linked to.
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OptWare for Kindle aleksandyr Kindle Developer's Corner 73 12-11-2023 02:48 PM
Aura HD Ssh/telnet, optware, python? lonku Kobo Developer's Corner 3 10-25-2014 09:19 AM
Cannot Redo OptWare CaelThunderwing Kindle Developer's Corner 8 08-21-2012 01:04 PM
[Kindle Touch] Run PHP website with optware? tommytomtom Kindle Developer's Corner 1 04-24-2012 04:28 PM
what does mount or dismount mean? nlm Amazon Kindle 9 07-24-2009 08:28 AM


All times are GMT -4. The time now is 06:23 AM.


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