Re: why raw devices don't seek above 4GB (sometimes)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 17 Apr 2001 21:01:24 +0100 (BST)


> I set up a raw device: raw /dev/raw/raw1 /dev/hdd
> with /dev/hdd being my DVD drive.
> Xine then does repeated llseeks on /dev/raw/raw1 until it gets above 4G.
> Because /dev/raw/raw1 and the associated /dev/hdd both are on reiserfs,
> and reiserfs has a 4G limit, llseek assumes the same for the associated
> raw devices and returns from the llseek with EINVAL. Bang.
> I don't know whether there's an easy solution.

That sounds like /dev/raw/.. should have its own lseek method.

Alan

-
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/