Some changes in ydisk.c