Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 00:29:35 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        abial@nask.pl (Andrzej Bialecki)
Cc:        sos@FreeBSD.ORG, peter@netplex.com.au, jkh@time.cdrom.com, current@FreeBSD.ORG
Subject:   Re: DEVFS & SLICE?
Message-ID:  <199809220029.RAA26776@usr04.primenet.com>
In-Reply-To: <Pine.BSF.4.02A.9809212150310.22189-100000@korin.warman.org.pl> from "Andrzej Bialecki" at Sep 21, 98 09:51:51 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > In reply to Andrzej Bialecki who wrote:
> > > 
> > > Soren, you said you used DEVFS without SLICE on regular basis. Tell me
> > > then, please, what for, because I can't see what (significant) added
> > > functionality over standard /dev/* it offered...
> > 
> > It doesn't give me anything but an emptier looking /dev with only those
> > devices in it that I actually have :)
> 
> Mhmhm.. But it's unable to create slices/partition nodes on the fly, so
> you mean you use it only for non-disk devices, right?

Actually, you can:


	for i in $(diskdevices)
	do
		dd if=$i count=1 of=/dev/null
	done

/in the rc.boot/early in the main rc file, before mount is called/
to make the devices stick their heads up.

This is much less satisfying than the slice code, of course, but
it will work.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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