Re: git: installer: Utilize dumpon(8) and swapoff(8) to turn off

看板DFBSD_commit作者時間15年前 (2010/09/23 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On 9/23/2010 11:43, Sascha Wildner wrote: > commit 9687cd2753d34cd91571932ad50ae1ba2378a7cb > Author: Sascha Wildner<saw@online.de> > Date: Thu Sep 23 11:43:06 2010 +0200 > > installer: Utilize dumpon(8) and swapoff(8) to turn off dump and swap. > > Previously, the installer would block further installation attempts > once a swap was mounted. This was very inconvenient, e.g. when trying > to do multiple installs in one session. > > It also never issued a 'dumpon off' causing dumping to be enabled > until rebooting. This caused issues upon reboot when a removable disk > (eSATA, for example) was unplugged before the reboot. > > Now that we have swapoff(8), fix all these issues by turning off > dumping and swapping once the installation is completed (after > unmounting). Also, do this in a number of other places (where we > previously warned) to make sure it all gets deactivated again should > the user have cancelled a previous installation. Note that the "panic when dumping is still active but the drive was unplugged" thing is still a real issue, even though the installer now no longer tickles it. But on a normal system, the user can still get into this situation by manually producing it. Sascha
文章代碼(AID): #1CcoLZj3 (DFBSD_commit)