diff options
author | bde <bde@FreeBSD.org> | 1995-02-16 14:47:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-02-16 14:47:38 +0000 |
commit | 8abfaf1d18588e52a635ffe04eaa7235584d88df (patch) | |
tree | 915b514ee4b32dd01df99c5d3e545dc6049a7852 /lib/libc/string/rindex.c | |
parent | fa2d46eb479eb13da59aff18ed314b810c753625 (diff) | |
download | FreeBSD-src-8abfaf1d18588e52a635ffe04eaa7235584d88df.zip FreeBSD-src-8abfaf1d18588e52a635ffe04eaa7235584d88df.tar.gz |
Adjust slice names in diskerr() for the rearranged slice numbers. The
mapping from numbers to names is messy for backwards compatibility.
E.g., for driver "sd", unit "0":
slice 0: omit the slice number for compatibility; names are sd0[a-h].
slice 1: omit the partition letter 'c' because the whole disk device
shouldn't have anything to do with partitions; sd0 is the
only name.
slices 2-31: subtract 1 from slice number to compensate for the
compatibility slice 0; names are sd0s[1-30][a-h].
Diffstat (limited to 'lib/libc/string/rindex.c')
0 files changed, 0 insertions, 0 deletions