Re: set blksize of block device

From: Denis Vlasenko
Date: Thu Oct 28 2004 - 01:23:11 EST


On Thursday 28 October 2004 05:25, Lei Yang wrote:
> Or in other words, is there generic routines for block devices such that
> we could:
>
> get (set) block size of a block device;
> read an existing block (e.g. block 4);
> write an existing block (e.g. block 5);

Can you stick to "reply below quote" style please?

> > If nobody could answer this question, what about another one? Is there
> > a system call or a kernel interface that would allow me to write a

Can you use read, write and seek system calls?
--
vda

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