hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.4K
active users

#busybox

1 post1 participant0 posts today
Replied in thread

@burnoutqueen the problem is that #enforcing #copyleft doesn't get you a single line of code improvements.

In an ideal world it would, but we all know that's not the case.

  • Consider #BSD-licensed alternatives a competiton, which is more likely to get contributions back (again, Rob Landley can most likely attest to that) from corporations and see it as a motivation for copyleft-licensed projects to step up their game!
Replied in thread

@target

@cstross isn't even joking, I think.

Both BusyBox and ToyBox actually do have an init program, a getty program, and a login program.

BusyBox also has the Almquist shell. ToyBox has a Landley shell. BusyBox even has runit.

It is possible to have a system where even if you are doing various things in a shell you're just invoking the same program image over and over, using all of the same code that is there in process #1.

Continued thread

GOOOOD NEWS EVERYONE! (/ref)

#Bim (although not in #Kuroko fully but still uses Kuroko to an extent) and Kuroko itself work in #Musl on a bare kernel! I'm only using #BusyBox and util-linux (which are the only non-Kuroko tools)! Everything including the #Linux kernel is compiled to Musl.

I'm calling this Lunaris. Yes I reuse names from failed projects of mine a lot. This is very volatile. One wrong move and I need to remake the rootfs or the disk image or packages... I hate it.

Replied in thread

@AugierLe42e I assume that port is fixed to a specific USB Hub / Controller / Port and the button is similarly linked to some GPIO / I²C / PS/2 port...

  • What you can do is check lsusb for #USB devices and see if the specific port in question has a USB mass storage device or SATA bridge chip attached to it when said button is pressed.

If #QNAP used #Linux they should've provided those drivers / scripts as part of their #GPLv2 obligations to buyers/owners of said #NAS boxes.

  • Just don't expect any of that code to be useable, as @landley can attest from the #BusyBox license enforcement…

Either way if you can reliably identify the port & detect the button presses that should be sufficient to build like a #bash or #python script to basically detect the drive, mount it and cp -r /dev/$DRIVE/ /home/copied_drives/$LABEL/

  • It may need some fiddling and will most likely only work reliably on unencrypted drives with ext2-ext4, btrfs, ntfs, fat32, exfat filesystems...

Pretty shure you'll have to tweak a bit unless you want to use /dev/by-uuid/$UUID and the UUIDs of the partitions as name...

❤️ With all the installations on #GNU/#Linux (servers, vms, desktop, ... ), #BSD and #Unix systems, #MacOS, #Microsoft #Windows and WLS) I feel comfortable to claim there or way more than 1 billion installations of Vi*; often without people knowing about it.❤️

❤️ Thank you Bram Moolenaar, Christian Brabandt, the whole #Vim community, and all the people from projects like #NeoVIM, #Nvi, #Busybox #Vi, who develop and maintain their #vim flavour. ❤️

k7r.eu/thank-you-for-the-edito ❤️ #ilovefs ❤️

Hey #linux community, I wanna play around with more distros and stuff. Particularly ones that isn't #systemd but might use #busybox. Right now I have #voidlinux & #devuan in my head.

I mean I could just go to #distrowatch & use filters but I like hearing people's personal experience about these distros and I'll admit I'm really lazy browsing forums and discussions right now. 😅

I've already tried #gentoo, #alpine, and #slackware. Also no #linuxfromscratch #lfs. That's for waay later taters.