Is bin ever written to?

Smoot Carl-Mitchell smoot at
Tue Dec 23 19:22:54 UTC 2008

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
System/Network Architect
smoot at
+1 480 922 7313
cell: +1 602 421 9005

More information about the ubuntu-users mailing list