Subject: Re: quot can't report my largest partition
To: Tatoku Ogaito <tacha@tera.fukui-med.ac.jp>
From: Hiroyuki Ito <hiroy@netcom.com>
List: current-users
Date: 05/23/1996 15:59:45
printf's are useful.

------------------------------------------------------------------
*** /usr/src/usr.sbin/quot/quot.c	Tue Dec 12 05:58:42 1995
--- quot.c	Thu May 23 21:47:40 1996
***************
*** 97,102 ****
--- 97,106 ----
  		if (lseek(fd,ino_to_fsba(super,last) << super->fs_fshift,0) < 0
  		    || read(fd,ip,INOSZ(super)) != INOSZ(super)) {
  			perror("read inodes");
+ #if 1
+ printf("ino_to_fsba(super,last)=%d\n", ino_to_fsba(super,last));
+ printf("super->fs_fshift=%d\n", super->fs_fshift);
+ #endif
  			exit(1);
  		}
  	}
------------------------------------------------------------------

Hiroyuki Ito