Re: DD-ing from device to device.

Marius Gedminas (mgedmin@centras.lt)
Mon, 19 Nov 2001 21:51:12 +0200


On Mon, Nov 19, 2001 at 06:28:55PM +0100, Rogier Wolff wrote:
> Now, can someone tell me why "unlimited" is interpreted somehow as 2G
> or something thereabouts? :
>
> /home/wolff> limit
> cputime unlimited
> filesize unlimited

I seem to recall seeing something about this on lkml: the kernel
considers 0xffffffff to be unlimited internally, but the setrlimit
syscall converts user-supplied 0xffffffff into 0x7fffffff.

Here's the relevant thread:
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0111.1/0086.html

Marius Gedminas

-- 
"If it ain't broke, don't fix it."
- Bert Lantz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/