How 4 bytes of long have wider range than int?
I'm writing a block device driver and started with the sbull example from here:
I loaded the sbull driver successfully on my machine with kernel version 3.5.0-23.
When I run this code:
if ((fd = open("/dev/sbulla",O_RDWR)) < 0)
I have a big html file on my desktop that looks like