News for hackers. Stuff that matters.
Re:No POST after rm -rf / by pilif on Monday February 01, 2016 @01:09AM (#11010089)
Part of the UNIX philosophy is to expose as a file what can be exposed as a file. That way, open, read, write and close is all you need.
Re:No POST after rm -rf / by retrogradeorbit on Monday February 01, 2016 @03:25AM (#11010508)
Is it? I understand there are many things in UNIX that are exposed as file like objects, but is it part of the philosophy that this should be done with anything that it _can_ be done on? Can you cite me any sources?
Re:No POST after rm -rf / by protomyth on Monday February 01, 2016 @10:25AM (#11012218)
I've heard and read that for Plan 9, but I too would like the source for UNIX.
Re:No POST after rm -rf / by em3rgent0rdr on Monday February 01, 2016 @04:35AM (#11010721)
Everything a file, even the computer itself: https://media.giphy.com/media/P7PmvHY6kzAqY/giphy.gif
Re:No POST after rm -rf / by protomyth on Monday February 01, 2016 @01:25AM (#11010133)
That's not a real good reason given the damage and since we're talking about systemd.
Re:No POST after rm -rf / by ustolemyname on Monday February 01, 2016 @01:59AM (#11010251)
Given that much of the criticism of systemd is based on, "it's not like Unix," that certainly seems like enough of a reason to me. People would complain even more if systemd required a custom library to install your bootloader than they do when calling rm -rf / on a system without GNU extensions (--preserve-root by default) bricks a motherboard.
Re:No POST after rm -rf / by protomyth on Monday February 01, 2016 @10:24AM (#11012214)
FreeBSD uses a library and I don't think it suffers from criticism that its not UNIX. UNIX isn't Plan 9, and exposing something that can brick your system in the filesystem is just irresponsible. You can blame the vendor, but it should have never gotten as far as the vendor's bad decisions.