Source-Changes archive

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

CVS commit: src/sbin/gpt



Module Name:    src
Committed By:   kre
Date:           Mon Feb  9 12:49:18 UTC 2026

Modified Files:
        src/sbin/gpt: gpt.c gpt.h main.c

Log Message:
Allow the -s sector size to be scaled (but just with 'K')

To do this, add a new general utility function, gpt_scaled_uint_get()
just like gpt_uint_get() except that it allows for the trailing 'K'
and use that to parse the supplied sector number instead of the old way.

A man page update to document this will be coming with the planned
next update to gpt, along with many other changes, minor and major,
to the doc.  It is due very soon now.

For now, just imagine the doc exists (it is just one extra 'K'!).


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.45 -r1.46 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.16 -r1.17 src/sbin/gpt/main.c

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