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

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

Diff for /src/sbin/mount/mount.c between version 1.97.2.1 and 1.97.2.2

version 1.97.2.1, 2013/02/25 00:28:09 version 1.97.2.2, 2014/08/20 00:02:26
Line 85  static void prmount(struct statvfs *);
Line 85  static void prmount(struct statvfs *);
 __dead static void      usage(void);  __dead static void      usage(void);
   
   
 /* Map from mount otions to printable formats. */  /* Map from mount options to printable formats. */
 static const struct opt {  static const struct opt {
         int o_opt;          int o_opt;
         int o_silent;          int o_silent;
Line 352  hasopt(const char *mntopts, const char *
Line 352  hasopt(const char *mntopts, const char *
 }  }
   
 static int  static int
 mountfs(const char *vfstype, const char *spec, const char *name,  mountfs(const char *vfstype, const char *spec, const char *name,
     int flags, const char *options, const char *mntopts,      int flags, const char *options, const char *mntopts,
     int skipmounted, char *buf, size_t buflen)      int skipmounted, char *buf, size_t buflen)
 {  {
Line 579  prmount(struct statvfs *sfp)
Line 579  prmount(struct statvfs *sfp)
             sfp->f_fstypename);              sfp->f_fstypename);
   
         flags = sfp->f_flag & MNT_VISFLAGMASK;          flags = sfp->f_flag & MNT_VISFLAGMASK;
         for (f = 0, o = optnames; flags && o <          for (f = 0, o = optnames; flags && o <
             &optnames[sizeof(optnames)/sizeof(optnames[0])]; o++)              &optnames[sizeof(optnames)/sizeof(optnames[0])]; o++)
                 if (flags & o->o_opt) {                  if (flags & o->o_opt) {
                         if (!o->o_silent || verbose)                          if (!o->o_silent || verbose)

Legend:
Removed from v.1.97.2.1  
changed lines
  Added in v.1.97.2.2

CVSweb <webmaster@jp.NetBSD.org>