Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/etc



Module Name:    src
Committed By:   apb
Date:           Wed Apr  9 20:19:15 UTC 2008

Modified Files:
        src/etc: MAKEDEV.tmpl

Log Message:
* Fix the problem with pax complaining "file would overwrite itself" for
  already-existing device nodes.  This is done by invoking pax with its
  current working directory set to an empty temporary directory.

* Add "-t mtree" command line option, to force MAKEDEV to use "mtree
  -e -U" to create device nodes.  Here are some timings from "MAKEDEV
  ${method} all" on an i386 system; each method was executed three
  times, first in an empty directory, then twice in an already-populated
  directory:

    -m mknod
            4.56 real         1.58 user         1.68 sys
            2.96 real         1.37 user         1.48 sys
            2.95 real         1.43 user         1.44 sys
    -p pax
            1.80 real         0.18 user         0.62 sys
            2.35 real         0.25 user         0.80 sys
            2.38 real         0.24 user         0.82 sys
    -t mtree
            1.62 real         0.22 user         0.44 sys
            0.23 real         0.29 user         0.04 sys
            0.24 real         0.28 user         0.05 sys

* If no command line options force a choice, then prefer mtree, pax, or
  mknod, in that order of preference.

No objections in tech-userlevel to an earlier version of this change.


To generate a diff of this commit:
cvs rdiff -r1.103 -r1.104 src/etc/MAKEDEV.tmpl

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



Home | Main Index | Thread Index | Old Index