Regarding /cdrom in hier(7)

Daniel Ebdrup Jensen debdrup at freebsd.org
Thu May 7 11:23:46 UTC 2020


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.

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?

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].

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.

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?

Yours hopefully,
Daniel Ebdrup Jensen

[1]: https://svnweb.freebsd.org/base/head/release/sysinstall/media_strategy.c?r1=8701&r2=8702&pathrev=8790&
[2]: https://svnweb.freebsd.org/base/head/release/sysinstall/cdrom.c?revision=21937&view=markup&pathrev=21937
[3]: https://svnweb.freebsd.org/changeset/base/71150
[4]: https://svnweb.freebsd.org/changeset/base/225937
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20200507/37f5aac4/attachment.sig>


More information about the freebsd-hackers mailing list