Is is possible to write to a raw disk like /dev/da0 or /dev/da0s1 while it is mounted?
I've been trying an asking around IRC but nobody knows how or even if its possible.
This is trivial on a linux system. sorry that i have to bring it up but really...
Things I tried (as root, obviously)
setting
kern.geom.debugflags=16
and remounting and trying again, doesn't work.
Doing the same in single-user mode, doesn't work.
Using gpart to partition the disk, using fdisk-linux to partition the disk, neither helps
Tried finding a 'nowriteprotect' type of flag for mount but couldn't find any.
Looked around for other sysctl parameters to tweak but honestly don't know what else could be changed.
The disk is writable when it is mounted, so its not read-only.
I found the same problem in a mailing list from 2005: https://lists.freebsd.org/pipermail/freebsd-hackers/2005-May/012092.html
It appears that since FreeBSD 5.x this is simply not possible. Root or not, permissions or not, freebsd just refuses to do what i tell it to.
Sorry but I am quite frustrated from this since i've spend over 5 hours on this and the OS just refuses to stop stopping me from doing what i know should be doable.
I've been trying an asking around IRC but nobody knows how or even if its possible.
This is trivial on a linux system. sorry that i have to bring it up but really...
Things I tried (as root, obviously)
setting
kern.geom.debugflags=16
and remounting and trying again, doesn't work.
Doing the same in single-user mode, doesn't work.
Using gpart to partition the disk, using fdisk-linux to partition the disk, neither helps
Tried finding a 'nowriteprotect' type of flag for mount but couldn't find any.
Looked around for other sysctl parameters to tweak but honestly don't know what else could be changed.
The disk is writable when it is mounted, so its not read-only.
I found the same problem in a mailing list from 2005: https://lists.freebsd.org/pipermail/freebsd-hackers/2005-May/012092.html
It appears that since FreeBSD 5.x this is simply not possible. Root or not, permissions or not, freebsd just refuses to do what i tell it to.
Sorry but I am quite frustrated from this since i've spend over 5 hours on this and the OS just refuses to stop stopping me from doing what i know should be doable.