Re: [RFC] /proc/fs/nfsd/exports

Gerd Knorr (kraxel@goldbach.in-berlin.de)
Fri, 30 Oct 1998 08:49:50 +0100


In lists.linux.kernel you write:

>> > Those values are NOT integers originally, they are octet arrays.
>>
>> What?
>>
>> The values are IPv4 addresses. There is _one_ standard way of printing
>> them, and that standard way is as four decimal numbers. EVERYBODY prints
>> them that way. It's the only sane way to show them.
>>
>> There is no question in my mind - printing out IPv4 addresses as hex
>> "integers" is wrong. It has always been wrong, and it's wrong now. It
>> happens to be very simple, which is the excuse for doing it, but it's
>> still wrong.

>Yet netmasks are bit-oriented, thus more intelligible as hex
>integers.

I like the 192.168.42.105/24 thing for netmasks.

Gerd

-- 
New mail address:  Gerd Knorr <kraxel@goldbach.in-berlin.de>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/