shell.c: added some new functions for disk access