Re: RFC: Project geom-events

看板FB_current作者時間14年前 (2011/10/06 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串27/52 (看更多)
Hello, Alexander. You wrote 6 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 1:34:33: > That works perfect for case when class (geom_raid) is known to work on > raw device. Other RAID classes can be used over partitions, so some care > should be taken to avoid false positives. Oh, yes... I see... >> I'm not sure here. > In that case it is helpful to include media size into the metadata. > Comparing that value with provider size during taste allows to avoid > these false positives. geom_mirror metadata include/check provider size > since version 3. Pity that MBR and probably others don't. Yep. > And what if class is not loaded/supported? There should be a way to > manage/clear that label. Most of classes have "clear" command which doesn't need loaded module and works completely from userland now (as "label" works from userland too for these classes). And, if such changes will be made, generic command to "geom" itself, without class at all, could be added -- of course, it will refuse to clear anything that doesn't start from "common" signature. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org> _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EZL8ltT (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EZL8ltT (FB_current)