Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 1996 13:24:52 +0100
From:      "Philippe Charnier" <charnier@lirmm.fr>
To:        bugs@freebsd.org
Cc:        joerg@freebsd.org
Subject:   mkdosfs
Message-ID:  <199601291224.NAA09726@lirmm.lirmm.fr>

next in thread | raw e-mail | index | archive | help

Hi,


Add 1440 as the default value for the -f flag, so this flag is no longer
mandatory. According to the man page and the usage string, this flag is
said to be optionnal.


Index: mkdosfs.1
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/usr.sbin/mkdosfs/mkdosfs.1,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 mkdosfs.1
*** mkdosfs.1	1995/11/05 16:02:04	1.1.1.1
--- mkdosfs.1	1996/01/28 11:22:58
***************
*** 59,65 ****
  Use defaults for a typical file system with
  .Ar capacity
  kilobytes.  Currently, the values 360, 720, 1200, and 1440 are
! recognized.
  .It Fl L Ar vollabel
  Use
  .Ar vollabel
--- 59,65 ----
  Use defaults for a typical file system with
  .Ar capacity
  kilobytes.  Currently, the values 360, 720, 1200, and 1440 are
! recognized. Default value is 1440.
  .It Fl L Ar vollabel
  Use
  .Ar vollabel
Index: mkdosfs.c
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/usr.sbin/mkdosfs/mkdosfs.c,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 mkdosfs.c
*** mkdosfs.c	1995/11/05 16:02:04	1.1.1.1
--- mkdosfs.c	1996/01/28 11:21:48
***************
*** 142,148 ****
    struct tm *tp;
    time_t now;
    
!   int c, i, fd, format = 0, rootdirsize;
    const char *label = 0;
    
    while((c = getopt(argc, argv, "f:L:")) != EOF)
--- 142,148 ----
    struct tm *tp;
    time_t now;
    
!   int c, i, fd, format = 1440, rootdirsize;
    const char *label = 0;
    
    while((c = getopt(argc, argv, "f:L:")) != EOF)

--------                                                        --------
Philippe Charnier                                      charnier@lirmm.fr
                               

         LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601291224.NAA09726>