Thread: Add HD
View Single Post
  #8   (View Single Post)  
Old 26th August 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by BSDfan666 View Post
Can you please post the output of the following commands?

$ sysctl kern.securelevel
Securelevel 2 prevents writing to a raw device if the block device is mounted. I hadn't thought of this, but then, fdisk/atactl use of "wd0" gets converted to "/dev/rwd0c". Since there's an MBR on that drive, /dev/wd0c would almost assuredly not be mounted.
Quote:
$ ls -l /dev/{,r}wd0?
Oh, very very good thought! It could indeed be a bad special file.
Reply With Quote