Re: rawio usage

2001-02-06 Thread Douglas Gilbert
Content-Type: multipart/mixed; boundary="D4869FCB9AEAF2CC69FB9DEF" This is a multi-part message in MIME format. --D4869FCB9AEAF2CC69FB9DEF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Mayank Vasa" <[EMAIL PROTECTED]> wrote: > I am quite

RE: rawio usage

2001-02-06 Thread Nathan Black
int something in a multiple of 512 for the address. Then just typecast it back. That is how to align it. Jens Was kind enough to tell me how to do this. Nathan -Original Message- From: Mayank Vasa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 1:37 AM To: Linux-Kernel Subject: r

Re: rawio usage

2001-02-06 Thread Stephen C. Tweedie
Hi, On Mon, Feb 05, 2001 at 10:36:32PM -0800, Mayank Vasa wrote: > > When I run this program as root, I get the error "write: Invalid argument". Raw IO requires that the buffers are aligned on a 512-byte boundary in memory. --Stephen - To unsubscribe from this list: send the line "unsubscribe

Re: rawio usage

2001-02-06 Thread Stephen C. Tweedie
Hi, On Mon, Feb 05, 2001 at 10:36:32PM -0800, Mayank Vasa wrote: When I run this program as root, I get the error "write: Invalid argument". Raw IO requires that the buffers are aligned on a 512-byte boundary in memory. --Stephen - To unsubscribe from this list: send the line "unsubscribe

RE: rawio usage

2001-02-06 Thread Nathan Black
: rawio usage Hi, I am quite new to rawio and am experimenting with with its usage. My test environment is Redhat 7.0, kernel version 2.2.16-22 having an external fibre channel drive having 2 disks (/dev/sda1 and /dev/sdb1) All I am trying to do is to write and read to from the disk using a raw

Re: rawio usage

2001-02-06 Thread Douglas Gilbert
Content-Type: multipart/mixed; boundary="D4869FCB9AEAF2CC69FB9DEF" This is a multi-part message in MIME format. --D4869FCB9AEAF2CC69FB9DEF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Mayank Vasa" [EMAIL PROTECTED] wrote: I am quite new

rawio usage

2001-02-05 Thread Mayank Vasa
Hi, I am quite new to rawio and am experimenting with with its usage. My test environment is Redhat 7.0, kernel version 2.2.16-22 having an external fibre channel drive having 2 disks (/dev/sda1 and /dev/sdb1) All I am trying to do is to write and read to & from the disk using a raw device.

rawio usage

2001-02-05 Thread Mayank Vasa
Hi, I am quite new to rawio and am experimenting with with its usage. My test environment is Redhat 7.0, kernel version 2.2.16-22 having an external fibre channel drive having 2 disks (/dev/sda1 and /dev/sdb1) All I am trying to do is to write and read to from the disk using a raw device.