Hacker GitHub

← All repos

freebsd/freebsd-src

View on GitHub ↗ ★ 9,421 C

The FreeBSD src tree publish-only repository. Experimenting with 'simple' pull requests....

189 mentions on Hacker News by 121 people: 8 stories, 181 comments · first 2012-05-14 · latest 2026-10-26

Mentions per year 189 mentions · busiest year 2020 (28)
20082026
  1. …queue.h decades ago. I like how FreeBSD's fork of queue.h has a table of the macro's features: https://github.com/freebsd/freebsd/blob/releng/11.1/sys/sys/... Here's the linked list for Postgres, https://github.com/postgres/postgres/blob/ma…
  2. …[2] cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/bin/ls/ls.c?rev=1.75.4.1 [3] https://github.com/freebsd/freebsd/blob/master/bin/ls/ls.c
    comment by thisacctforreal · 2017-11-19 · in Why the Update Fever Is Bad
  3. …a compiler/linker capable of generating an image that could be read into memory by a boot loader: https://github.com/freebsd/freebsd/tree/master/sys/libkern
    comment by xenophonf · 2017-10-28 · in Alan Kay on Lisp
  4. …in our environment: ssh user@rsync.net s3cmd get s3://rsync/mscdex.exe ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" So you could run a cron job that would clone a repo to your rsync.net account and then…
  5. …original drm.h header that defines most of the structs and ioctls mentioned (e.g. [1] [2] [3]) [1] https://github.com/freebsd/freebsd/blob/master/sys/dev/drm/d... [2] https://github.com/openbsd/src/blob/master/sys/dev/pci/drm/d... [3]…
    comment by 0xcde4c3db · 2017-08-31 · in Intro to Low-Level Graphics on Linux
  6. …look through FreeBSD's Make files, you'll see that conditionals exist, but they begin with dots: https://github.com/freebsd/freebsd/blob/c09174d99/share/mk/b... There are going to be some compromises when writing portable scripts where it…
    comment by git-pull · 2017-08-20 · in A Tutorial on Portable Makefiles
  7. Out of curiosity, I did blame on some files in the FreeBSD source code ( https://github.com/freebsd/freebsd ). In core utilities like "cat", "kill" and "mv", there are still quite a few lines dating back all the way to the original commits…
  8. …tps://github.com/coreutils/coreutils/blob/master/src/opera... Appears to be the case for BSD as well: https://github.com/freebsd/freebsd/blob/master/bin/kill/kill...
    comment by anamexis · 2017-06-16 · in Don't Leave Coredumps on Web Servers
  9. …short write, possible when writing to pipes etc. Update: They fixed that issue with this follow up https://github.com/freebsd/freebsd/commit/2592fbb8
    comment by pixelbeat__ · 2017-06-13 · in How is GNU `yes` so fast?
  10. FreeBSD's yes has just been updated because of this. https://github.com/freebsd/freebsd/commit/1d61762ca37c20ab6f... It's about twice as fast as GNU yes now on my FreeBSD system here.
    comment by tobik · 2017-06-13 · in How is GNU `yes` so fast?
  11. …pretty much the same way. For device permissions though, we have rules support directly in devfs. https://github.com/freebsd/freebsd/blob/master/etc/defaults/... — there's a default ruleset for jails that makes sense (allows log, null,…
    comment by floatboth · 2017-03-29 · in Containers vs. Zones vs. Jails vs. VMs
  12. ▲ 184
    The BSD family tree
    story by jbergstroem · 2017-03-17 · 57 comments
  13. …from freebsd [1]. If you need a generic red-black tree, this is probably your best choice in C. [1] https://github.com/freebsd/freebsd/blob/master/sys/sys/tree....
    comment by attractivechaos · 2017-03-16 · in Principles for C programming
  14. Yep. GNU source: http://git.savannah.gnu.org/cgit/time.git/tree/ BSD source: https://github.com/freebsd/freebsd/blob/f5d95e1f8d32db4ccccf... Busybox source: https://github.com/mirror/busybox/blob/f88e3bfa8ded4f1c7e7d2... Toybox source:…
  15. …2008. Many developers use an official git mirror[0] to stage their work before committing. [0]: https://github.com/freebsd/freebsd
    comment by loeg · 2017-02-15 · in A rift in the NTP world
  16. Doesn't it just use realloc? See __rebuild_environ in https://github.com/freebsd/freebsd/blob/master/lib/libc/stdl...
  17. …like this: pg_dump -U postgres db | ssh user@rsync.net "dd of=db_dump" ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" ssh user@rsync.net "test -f fileThatExists" ssh user@rsync.net du -Ahd2 some/directory…
  18. Forth is still used in places like the bootstrap of FreeBSD 11. * https://github.com/freebsd/freebsd/tree/release/11.0.1/sys/b... Some people want to replace this with Lua.
    comment by JdeBP · 2016-11-27 · in The BASIC Issue with Retro Computers
  19. Longest and oldest I remember: `we_need_to_sort_interface_list` circa 13 years ago: https://github.com/freebsd/freebsd/commit/fdbb382f1cbb42ab48... Aww, looks like someone renamed it a decade later: https://lists.freebsd.org/pipermail/svn-s…
  20. …the number / quality of pull requests received [0] [1] and I find RoI of doing that very low. [0] https://github.com/freebsd/freebsd/pulls [1] https://github.com/torvalds/linux/pulls
    comment by notabot · 2016-01-15 · in Dear GitHub
  21. Just use queue.h, as do all the BSDs. https://github.com/freebsd/freebsd/blob/master/sys/sys/queue...
    comment by jpfr · 2016-01-09 · in Why I Write Games in C
  22. From the bsd init / systemd blog article of today: https://github.com/freebsd/freebsd/blob/master/etc/rc (standing on https://github.com/freebsd/freebsd/blob/master/etc/rc.subr ) made me feel the same.
    comment by agumonkey · 2015-12-21 · in 1% the Code (2001)
  23. There is also an official mirror on Github. https://github.com/freebsd/freebsd
    comment by sigjuice · 2015-07-17 · in Ask HN: Good C codebases to read?
  24. …in some widely deployed performant code: https://github.com/mackyle/sqlite/search?q=linked+list https://github.com/freebsd/freebsd/search?l=c&q=linked+list
  25. …private fork? i couldn't find a public fork on your gh and didn't see you listed as a contributor ( https://github.com/freebsd/freebsd/graphs/contributors ) - was curious to see the improvements you were introducing
  26. …manpage, have you? The idea is completely different. accf_http is... here, just read the source: https://github.com/freebsd/freebsd/blob/master/sys/netinet/a... – if it sees something that looks like an HTTP request and delays returning to…
  27. …of your code and resources outside a single central site like github." ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" Done and done.
  28. …this [2] commit (apparently fixes for performance with many arguments) it was pretty simple. [1]: https://github.com/freebsd/freebsd/blob/master/bin/echo/echo... [2]: https://github.com/freebsd/freebsd/commit/cbf5708f4336b824b8...
  29. Yes, the OSX code seems to come from FreeBSD. Here is the FreeBSD version of the source: https://github.com/freebsd/freebsd/blob/master/lib/libc/gen/... It looks very similar to the current OSX file posted in an earlier comment. Calls…
  30. …utilities that transform the kernel into a complete standard system (e.g. Debian[1]). [0]: https://github.com/freebsd/freebsd/tree/master/usr.bin [1]: https://www.debian.org/doc/debian-policy/ch-binary.html#s3.7 --- Leadership: Linux has a…
  31. …the Gnu project had a kernel - remember GNU was the cathedral in the cathedral and the bazaar. [1] https://github.com/freebsd/freebsd/commits/master [2] https://github.com/torvalds/linux/commits/master
    comment by justincormack · 2014-11-22 · in Ask HN: Can we talk about FreeBSD vs. Linux?
  32. …appears to be DES (or SHA512 if DES isn't available). What makes HN think it's bcrypt? @kogir? [1] https://github.com/freebsd/freebsd/blob/master/lib/libcrypt/...
    comment by baudehlo · 2014-11-13 · in Tell HN: Hacker News Profile Leak (Fixed)
  33. …moved to Subversion. Or if Git is your thing, they have some kind of synchronization set up with https://github.com/freebsd/freebsd .
    comment by xenophonf · 2014-09-19 · in File Systems, Data Loss and ZFS
  34. …this: ssh user@rsync.net s3cmd get s3://rsynctest/mscdex.exe and this: ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" ... and has had a "HN readers" discount for new users for many years now.
  35. github backups: ssh user@rsync.net "git clone git://github.com/freebsd/freebsd.git freebsd" Or at least, that's what I do ...
  36. Sony contributes back to FreeBSD. You can find at least a few examples using GitHub search: https://github.com/freebsd/freebsd/search?q=%22sony+computer... Note: these aren't the only examples of Sony contributing back to FreeBSD, they…
    comment by profquail · 2014-01-19 · in FreeBSD 10.0 is here
  37. …was passed[1], and `clone_file()` fails on everything but btrfs[2]. [0]: FreeBSD `copy_file()`: https://github.com/freebsd/freebsd/blob/master/bin/cp/utils.... [1]: coreutils `copy_reg()`: http://git.savannah.gnu.org/gitweb/?p=coreutils.git…
    comment by loeg · 2013-03-02 · in Heroku Fucking Console
  38. …of SVN I believe was a large factor in the decision. -- [1] https://wiki.freebsd.org/VCSWhy [2] https://github.com/freebsd/freebsd
  39. …to . .. and all local files beginning with . the BSD version of rm will never remove . or .. see: https://github.com/freebsd/freebsd/blob/master/bin/rm/rm.c#L... checkdot is called against all argv: https://github.com/freebsd/freebsd/blob/m…