The Jains of western India have preserved hundreds of thousands of handwritten manuscripts for many centuries in their libraries or "knowledge warehouses" (jñān bhaṇḍār). These manuscripts have been an invaluable aid in reconstructing much of the history of Indian society, religion, philosophy, and art. But these libraries have never been viewed as social institutions in and of themselves. This article investigates the patterns of ownership, management, and use of the libraries and the manuscripts in the small town of Pāṭaṇ in north Gujarat, to essay a beginning of a sociology of Jain knowledge. Some manuscript collections were owned by individual laymen, some by domesticated monks, and others were under the control of the leaders of the lay congregations. At the same time as these manuscripts have come to the attention of the scholarly world, their utility within the Jain community itself has drastically declined, as handwritten manuscripts have been replaced by printed books for both ritual and pedagogical purposes. As a result, while the manuscripts are better cared for than ever, they have been relegated to a marginal status within the Jain community, and hence my use of the term "warehouse" do describe these libraries.