Peer identity vs ipfs HASH

#1

When I initialize ipfs on a system I get the peer identity which is different from the ipfs/HASH that seems to be necesary to cat, ls, add content. But after the first ipfs init there does not seem to be anyway to list the HASH. I can get the ID with ipfs id but how do I find the respective HASH? Unfortunately I have not been able to find anything in the docs about this. Can someone point me in the right direction?

initializing IPFS node at /home/jehaverlack/.ipfs
generating 2048-bit RSA keypair…done
peer identity: QmTPPkpz5RPQ…
to get started, enter:

ipfs cat /ipfs/QmS4ustL54uo…/readme

#2

If you added the content to the node yourself via something like ipfs add, then that content would be pinned and you CAN list the pinned hashes: ipfs pin ls. Otherwise, I actually don’t know of a command that will list all of the blocks in the blockstore/filestore. I mean, ipfs filestore ls works, but probably won’t list what you’re interested in.