[issue1667] disklabel / disklabel64 change needs reboot / disk change

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Tue Feb 9 00:15:24 PST 2010

Alex Hornung <ahornung at gmail.com> added the comment:

To fix this, please add the following lines in "case DIOCWLABEL:" 
disk_msg_send_sync(DISK_SLICE_REPROBE, dev->si_disk, sp);
just after line 648:
set_ds_wlabel(ssp, slice, *(int *)data != 0);

I can't do it right now, but I'll be back to work on this and more on the 

This should solve the disklabel issue at least. Direct writes (e.g. dd) should 
be detected properly with the DSF_REPROBE magic. If not, please post some more 
info on the disk/slice structure.

Alex Hornung

assignedto:  -> alexh
nosy: +alexh
priority:  -> bug

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list