Re: A little question about safe mode

看板FB_current作者時間13年前 (2012/10/21 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串15/15 (看更多)
On Thu, Oct 18, 2012 at 2:35 AM, Alexander Yerenkow <yerenkow@gmail.com> wrote: > Hello there. > I have problem here, and don't know if it's bug or "feature" :) > If I prerare boot media (hdd, sd card,usb, etc) with FreeBSD, and NOT > create there fstab, I see such behavior: > > 1. I need enter manually where from mount root (e.g. ufs:ada0s1a or > ufs:ada0s1a rw) > 2. If I enter ufs:ada0s1a rw - I have / mounted in read-only anyway. <== Is > this bug?... Looks to be a feature in sys/kern/vfs_mountroot.c: 997 parse_mountroot_options(struct mntarg *ma, const char *options) : 1021 if( strcmp(name, "rw") == 0 || 1022 strcmp(name, "noro") == 0) { 1023 /* 1024 * The first time we mount the root file system, 1025 * we need to mount 'ro', so We need to ignore 1026 * 'rw' and 'noro' mount options. 1027 */ 1028 continue; 1029 } Scot _______________________________________________ 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): #1GWkRVnc (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GWkRVnc (FB_current)