1. A method for using filesystem operations to initiate device name generation for newly discovered but as of yet unnamed devices, the method comprising: receiving a command to boot a computer system; in response to the command, loading a portion of a filesystem hierarchy that includes a device namespace into a memory of the computer system, wherein the portion of the filesystem hierarchy contains at least one entity which represents a device coupled to the computer system, wherein the portion of the filesystem hierarchy serves as a device tree; intercepting a device lookup call at the filesystem; and performing a device lookup by performing a read-directory operation on the portion of the filesystem hierarchy to obtain a list of filesystem entities that correspond to devices attached to the computer system, wherein the filesystem performs the device lookup.