[BACK]Return to mount_puffs.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / mount_puffs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/mount_puffs/mount_puffs.c between version 1.1 and 1.4

version 1.1, 2010/01/14 21:25:48 version 1.4, 2011/08/29 14:35:02
Line 51  const struct mntopt getargmopt[] = {
Line 51  const struct mntopt getargmopt[] = {
         MOPT_NULL,          MOPT_NULL,
 };  };
   
 static void  __dead static void
 usage(void)  usage(void)
 {  {
   
Line 96  main(int argc, char *argv[])
Line 96  main(int argc, char *argv[])
         if (mount(MOUNT_PUFFS, argv[1], mntflags, &kargs, sizeof(kargs)) == -1)          if (mount(MOUNT_PUFFS, argv[1], mntflags, &kargs, sizeof(kargs)) == -1)
                 err(1, "mount");                  err(1, "mount");
   
         printf("version=%d, ", kargs.pa_vers & ~PUFFSDEVELVERS);          printf("version=%d, ", kargs.pa_vers);
         printf("flags=0x%x, ", kargs.pa_flags);          printf("flags=0x%x, ", kargs.pa_flags);
   
         printf("root cookie=%p, ", kargs.pa_root_cookie);          printf("root cookie=%p, ", kargs.pa_root_cookie);
Line 108  main(int argc, char *argv[])
Line 108  main(int argc, char *argv[])
         if (kargs.pa_root_vtype == VCHR || kargs.pa_root_vtype == VBLK)          if (kargs.pa_root_vtype == VCHR || kargs.pa_root_vtype == VBLK)
                 printf(", root rdev=0x%" PRIx64, (uint64_t)kargs.pa_root_rdev);                  printf(", root rdev=0x%" PRIx64, (uint64_t)kargs.pa_root_rdev);
         printf("\n");          printf("\n");
   
           return 0;
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>