Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 14:18:37 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        kpneal@pobox.com (Kevin P. Neal)
Cc:        phk@critter.tfs.com, thorpej@nas.nasa.gov, gibbs@freefall.freebsd.org, greywolf@siva.captech.com, hackers@freebsd.org, tech-kern@netbsd.org
Subject:   Re: VPS mailing list, BSD interest?
Message-ID:  <199610022118.OAA04743@phaeton.artisoft.com>
In-Reply-To: <1.5.4.32.19961002050148.008cf4c8@mindspring.com> from "Kevin P. Neal" at Oct 2, 96 01:01:48 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Question: Why do block devices know about partitioning? Wouldn't it make
> more sense to have a "disk" driver, that has a list of disks and disk
> drivers attached to it? This way the user doesn't have to deal with
> sd0 vs wd0 vs xy0 vs whatever, they work with /dev/disk0a. The "disk"
> driver would have an ioctl that passed up the ASCII id string returned
> by disks, or by the disk driver itself (or some other identifier, you
> decide). The "disk" driver could deal with partitions in it's own manner.
> 
> What am I missing here? 

1:N fanout of logical-to-physical device mappings.

For instance, N==1 for DOS partitioning.

This implies a device hierarchy needs to be imposed, using directories
to implement the fan out.


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



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