raw disk access on FreeBSD6 & 7
I am having problem getting write access to raw disk such as /dev/da0s1a. What i did is very simple:
fd = open("/dev/da0s1f", O_RDWR);
it always fails on bsd6 and bsd7, the errno is 1, which is Operation not permitted.
Does anybody has any idea what is going wrong?
|Thread||Thread Starter||Forum||Replies||Last Post|
|FreeBSD6.3 upgrade to FreeBSD7.0||Ofloo||FreeBSD Installation and Upgrading||16||21st February 2009 07:02 PM|
|Disk > 100%||Weaseal||FreeBSD General||3||11th February 2009 04:50 PM|
|Disk geometry for Seagate disk||phreud||FreeBSD Installation and Upgrading||5||8th November 2008 09:51 PM|
|GNOME/FreeBSD6||gr1M||FreeBSD Installation and Upgrading||3||25th July 2008 07:12 AM|
|Disk I/O Throughput||m4rc||OpenBSD General||5||10th July 2008 02:50 AM|