Date: Tue, 21 Feb 2006 15:52:05 +0300 From: Boris Samorodov <bsam@ipt.ru> To: freebsd-emulation@FreeBSD.org Subject: linprocfs and linux_base port upgrade Message-ID: <59887930@srv.sem.ipt.ru>
next in thread | raw e-mail | index | archive | help
Hi! Assume that one has a linux_base port installed and linprocfs is mounted. The task is to upgrade the linux_base port. We do: - Un-mounting linprocfs; - deletting /compat/linux (along /compat/linux/proc); - ... The problem: a short period of time (well, it may be not so short accoring to various curcumstances) exists when there _is no_ /compat/linux/proc directory and linprocfs _is_ defined at /etc/fstab. If something goes wrong when upgrading (system panic, port upgrading errors, etc) one can get an unbootable machine. I think that a linux_base port should: - comment the linprocfs definition right after removing /compat/linux/proc directory; - remove the comment after creating the needed directory. The comment itself should be a readable and unique one (ie all linux_base ports should use the same text). Ex.: "#*linux_base autocomment*". Do you have some other ideas? Thanks. -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59887930>