tl;dr...

> 3. When procceding to wipe the disk on my desktop (openbsd -current too)
> I cound not do this. This time I could find sd5 using disklabel, but:
> 
>       # dd if=/dev/arandom of=/dev/sd5 bs=4096
> 
>       /: write failed, filesystem is full
>       dd: /dev/sd5: No space left on device

see man disklabel, you need to put 'c' for whole disk, otherwise
you created new file in /dev.

> The same happen on rsd5. When trying to wipe just one partition:
> 
>       # dd if=/dev/arandom of=/dev/rsd5c
>       Operation not permitted
> 
> The message show after just some seconds (the disk has 7.2GB) and the
> partitions still there, so I know that dd did not work. 
> I thought it was something to do with my kern.securelevel, but when to
> down from 2 -> 1 got the same permission problem: 
> 
>       # sysctl kern.securelevel=1
>       sysctl: kern.securelevel: Operationg not permitted

man securelevel, you cannot decrease securelevel. in this case 'raw
disks are always read-only'.

welcome on the board, just do man help, man hier, man afterboot...

j.

Reply via email to