From owner-freebsd-hackers@freebsd.org Thu May 7 18:16:24 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B23042E0A59 for ; Thu, 7 May 2020 18:16:24 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49J1qr281dz4X1X for ; Thu, 7 May 2020 18:16:24 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id 47B702E0A57; Thu, 7 May 2020 18:16:24 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 477A92E0A56 for ; Thu, 7 May 2020 18:16:24 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49J1qq64Dlz4X1W; Thu, 7 May 2020 18:16:23 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 047IGJPP033638 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 7 May 2020 11:16:25 -0700 (PDT) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: In-Reply-To: <20200507112346.GA53286@freefall.freebsd.org> From: Chris Reply-To: bsd-lists@BSDforge.com To: Daniel Ebdrup Jensen Subject: Re: Regarding /cdrom in hier(7) Date: Thu, 07 May 2020 11:16:25 -0700 Message-Id: <3e7c5b0eb9bdba8e6c1ba23f3f34da87@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49J1qq64Dlz4X1W X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.81 / 15.00]; NEURAL_HAM_MEDIUM(-0.89)[-0.893,0]; NEURAL_HAM_LONG(-0.92)[-0.916,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 18:16:24 -0000 On Thu, 7 May 2020 13:23:46 +0200 Daniel Ebdrup Jensen debdrup@freebsd=2Eorg = said > After a bit of a long conversation on IRC, I've concluded that perhaps > it's time for the /cdrom entry in hier(7) to be sent off to better > pastures=2E >=20 > It's got a bit of a weird history where, before it was implemented, > sysinstall used /mnt/dists until that was changed on the 22nd of May > 1995, as shown on [1] - and it isn't readily apparent why it was > changed, as presumably information from cdroms could easily have been > extracted into /mnt/dists from /mnt/cdrom? >=20 > After then, it spent a bunch of years being hard-coded, until on > the 22nd of January, 1997 when it was changed to fix media > initialization, as shown on [2]=2E >=20 > Media initialization then got moved, along with the rest of > sysinstall, with [3], where it spent its days until [4] where > nwhitehorn@ gave it a proper sendoff=2E >=20 > So my proposal is this: Do we remove /cdrom from hier(7), because at > this point nobody should've been using it some time after 1997, or do > we keep it around since people might still be using it? Paint it blue! ;-) On a more serious note=2E IMHO, if it counts, would be to nuke it=2E Doesn't /media && /mnt already cover it's intended use case? Even if some, even if many, still depend on it=2E It's fairly trivial to add it to fstab(5)=2E No? --Chris P=2ES=2E Thanks for the history, Daniel=2E :-) I can still remember installing over a modem, and juggling floppy disks -- whew! Glad those days are over=2E :-) >=20 > Yours hopefully, > Daniel Ebdrup Jensen >=20 > [1]: > https://svnweb=2Efreebsd=2Eorg/base/head/release/sysinstall/media_strategy=2Ec?= r1=3D8701&r2=3D8702&pathrev=3D8790& > [2]: > https://svnweb=2Efreebsd=2Eorg/base/head/release/sysinstall/cdrom=2Ec?revision= =3D21937&view=3Dmarkup&pathrev=3D21937 > [3]: https://svnweb=2Efreebsd=2Eorg/changeset/base/71150 > [4]: https://svnweb=2Efreebsd=2Eorg/changeset/base/225937