Date: Thu, 22 May 2008 13:24:49 -0600 From: "Marauder" <marauder@pi.avalonnetworks.us> To: <freebsd-geom@freebsd.org> Subject: Unable to write to drive Message-ID: <48357420.5689.0089.0@pi.avalonnetworks.us>
next in thread | raw e-mail | index | archive | help
Hi all, I have a problem that is driving me crazy. Hopefully I'm submitting this = question to the correct place.=20 My problem is... I have opened the drive /dev/ad0 with open("/dev/ad0", = O_WRONLY) and it return's a valid file descriptor. The I attempt to write = using the file descriptor returned. The write fails with errno=3D22 = (EINVAL) I have attempted to first open /dev/io with READ/WRITE access to see if = that help's. No luck I have attempted to lock the section of the drive I would like to write to = with lockf. No luck If anybody has any idea's or suggestions I would greatly appreciate them. Thanx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48357420.5689.0089.0>