As a result, SF now has a backup hydrant system! Those big fat multi-colored hydrants are all connected to a fire-only water system that's gravity-fed from cisterns all over the city. The colors of the hydrants encode information about which cistern the water comes from, IIRC. And whenever you see a random arc of a circle made of brick inlaid in the road, that's outlining the location of a cistern.
https://www.atlasobscura.com/places/the-golden-fire-hydrant https://www.citylab.com/design/2017/05/the-sublime-subterran...
Neighborhoods will definitely burn but containment will be more of a factor of how windy it is and how easy it is to get to water.
Wish your comment was higher up.
If you're in the Bay Area: sign up for a NERT/CERT class, buy an ABC fire extinguisher, and know where and how to shut off your gas line. Assume the fire department will not get to you.
SF NERT: http://sf-fire.org/neighborhood-emergency-response-team-nert
In such event, I would do only one thing: run.
I'm not advocating for anyone to run around playing fire fighter.
It's not clear how much of the fire damage was due to intentionally set fires; there were also a significant number of fires started unintentionally when the fire department dynamited various buildings in failed attempts to establish fire breaks. (And, hey, you were still covered if your building was dynamited!) So, lets hope the SFFD is better in this regard than in 1906 as well.
The insurance industry claims that only 2% of the destruction was directly due to the earthquake; 98% was from the fires. https://www.iii.org/article/san-francisco-earthquake-1906-in...
Nowadays everyone has their hot water heater and oven bolted or strapped to the wall. I'm sure there are other useful fire codes California has adopted since then but this one rule will probably prevent more fires in the next big quake than any other.
What caused the most damages was the fires after the earthquake.
Hopefully SF has a better fire department now than in 1906.