Determine Device for a File
df /path/to/file | sed -n 2p | cut -d ' ' -f 1


will give you the device the file is on. To combine this directly with diskutil info use

diskutil info $(df /path/to/file | sed -n 2p | cut -d ' ' -f 1)