LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-10-2003, 08:05 PM   #1
psyclobe
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
How to enable raw i/o on partition (e.g. /dev/hdc1, non block device)


So I have a handle to a block device, /dev/hdc1, and I'm trying to somehow force the mode of the handle to raw instead of buffered. I know its buffered because with DD I can write an odd sized block, and with my sata analyzer I don't see an immediate commit.

?

Thanks,
-Jason
 
Old 12-11-2003, 11:58 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Look at:

http://manuals.sybase.com/onlinebook...TextView/14514

Hope that helps ....
 
Old 12-13-2003, 06:59 AM   #3
jimveta
Member
 
Registered: Oct 2003
Location: los angeles
Posts: 32

Rep: Reputation: 15
how about the O_SYNC flag on open(2) (i think you may be able to change this
on opened descriptors with fcntl(2)) ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
/dev/hdc1 is not a valid block device clickster Linux - Hardware 1 10-16-2005 02:36 AM
/dev/fd0 not a vcalid block device? lil_becky Debian 3 01-23-2005 01:04 PM
block device raw access rvilarl Programming 0 10-24-2004 12:53 PM
HELP: /dev/scd0 is not a block device fysx Linux - Hardware 1 09-02-2003 11:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration