Latest activity

  • cracauer@
    Well, then file -s it. What are you waiting for?
  • cracauer@
    cracauer@ replied to the thread Useless Scripts/Programs.
    When I came to Unix my programming ability was ahead of my ability to appreciate the existing tools and libraries. I wrote many a naive replacement for existing stuff, usually crippled versions.
  • MG
    MG replied to the thread Useless Scripts/Programs.
    I'm annoyed by the duplicate ls execution for no reason. That had to be put in a var first. 😆
  • ShelLuser
    ShelLuser reacted to Emrion's post in the thread Useless Scripts/Programs with Thanks Thanks.
    I suppose it's some humour. If it's not, it's a non-sense linux bashing. We don't need this.
  • Crivens
    Clutter in stasis or clutter in motion? Inquiring minds want to know.
  • MG
    MG replied to the thread Useless Scripts/Programs.
    This script keeps the amount of /dev/ada* devices on a computer visible from far away, #!/usr/local/bin/bash while [ : ] do clear (ls /dev/ada? /dev/ada?? 2>/dev/null | sort -V ) | while read l do echo "$l" done figlet "$(ls...
  • Zare
    Zare replied to the thread Other Reviewing a pile of disks.
    Some details - HPFS is not NTFS, no OS/2 or win32 Windows have NTFS root support. The Jan 1998 dating of the laptop aligns with 4GB HDD size, but it is a possibility Windows 2000 or NT4 have been installed at some point. balanga as far as I can...
  • SirDice
    ADHD organization skills 😁
  • D
    If you zoom in, you can glimpse the body of a strangled sysadmin :)
  • cy@
    cy@ replied to the thread Useless Scripts/Programs.
    Consider a job step that created a file for a subsequent step or a step that deleted a file when the previous step returned a non-zero return code. The step still had to run a program in order to let the system handle file disposition in those...
  • MG
    MG replied to the thread Useless Scripts/Programs.
    Trying to find anything but I only seem to have scripts that are theoretically useful or garbage fragments..
  • bjs
    bjs reacted to loveydovey's post in the thread FreeBSD Screen Shots with Like Like.
    Gasp. That's precisely it. There's lots of beautiful hiking and trails in the US, and it's super nice - but also different in nature (from what I gather from pictures).
  • ShelLuser
    It's been a while ago, and I don't quite remember the details anymore. But I've also had a few issues when using the RC structure for "firewall control". pf_reload() { echo "Reloading pf rules." pf_resync } pf_resync() {...
  • ShelLuser
    ShelLuser replied to the thread Useless Scripts/Programs.
    First... to my defense (well, sorta... :-/) this happened in the weekend and I had a few drinks? (uh oh....). So... PostgreSQL isn't just a database server to me, it's a way of life when it comes to storing/processing (bulk?) data from the...
  • Aknot
    service pf reload /var/log/ddosip.log 2>&;1 | tee -a /var/log/ddosip.log Can you check by changing this command to another, without reloading all rules with pfctl -t ddos -T replace -f /usr/local/etc/pf.ddos.list or with flushing table before...
  • Aknot
    Yes i could try that in a script instead. I tried them manually as a quick test right now, this is what I got: # pfctl -t ddos -T replace -f /usr/local/etc/pf.ddos.list 3 addresses added. # pfctl -t ddos -T flush 756328 addresses deleted. #...
  • ShelLuser
    ShelLuser reacted to ruby R53's post in the thread Useless Scripts/Programs with Like Like.
    To contrast with the Useful scripts thread, this is for sharing your most pointless stuff. I'll start: This C program literally just allocates exactly 128 bytes of memory to write a random value to it. It then proceeds to only print where the...
  • D
    Sometimes you're just trying to get something to work, not make it look pretty.
  • ShelLuser
    ShelLuser reacted to atax1a's post in the thread Useless Scripts/Programs with Like Like.
    hey, it's installed as /bin/true on all unix systems and we find use for it occasionally: while true for one.
  • B
    Does anyone use Ventoy's special boot menu? In case you don't know you can set up your own boot menu which comes up first if you have one. You can access it using F6:ExMenu. I use it extensively for booting various versions of FreeBSD and Linux...
  • Alexander88207
    Yes, or you uninstall it and use stable mesa for that part.
  • bjs
    bjs reacted to Alain De Vos's post in the thread FreeBSD Screen Shots with Like Like.
    KDE,
  • SirDice
    I pressed prtscr, and the problem seems to have resolved, even Alt+Fn works now for all the ttys. Thank you.
  • SirDice
    Why doesn't your /tmp have the correct permissions? Is it a tmpfs? Forgot to add the mode=1777 in fstab?
  • SirDice
    Did you know you can use the "prtscr" (Print Screen) key on your keyboard to cycle through the virtual terminals on the console? Does that work? It's a weird situation you have, makes very little sense. Things might have gotten messed up right...
  • M
    Five seconds on Bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277062
  • Crivens
    I once had a pice of customer hardware. When I would switch on the light (neon tubes), the display would be garbled. Totally snowstorm with confetti. Lights out, lights on again - switched to clear display. Toggle lights again, display goes...
  • SirDice
    SirDice replied to the thread High RAM usage - please advise.
    Not supported here. https://forums.freebsd.org/threads/ghostbsd-pfsense-truenas-and-all-other-freebsd-derivatives.7290/ Unused memory is useless. So you're going to find all your memory being used after a while. Mostly caches (process cache...
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    https://yumiusb.com/ I'll leave it here, maybe you can use it. I remember using it a long time ago. And it's like Hiren's BOOT CD, only you can add what you need. It uses the syslinux loader or grub2.
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    1. Mount ISO # mdconfig -a -t vnode -f /home/user/hiren.iso -u 0 # mount -t cd9660 /dev/md0 /mnt 2. Copy and edit # mkdir /tmp/hiren_new # cp -a /mnt/. /tmp/hiren_new/ 3. Create custom ISO # mkisofs \ -iso-level 3 \ -udf \ -J -R \ -V...
  • graudeejs
    ntpdate -v -b pool.ntp.org export SSL_NO_VERIFY_PEER=1 pkg bootstrap
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    ahh this is not a FreeBSD iso and it should be a bootable ISO.
  • B
    balanga replied to the thread Other mounting iso as r/w.
    I'm just trying to add something to Hiren's BOOT CD. I will only be using it to boot via Ventoy.
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    if you don't need a bootable ISO: mkisofs -J -R -V "MY_LABEL" -o /home/user/my_new_custom.iso /tmp/my_new_iso
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    Please, can you tell me what kind of ISO you're doing? do you want it to be bootable?
  • B
    balanga replied to the thread Useless Scripts/Programs.
    IBM have made milllions out of this program.
  • B
    balanga replied to the thread Other mounting iso as r/w.
    mkisofs: Uh oh, I cant find the boot image 'boot/cdboot' inside the target tree. I guess I need to copy /boot/cdboot to /tmp/my_new_iso/
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    -b boot/cdboot # mkisofs -J -R -b boot/cdboot -no-emul-boot -V "MY_LABEL" -o /home/user/my_new_custom.iso /tmp/my_new_iso
  • B
    balanga reacted to serjsk8's post in the thread Other mounting iso as r/w with Thanks Thanks.
    https://docs.freebsd.org/en/books/handbook/disks/#mkisofs
  • B
    balanga replied to the thread Other mounting iso as r/w.
    mkisofs: Missing boot image name, use -eltorito-boot option.
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    https://docs.freebsd.org/en/books/handbook/disks/#mkisofs
  • B
    balanga reacted to serjsk8's post in the thread Other mounting iso as r/w with Thanks Thanks.
    Something like this... I haven't done this in a long time 1. Mount ISO # mdconfig -a -t vnode -f /home/user/my.iso -u 0 # mount -t cd9660 /dev/md0 /mnt 2. Copy ISO files and modify # mkdir /tmp/my_new_iso # cp -R /mnt/* /tmp/my_new_iso/ #...
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    Something like this... I haven't done this in a long time 1. Mount ISO # mdconfig -a -t vnode -f /home/user/my.iso -u 0 # mount -t cd9660 /dev/md0 /mnt 2. Copy ISO files and modify # mkdir /tmp/my_new_iso # cp -R /mnt/* /tmp/my_new_iso/ #...
  • B
    balanga replied to the thread Other mounting iso as r/w.
    How do I create a new ISO after amending the copied contents?
  • B
    balanga reacted to serjsk8's post in the thread Other mounting iso as r/w with Thanks Thanks.
    Hello You can't mount an iso in R/W mode. You need to mount the ISO, copy the contents to another folder, make changes, and then burn the new ISO.
  • serjsk8
    serjsk8 replied to the thread Other mounting iso as r/w.
    Hello You can't mount an iso in R/W mode. You need to mount the ISO, copy the contents to another folder, make changes, and then burn the new ISO.
  • B
    Is there any way to make an mdconfig backed file R/W? I have mounted an ISO file using '-t 9660' and would like to be able to change it. Is that possible?
  • H
    Quite possibly, NTFS, HPFS and exFAT all share the same ID, and it's a pretty safe bet that this isn't an exFAT disk. If it were me personally, I'd image the entire disk, or at least all of the partitions and mount those. It's a fairly small...
  • Aknot
    And this is the script running every 15 minutes via crontab: #!/bin/sh now=$(date) echo -e "$now - Adding DDoS addresses to PF table..." >> /var/log/ddosip.log awk '$11 == "404" && index($9, "/attacked-url-1") {print $1}'...
  • B
    balanga replied to the thread Other Reviewing a pile of disks.
    I suspect that in reality it is an HPFS partition.
Back
Top