Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 May 2020 11:16:25 -0700
From:      Chris <bsd-lists@BSDforge.com>
To:        Daniel Ebdrup Jensen <debdrup@freebsd.org>
Cc:        <hackers@freebsd.org>
Subject:   Re: Regarding /cdrom in hier(7)
Message-ID:  <3e7c5b0eb9bdba8e6c1ba23f3f34da87@udns.ultimatedns.net>
In-Reply-To: <20200507112346.GA53286@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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