Date: Sat, 25 Nov 2000 21:05:50 -0800 From: "Rod Taylor" <rbt@zort.on.ca> To: <freebsd-stable@freebsd.org> Subject: Fstab issues... Message-ID: <007e01c05766$8b5b48b0$6500000a@jester>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] While playing around I managed to fully erase /etc/fstab (on purpose actually :). Anyhow, on a reboot something rather mistifying happened. It was obvious that it wouldn't be able to find any devices to mount, and mounted the / partition read only. Now, the strange thing is that I was unable to mount / for write (mount /dev/ad0s1a /) without first creating an fstab file with a fixit disk. I certainly don't believe this is expected as in 2.2.x I seem to remember having the ability to create fstab if it was killed. As to why I deleted it, I was going to CVS /etc on some production boxes and wanted to know what the worst case scenario would be if there was a crash before the initial checkout. The results were using a fixit floppy. Can this be rectified to not make mount depend on /etc/fstab existing? [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>While playing around I managed to fully erase /etc/fstab (on purpose actually :).</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Anyhow, on a reboot something rather mistifying happened. It was obvious that it wouldn't be able to find any devices to mount, and mounted the / partition read only. Now, the strange thing is that I was unable to mount / for write (mount /dev/ad0s1a /) without first creating an fstab file with a fixit disk.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I certainly don't believe this is expected as in 2.2.x I seem to remember having the ability to create fstab if it was killed.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>As to why I deleted it, I was going to CVS /etc on some production boxes and wanted to know what the worst case scenario would be if there was a crash before the initial checkout. The results were using a fixit floppy.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Can this be rectified to not make mount depend on /etc/fstab existing?</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007e01c05766$8b5b48b0$6500000a>
