top | item 46804754

A web server on a single floppy disk

118 points| ActionRetro | 1 month ago |floppy.ddns.net | reply

45 comments

order
[+] wowczarek|1 month ago|reply
All the way up to 2004 or 2005, my home router was an old 486dx box running FREESCO (https://freesco.info/) - and it was, indeed, booting from a single floppy. Linux 2.0.something.

To my surprise I discovered today that FREESCO was still releasing updates all the way until 2014.

[+] burnt-resistor|1 month ago|reply
As a purveyor of floppy disk technology including MFM copiers, SCSI FDs, PS/2 FDs, and NOS ED disks and FDs, I can say that floppies suck and should be assumed to be bad and that any success of reading/writing/formatting is indeed a miracle. Any reading or writing of them will surely lead to their failure soon. And, they will fail just sitting there too.

Back in the day, I did try inducing errors into 3.5" HD floppies by waving a cheap, small voice-coil speaker magnet over a floppy and comparing its contents sector-by-sector to a disk image stored previously. I was only able to do this after opening the shutter and touching the magnet directly to the diskette surface.

PSA: Never write to 5.25" 360K floppies using 1.2M drives because the created track width is too small to be picked up by 360K drives.

[+] h4kunamata|1 month ago|reply
Two decades ago, my former manager saved the day after a university hardware firewall went down.

Over the phone, he instructed the guy to download this floppy disk firewall, specify the ports, traffic direction, basic stuff. Boot the computer and voila, the university network was up again giving the teams hours to get things sorted out.

I forgot its name now but many business would run this floppy disk firewall coz it just worked, once booted it would run "forever".

[+] dddw|1 month ago|reply
Could QNX do this?
[+] accrual|1 month ago|reply
Perhaps no floppy drive has ever had so many patiently waiting for it to complete its work.
[+] bot403|1 month ago|reply
If you like this you'll love the web server on tape. Navigation forward works great but if you hit the back button it takes a while to rewind.
[+] burnt-resistor|1 month ago|reply
It would be even longer of a wait if it stopped to play Floppotron renditions of music for web users as analog audio streams.
[+] asdefghyk|1 month ago|reply
Around year 2000 I had a camera that stored its images on a floppy disk.
[+] Linkd|1 month ago|reply
Funny enough, that's the camera OP used to take the pictures in the floppy-disk hosted blog!

I'm a big fan OP, cool project!

[+] x13|1 month ago|reply
an Apple camera perhaps? I loved that camera
[+] reconnecting|1 month ago|reply
Hope the hn post doesn't result in a bad sector on this floppy.
[+] GeorgeTirebiter|1 month ago|reply
Interesting history, which does seem to be true: In the Beginning, the reliability of floppies was really quite good. Over time, as the mass market developed, however, quality went down as people shaved pennies and fractions of pennies. Storied brands such as Sony ended up being bad sector magnets (well, you know what I mean...).

My big secret for those of us still using floppies (USB floppies are a steal!) --- get Maxell NOS; they're about $3 per diskette now, but I have beat them hard and they keep going. Of course, I also had a batch of poorly-stored floppies that would not even turn (!) from one vendor (cheap, tho...) and they almost ruined one drive.

My rule now is: once a single sector goes kaput, make a new working copy from your backup (you HAVE a backup, right???), mark the bad sector of the failed disk, and put it in the 'BAD' pile. I have not yet had a sector on a Maxell 1.44 diskette go bad. Several SONY diskettes however are in that pile.

Note that the head drags on the surface of a floppy, so you're always losing a little; what that closeness does, tho, is allow phenomenal bits-per-square-inch. The coatings are very good, binders are good, magnetic properties are excellent. And the head widths (both sides, after all) are small. So you get formatted 80 cylinders of 18,432 bytes per cylinder MSDOS-compatible capacity, at that 5 revolutions per second ( 300 RPM, but gosh, RPS is a better unit here...) speed.

The floppy drive is an incredible chunk of engineering. It's unfortunate that Zip 100 and Zip 250 arrived so relatively late in the game.

[+] prmoustache|1 month ago|reply
Hopefully the floppy is read only at boot time and we hit the copy on ram.
[+] pengaru|1 month ago|reply
In my teens I ran a combination ipmasq(NAT, this was back when we called it ip masquerading) firewall and dial-up POP for my girlfriend at the time off a scrap 386 motherboard some ISA NICs and a 3.5" 1.44MB floppy drive. It was packed full of SIMMs, I don't remember how much probably 8MB RAM.

The userspace was all in the initramfs, linux booted directly without any LILO or GRUB (this was back in the days the kernel included its own boot loader), and the floppy drive was totally out of the picture once the system was up and running from RAM.

Prior to adding the dial-up aspect for my gf to share my internet from her home, the init was deliberately exited which technically panicked the kernel. Basically it was a /linuxrc shell script setting up the networking then deliberately breaking userspace - not even PID1 existed while it was just my firewall. The kernel keeps doing networking stuff even if panicked.

Fun times.

[+] viraptor|1 month ago|reply
> linux booted directly without any LILO or GRUB (this was back in the days the kernel included its own boot loader)

You can still do that if your machine supports coreboot.

[+] miladyincontrol|1 month ago|reply
> this was back in the days the kernel included its own boot loader

I mean hey these days you dont necessarily need some external bootloader either, on uefi systems the kernel can boot itself thanks to the efi stub.

[+] WesolyKubeczek|1 month ago|reply
I also remember this amazing tiny thing, tomsrtbt. It was packed full of tools, and also had an http server in it.
[+] Duplicake|1 month ago|reply
That was some fast video editing!
[+] KellyCriterion|1 month ago|reply
720 kb SD or 1.44 MB DD ?

:-D

[+] wumms|1 month ago|reply
Sorry, nitpick: 720kB DD 1.44MB HD
[+] geerlingguy|1 month ago|reply
One could cheat and run a SuperDisk drive, with 120 MB! Though that's not in the spirit of the game.
[+] reaperducer|1 month ago|reply
720k? In my day floppy disks had 96K and we liked it!