At r_stat() of rawfs.c there is the following line:

curfil.i_dev= -1; /* Can't fill this in alas. */

It can't be filled because there is the case of a ramdisk?

Christos