Date: Tue, 26 Jun 2018 19:51:57 +0900 (JST) From: Masachika ISHIZUKA <ish@amail.plala.or.jp> To: freebsd-net@freebsd.org Subject: Re: usb ethernet adapter does not work after reboot Message-ID: <20180626.195157.1921635683346441969.ish@amail.plala.or.jp> In-Reply-To: <CAN6yY1syiS84b8pRRc9uqBT_OEDGQHKVBGsBR2H-Sx6_F=1jQQ@mail.gmail.com> References: <20180625.234518.743785892819344523.ish@amail.plala.or.jp> <CAN6yY1syiS84b8pRRc9uqBT_OEDGQHKVBGsBR2H-Sx6_F=1jQQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> BTW, the triple "sync" is a waste of... well, not much except your time in > typing it into your script. The rule to sync discs three times assumes that > you are actually typing it. It is to allow enough time for the file > system(s) to complete syncing before the system is halted (halt(8)) or > power is removed. Both reboot(8) and shutdown(8) now take care of this. > Only the first sync(8) really does anything. Typing it three times on a > teletype takes long enough for metadata to be written. Thank you, Kevin. I want to sync nfs mounted disks before usb ethernet card is powered down. I think that '/etc/rc.d/nfsuserd stop' may be better than '/bin/sync'. -- Masachika ISHIZUKA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180626.195157.1921635683346441969.ish>