Alex Hornung <ahornung@gmail.com> added the comment:
To fix this, please add the following lines in "case DIOCWLABEL:"=20
(sys/kern/subr_diskslice.c)
disk_msg_send_sync(DISK_SLICE_REPROBE, dev->si_disk, sp);
devfs_config();
just after line 648:
set_ds_wlabel(ssp, slice, *(int *)data !=3D 0);
I can't do it right now, but I'll be back to work on this and more on the=20
weekend.=20
This should solve the disklabel issue at least. Direct writes (e.g. dd) sho=
uld=20
be detected properly with the DSF_REPROBE magic. If not, please post some m=
ore=20
info on the disk/slice structure.
Cheers,
Alex Hornung
----------
assignedto: -> alexh
nosy: +alexh
priority: -> bug
_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1667>
_____________________________________________________