Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 14:15:10 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mikhail Teterin <mi+celsius@aldan.algebra.com>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "M. Warner Losh" <imp@bsdimp.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>
Subject:   Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis
Message-ID:  <XFMail.20021025141510.jhb@FreeBSD.org>
In-Reply-To: <200210251916.11326.mi%2Bcelsius@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Oct-2002 Mikhail Teterin wrote:
> On Friday 25 October 2002 06:37 pm, Poul-Henning Kamp wrote:
> = 1:  It confuses users.  The reason why you don't hear much about
> =     this now is that for four years we have installed systems
> =     with consistent names by default.
> 
> I, actually, find it more confusing that all my partitions were named da0s1X 
> -- the ``s1'' part was repetative, and begged to be taken outside of the 
> parentheses. Somehow, the ``da'' part was not as noticable -- probably, 
> because it (or the ``sd'') was there when I first started using FreeBSD.

Huh?  The da0 is repetitive, too.  Look at my fstab:

/dev/ad0s2b             none            swap    sw              0       0
/dev/ad0s2a             /               ufs     rw              1       1
/dev/ad0s2g             /usr            ufs     rw              2       2
/dev/ad0s2f             /tmp            ufs     rw              2       2
/dev/ad0s2e             /var            ufs     rw              2       2
/dev/ad0s1              /windows        msdos   ro,noauto,longnames 0   0

isn't it pretty obvious why the 's2' is there?

> = 2:  It does not reflect what is on the disk, which adds
> =     complexity and failure modes to our software, both userland
> =     kernel and bootcode.
> 
> But my disk has no other slices! It only has one, which -- for all intents
> and purposes, that I care about, occupies the entire drive.

It has slices.  It has an MBR.  If you created one big partition in a
BSD label it would still be foo0e, not foo0 that you mounted.
If you have Windows installed on ad2 and it is in one slice that takes
up the whole disk, you mount /dev/ad2s1, not /dev/ad2.

> = 3:  Aliasing disk devices is a bad idea. [...]
> 
>       mouse->psm0, da0a->da0s1a, da0s1a->ahc0/3

> ll /dev/mouse
ls: /dev/mouse: No such file or directory

I have no idea what you are talking about with the third example,
it makes no sense and does not currently exist.

> = 4:  /dev/da0a is the legitimate name for a disk which has _only_
> =     [...]
> =     At typical failuremode here is: "My disk wont boot", "Right
> =     is the FreeBSD slice active in the MBR ?", "There is no
> =     MBR!", "Yes there is", "No there isn't!" etc etc
> 
> If that is a failure mode, it a communication failure. Something this thread 
> is also showing. You contradict your own point 1: here, however -- there you
> imply it is only the users, who knew what they were doing, who are affected
> now.

Dude, you are smoking crack.  This is an argument AGAINST using the
compat mode because back in the old days of like 2.x people would get
confused like this.  However, in order to make it less confusing many
years ago the default changed to use the full name in /etc/fstab and
that is why 1) is valid.
 
> = 5:  This entire thing is a bloody bikeshed!  Nobody cares about
> =     the fact that we get an Disk IO system which is multi-architecture,
> =     modular, extensible, Giant-free etc etc, instead they focus
> =     on the one little detail they _do_ understand, and make a lot
> =     of noise, just to show how much they are "in the loop"!
> 
> There was a bikeshed. You demolished it and built a new one, that can house 
> all sorts of  machinery, including the widest spread kind of bikes too.
> 
> That wonderful machinery is yet to show up, but, in the meantime, the less 
> widely used, but still quite popular bikes no longer fit -- and for no good 
> reason, other than they are not the kind you yourself use...

mi@, you don't know what you are talking about here, please lay off and
go learn more about how PC disks work before commenting further.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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