I'm working on a disk driver and it seems to be working
for random data read/write operations when I use dd, so 
now I'm trying to create a filesystem on the drive.  I've
partitioned the drive and created a slice to format, but
when I lay down a filesystem I get the following error:

diablo# newfs /dev/xyzd0s1e
Warning: Block size restricts cylinders per group to 398.
/dev/xyzd0s1e: 2097152 sectors in 512 cylinders of 1 tracks, 4096
sectors
        1024.0MB in 2 cyl groups (398 c/g, 796.00MB/g, 8192 i/g)
super-block backups (for fsck -b #) at:
32, 1630240
write error: 0
newfs: wtfs: Read-only file system

The disk driver never receives the request to write data to
block 0, so the write() call returns EROFS error from
somewhere else.  Why might I be receiving this error?  If I
partition another drive and create an identical slice, I don't
get the error.

David Christensen





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to