I've gotten rid of most of my hard drives. I run FreeBSD, and other operating systems only from my thumb drives. I guess this forum is more about asking questions, rather than giving out unsolicited information. Yet - I think other USB'ers may find this little configuration detail to be useful.
I usually run the Chromium browser on the thumbdrive based systems. When I first started using Chromium on a stick, I found I could not view YouTube movies. After some fuss, I eventually discovered that the latency of the USB stick was the problem. I found that the only way I could view movies on the stick was by creating a memory-based-disk backing for the .cache directory that Chromium uses to hold buffered video.
The downside of the memory-based-disk is that .config gets reset every time I restart the machine. I guess that could be an advantage if I wanted every browser startup to use the default settings, but I made a little script that copies the configuration I want from .savedconfig/* to .config/* when I launch the browser. Additionally, I have a script to set non-root permissions on all of the configuration and cache files, etc.
One thing I'll say about running on sticks, is that every three or four months I "semi-brick" them (turn them into read-only devices containing data of questionable integrity) or "brick" them (make them inaccessible). I think it usually happens when data is being written and there is a power interruption. I've seen utilities that claim to be able reset the stick's original state (firmware reset), but have never trusted the source sites where I found them :\
I do have a question, come to think of it... The use of a home directory for an fstab mount seems awkward. What would be a better approach?
I usually run the Chromium browser on the thumbdrive based systems. When I first started using Chromium on a stick, I found I could not view YouTube movies. After some fuss, I eventually discovered that the latency of the USB stick was the problem. I found that the only way I could view movies on the stick was by creating a memory-based-disk backing for the .cache directory that Chromium uses to hold buffered video.
Code:
md /usr/home/joe/.config mfs rw,-s100M,nosuid,noatime 0 0
md /usr/home/joe/.cache mfs rw,-s300M,nosuid,noatime 0 0
The downside of the memory-based-disk is that .config gets reset every time I restart the machine. I guess that could be an advantage if I wanted every browser startup to use the default settings, but I made a little script that copies the configuration I want from .savedconfig/* to .config/* when I launch the browser. Additionally, I have a script to set non-root permissions on all of the configuration and cache files, etc.
One thing I'll say about running on sticks, is that every three or four months I "semi-brick" them (turn them into read-only devices containing data of questionable integrity) or "brick" them (make them inaccessible). I think it usually happens when data is being written and there is a power interruption. I've seen utilities that claim to be able reset the stick's original state (firmware reset), but have never trusted the source sites where I found them :\
I do have a question, come to think of it... The use of a home directory for an fstab mount seems awkward. What would be a better approach?