Where PEF comes from
PEF appeared with Pentax's early DSLRs, the 2003 *ist D being the first to write it, and continued through the K-series line after Ricoh acquired Pentax's camera business in 2011. From the K10D (2006) onward most bodies added native DNG output beside PEF, a dual-format policy Pentax maintains to this day.