Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what's the usr.sbin in the path? why isn't that usr/sbin? this looks like some convention i've never met before (and i have no idea how to google for it...)


It looks like this way of organising the source (src) tree started in 4.1BSD (1982?). Before that, all the commands lived under /usr/src/cmd/. See http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.1cBSD/usr/src and http://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/src

I guess it's there to flatten the source tree depth and probably had something to do with tiny disks of the time, shells without tab-complete or it was just a whim. In any case the convention stuck and it is now that way in all modern BSDs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: