Source-Changes archive

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

CVS commit: basesrc/lib/libc/gen



Module Name:    basesrc
Committed By:   scw
Date:           Wed Dec 11 12:59:34 UTC 2002

Modified Files:
        basesrc/lib/libc/gen: sysctl.3
        basesrc/sbin/sysctl: sysctl.8
        syssrc/sys/kern: kern_sysctl.c
        syssrc/sys/sys: sysctl.h

Log Message:
Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 basesrc/lib/libc/gen/sysctl.3
cvs rdiff -r1.82 -r1.83 basesrc/sbin/sysctl/sysctl.8
cvs rdiff -r1.118 -r1.119 syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.81 -r1.82 syssrc/sys/sys/sysctl.h

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