Re: Empty MFS on root

2015-12-09 Thread Ted Unangst
Alexander Hall wrote: > > I've been thinking about having mount_mfs mounting the new mfs in some > temporary place prior to /bin/pax the lot into it, and then unmount it > and mount it into its final destination. I guess I just have not had > any use for that yet. :-) This would be beneficial for

Re: Empty MFS on root

2015-12-09 Thread Alexander Hall
On Wed, Dec 09, 2015 at 09:02:25AM +0100, Janne Johansson wrote: > 2015-12-08 21:18 GMT+01:00 Alexander Hall : > > > On December 8, 2015 4:21:16 PM GMT+01:00, Otto Moerbeek > > wrote: > > >On Tue, Dec 08, 2015 at 03:03:14PM +, Tati Chevron wrote: > > > > > >> Currently, it's possible, (as roo

Re: Empty MFS on root

2015-12-09 Thread Janne Johansson
2015-12-08 21:18 GMT+01:00 Alexander Hall : > On December 8, 2015 4:21:16 PM GMT+01:00, Otto Moerbeek > wrote: > >On Tue, Dec 08, 2015 at 03:03:14PM +, Tati Chevron wrote: > > > >> Currently, it's possible, (as root), to do something like: > >> # mount_mfs -s 1g swap / > >> > >> which succeed

Re: Empty MFS on root

2015-12-08 Thread Alexander Hall
On December 8, 2015 4:21:16 PM GMT+01:00, Otto Moerbeek wrote: >On Tue, Dec 08, 2015 at 03:03:14PM +, Tati Chevron wrote: > >> Currently, it's possible, (as root), to do something like: >> >> # mount_mfs -s 1g swap / >> >> which succeeds, and mounts the empty filesystem as the root >filesyst

Re: Empty MFS on root

2015-12-08 Thread Ted Unangst
Tati Chevron wrote: > On Tue, Dec 08, 2015 at 08:09:47AM -0700, Theo de Raadt wrote: > >> Currently, it's possible, (as root), to do something like: > >> > >> # mount_mfs -s 1g swap / > >> > >> which succeeds, and mounts the empty filesystem as the root filesystem. > >> > >> This makes the machine

Re: Empty MFS on root

2015-12-08 Thread Tati Chevron
On Tue, Dec 08, 2015 at 08:09:47AM -0700, Theo de Raadt wrote: Currently, it's possible, (as root), to do something like: # mount_mfs -s 1g swap / which succeeds, and mounts the empty filesystem as the root filesystem. This makes the machine inoperable and requires a physical reset, without a

Re: Empty MFS on root

2015-12-08 Thread Uwe Werler
Am 08.12.2015 16:03:14, schrieb Tati Chevron: > Currently, it's possible, (as root), to do something like: > > # mount_mfs -s 1g swap / > > which succeeds, and mounts the empty filesystem as the root filesystem. > > This makes the machine inoperable and requires a physical reset, without a clean

Re: Empty MFS on root

2015-12-08 Thread Otto Moerbeek
On Tue, Dec 08, 2015 at 03:03:14PM +, Tati Chevron wrote: > Currently, it's possible, (as root), to do something like: > > # mount_mfs -s 1g swap / > > which succeeds, and mounts the empty filesystem as the root filesystem. > > This makes the machine inoperable and requires a physical reset

Re: Empty MFS on root

2015-12-08 Thread Ted Unangst
Tati Chevron wrote: > Currently, it's possible, (as root), to do something like: > > # mount_mfs -s 1g swap / > > which succeeds, and mounts the empty filesystem as the root filesystem. > > This makes the machine inoperable and requires a physical reset, without a > clean shutdown, as no system

Empty MFS on root

2015-12-08 Thread Tati Chevron
Currently, it's possible, (as root), to do something like: # mount_mfs -s 1g swap / which succeeds, and mounts the empty filesystem as the root filesystem. This makes the machine inoperable and requires a physical reset, without a clean shutdown, as no system binaries are available. Shouldn't

Re: Empty MFS on root

2015-12-08 Thread Theo de Raadt
> Currently, it's possible, (as root), to do something like: > > # mount_mfs -s 1g swap / > > which succeeds, and mounts the empty filesystem as the root filesystem. > > This makes the machine inoperable and requires a physical reset, without a > clean shutdown, as no system binaries are availa