eject
so that it is in the existing path or should I extend the scope of the path?As far as I know it never was. At least I can't find it on 6.x, 7.x, 8.x, 9.x, 10.x and 11.x, so it's safe to assume it was always installed as a port/package. Perhaps as a dependency of cdrecord for example.Because I would have guessed that eject would be a part of the core installation.
Strangely, it is also absent on my stock 11.1 installation. It seems to be an optional package or port. Why did I say "strangely"? Because I would have guessed that eject would be a part of the core installation.
If you are using packages, then "pkg install eject" should work. If you are using ports, then cd to /usr/ports/sysutils/eject, then do a "make install".
Question for people who know more about the development process: How can one find out whether the omission from the core installation was a deliberate choice, or whether it is a clerical error?
/usr/ports/sysutils/eject
and as you suggest ralphbsz it is a source folder. I can certainly do a make install
there, but is there a way to install all of the tools in usr/ports
, assuming that that's a good idea of course! I'm still getting to grips with what is and what is not a good idea! pkg install eject
. Does this result in the compiled executable being placed in the same location as doing it with make install
?Probably not a good idea, there are currently about 33000+ ports and you really don't want to install everything.but is there a way to install all of the tools in usr/ports, assuming that that's a good idea of course!
Probably not a good idea, there are currently about 33000+ ports and you really don't want to install everything.
OK, so it must have been a deliberate choice to not include it. A strange choice, but who am I to judge.As far as I know it never was. At least I can't find it on 6.x, 7.x, 8.x, 9.x, 10.x and 11.x, so it's safe to assume it was always installed as a port/package. Perhaps as a dependency of cdrecord for example.
cdcontrol eject
ejects a disc as well.... eject
was part of the base system earlier. cdcontrol
,but no alias for eject. cdcontrol eject
, but only eject
alone.