06-15-2012, 09:12 AM | #46 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
On the Kindle, you are not running Bash, you are running Ash. On most distributions: /bin/busybox ash will get you an instance of the Ash command line shell. (Most distributions have it installed because their "create initramfs" tools need it.) |
|
06-15-2012, 09:32 AM | #47 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
06-16-2012, 07:19 AM | #48 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2012
Location: Cape Town
Device: Kindle Touch
|
Within the framework of my question, the differences between bash, ash and sh are pretty much a red herring.
Quote:
I think it's pretty obvious that we all know that a *FILE* is created, current time and date, zero size. The script, whether you feed it to bash or ash, looks for a *DIRECTORY* and if said directory is present, starts the ad-support screensaver. Hence my question, why create a *FILE*? Not that it's important, mind. Idle curiosity and all of that. |
|
06-16-2012, 09:09 AM | #49 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
06-16-2012, 09:34 AM | #50 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
06-16-2012, 11:11 AM | #51 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Just as a P.S., for completion / clarification: because a FILE with the given name already exists, that existing file can neither be read (=interpreted) as a DIRECTORY, nor can a directory with the same name be created.
|
06-16-2012, 12:46 PM | #52 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The USB drive is vfat, which is not sensitive to case, which means that "FILE.TXT" and "file.txt" should be the same file. On my kindle with SSH, I created two files named file.txt and FILE.TXT. Both existed, and both were visible from windows, but good luck opening the second instance of what windows sees as the same filename. Depending on what tool used, a windows disk repair tool would probably report that as an error. I was able to delete this "file" from windows (twice). This is actually a bug in the kindle. It should be smart enough to know that a vfat is not case sensitive. |
|
08-08-2012, 07:40 AM | #53 |
Member
Posts: 16
Karma: 49498
Join Date: Aug 2012
Device: Kindle Touch
|
Doesn`t work with 5.1.2 FW
|
01-23-2013, 08:36 PM | #54 |
Enthusiast
Posts: 39
Karma: 132550
Join Date: Aug 2012
Device: Kindle Touch
|
my ad randomly came back today, attempting to remove them again -.-
|
01-23-2013, 08:47 PM | #55 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Last edited by ixtab; 01-23-2013 at 08:52 PM. |
Tags |
k_touch, pathartl, remove ads, yifanlu |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extended Linux Functionality - GUI Launcher Kindle Touch | dasmoover | Kindle Developer's Corner | 41 | 02-11-2013 06:05 PM |
GUI Launcher for Kindle Touch | yifanlu | Kindle Developer's Corner | 299 | 01-24-2013 01:59 PM |
android launcher | Mark.S | Kobo Tablets | 4 | 12-26-2011 05:11 PM |
how to uninstall Go Launcher | joshualintag | Kindle Fire | 1 | 11-22-2011 07:46 AM |