Re: diskid documentation

看板FB_current作者時間11年前 (2014/06/03 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串17/19 (看更多)
On 06/02/14 15:32, Allan Jude wrote: > On 2014-06-02 11:50, Kurt Lidl wrote: >>> On Mon, Jun 2, 2014 at 9:26 AM, Allan Jude <allanjude at freebsd.org> >>> wrote: >>>> It also tends to sometimes hide the gpt label provider on me (not sure >>>> in which cases it does this, but it is annoying) >>> This happens when something (e.g. zfs) happens to open the diskid >>> provider instead of the gpt label. For me this ended up being a bit >>> more than annoying; my swap was mounted in /etc/fstab via a gpt label >>> so I silently lost my swap when I did an upgrade. >> I have seen this too, starting from a fresh install. >> >> The install process for stable/10 writes a /dev/gpt style label >> into /etc/fstab for the swap space, and that never gets used, >> because the /dev/diskid/xxxx stuff appears to take precedence. >> >> I put the following into /boot/loader.conf to make the system more >> sane: >> >> kern.geom.label.disk_ident.enable=0 >> >> -Kurt >> >> _______________________________________________ >> 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" > I have a patch for the installer that solves this issue by explicitly > using /dev/adaXpY or adaXsYb etc > > I thought the label was a nice way to do it, but it backfired. > Oh, zfsboot uses labels? The UFS partition editor never has, mostly for this reason. Sorry for spreading misinformation -- I'm not really familiar with the ZFS code. -Nathan _______________________________________________ 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): #1JZG8kK9 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1JZG8kK9 (FB_current)