Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 17:32:43 +1100
From:      davidn@unique.usn.blaze.net.au (David Nugent)
To:        bde@zeta.org.au (Bruce Evans)
Cc:        freebsd-bugs@freefall.freebsd.org, j@uriah.heep.sax.de
Subject:   Re: misc/2470: "sh ./MAKEDEV all" can't generate disk slice device.
Message-ID:  <Mutt.19970113173243.davidn@labs.blaze.net.au>
In-Reply-To: <199701130533.QAA06026@godzilla.zeta.org.au>; from Bruce Evans on Jan 13, 1997 16:33:02 %2B1100
References:  <199701130533.QAA06026@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes:
> > > 	I get src only, "make world", copy $(SRC)/etc/etc.i386/MAKEDEV
> > > 	to /dev/MAKEDEV and "sh ./MAKEDEV all".
> > > 	it removes all disk device nodes and can't generate disk partition
> > > 	such as sd0s1e. So I lost all disk partitions.
> > > 	"sh ./MAKEDEV sd0" can't generate disk partition, I must do
> > > 	"sh ./MAKEDEV sd0s1".
> > 
> > That's intentional.  It would be blatant to create device nodes
> > for 30 slices per disk.
> 
> But it shouldn't remove device nodes that it doesn't re-create.

Cetainly true. I rememeber being hit by this once myself and it
was unexpected.

But (in theory) MAKEDEV should be able to check the device major
minor numbers of existing device entries to ensure that they are
correct. I can't see any other reason why MAKEDEV would want to
delete them first unless this was the intention. Of course, doing
that from a shell script would be a little difficult - possible,
but slow.

I only mention this since it has some relevence to other discussion. :-)

Regards,

David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970113173243.davidn>