Is bin ever written to?

Knapp magick.crow at gmail.com
Tue Dec 23 19:59:46 UTC 2008


On Tue, Dec 23, 2008 at 8:22 PM, Smoot Carl-Mitchell <smoot at tic.com> wrote:
> On Tue, 2008-12-23 at 20:05 +0100, Knapp wrote:
>> I was wondering if anything in a set up system ever needs to write to
>> /bin or /sbin or /usr/bin or /usr/sbin?
>> I was thinking of putting them in a ram disk with SquashFS to speed up
>> the system but it can only read and not write.
>> As far as I know the only time writing is needed is with a system update.
>
> You are correct.  The only time the "bin" directories are written is
> during system updates.
>
> I am not sure how much improvement you will see by putting the common
> system commands in a ram disk.  The demand paging system keeps
> frequently accessed pages in memory anyway. The only way to know is to
> try it and see what kind of improvement you see.
> --
> Smoot Carl-Mitchell

Any other ideas of what might best be on a ram disk?
All the hidden home files was suggested because programs like FF might
be speeded up and then at shutdown the ramdisk could be written to the
home dir. This posses a risk, if there is a power outage but other
than that should be safe.



-- 
Douglas E Knapp

Amazon Gift Cards; let them choose!!
http://www.amazon.com/gp/product/B001078FFE?ie=UTF8&tag=seattlebujinkand&linkCode=as2&camp=1789&creative=9325&creativeASIN=B001078FFE




More information about the ubuntu-users mailing list