Re: aliasing (or renaming) kern.geom.debugflags

看板FB_current作者時間14年前 (2011/10/08 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串25/44 (看更多)
In message <alpine.BSF.2.00.1110071734140.4137@wonkity.com>, Warren Block write s: >Since we're talking about this, could you review the usage in the >gmirror section of the Handbook GEOM chapter: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html > >Seems like that is a valid non-debugging use, to allow the last block to >be written. gmirror and this procedure has several problems: 1. It steals the last sector on the disk. If that sector contained data you lost them, with no notice. Most often it will not, particularly on a freshly installed system, but it is still a bad thing. 2. The paritioning is not fixed up to record the stealing of this sector. I wouldn't be surprised if this could cause confusion down the road. 3. In this case, writing only happens to a single sector, which we assume is not going to be written by anybody else, so apart from #1 and #2 debugflags=16 does not cause any additional damage. This is the kind of usage that makes me sad I ever added that option. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ 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): #1Ea0g2Ok (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Ea0g2Ok (FB_current)