Hi List,

I have a strange problem in a C program I wrote. I open a hard disk
character file (/dev/ad1) and attempt to write over the entire disk. I
expect the last write that would go beyond the hard disk length
(capacity) to return with an error but instead the write succeeds.
This happens for hundreds of gigabytes beyond the file (hard drive)
length. What could be wrong? (This program works fine on Linux. The
last write that would go beyond the end of the hard drive returns with
-1.)

Thanks for any help,

-- 
- Patrick Donnelly
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to