Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   tsutsui
Date:           Tue Jan  5 15:45:26 UTC 2010

Modified Files:
        src/sbin/disklabel: dkcksum.c dkcksum.h main.c
        src/tools/disklabel: Makefile
Added Files:
        src/sbin/disklabel: bswap.c bswap.h

Log Message:
Add necessary byteswap ops for tools disklabel(8) used with -F option
(treating a target disk as a regular file and suppressing ioctl(2)s)
on reading/writing disklabel in a target file.
This allows cross build enviroment creating bootable disk images
for targets in different endian.
No functional changes to native (non-tools) disklabel(8) command.

Closes PR toolchain/42357.

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sbin/disklabel/bswap.c src/sbin/disklabel/bswap.h
cvs rdiff -u -r1.12 -r1.13 src/sbin/disklabel/dkcksum.c
cvs rdiff -u -r1.4 -r1.5 src/sbin/disklabel/dkcksum.h
cvs rdiff -u -r1.21 -r1.22 src/sbin/disklabel/main.c
cvs rdiff -u -r1.2 -r1.3 src/tools/disklabel/Makefile

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