Questions tagged [bsd]

Berkeley Software Distribution is a UNIX-derived operating system developed at the University of California from 1977 through 1995.

Berkeley Software Distribution is a UNIX-derived operating system developed at the University of California from 1977 through 1995.

If your question refers to a current BSD-derived operating system, consider using a more specific tag such as

107 questions
7
votes
1 answer

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 openjdk7-jre openjdk8 openjdk8-jre ➥ How does one…
Basil Bourque
  • 851
  • 1
  • 11
  • 22
7
votes
3 answers

Fast way of knowing real directory size on linux/bsd

What is the fastest way of computing real directory size? I somehow catch myself needing that a lot. Simply doing: # du -hs /dir Is too slow. Is there any service I could run which would periodically compute directory sizes and cache them for…
Karolis T.
  • 2,719
  • 7
  • 33
  • 45
6
votes
5 answers

BSD - Remove non-ascii characters from all files in a directory recursively

I'm trying to migrate a bunch (300GB+) of files from a FAT32 drive to my freeNas ZFS filesystem but every command I throw at it (tar,pax,mv,cp) throws an 'invalid argument' when it encounters a non-ASCII filename - it's usually something that's been…
Dan
  • 281
  • 4
  • 11
6
votes
1 answer

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: Fixed Direct Access SPC-3 SCSI device da0: 300.000MB/s transfers da0:…
larsemil
  • 299
  • 1
  • 3
  • 9
6
votes
2 answers

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a given filesystem is mounted at multiple…
MysteryMoose
  • 281
  • 1
  • 2
  • 6
6
votes
2 answers

Which BSD best suited to run as VMware guest?

I want to deploy a VM to serve DNS and files (via NFS) to other *nix systems in my infrastructure. Due to reasons beyond my control, I need a very light OS, so I naturally choose the *BSD family. Can you recommend which *BSD is the best VMware…
pepoluan
  • 5,038
  • 4
  • 47
  • 72
6
votes
3 answers

netcat -e: the GAPING_SECURITY_HOLE

Why does the BSD version 1.10 of nc disable the -e option found in other, so-called insecure distributions when the same dangerous feature could be trivially achieved as follows even with the 'secure' version of nc: $ # Machine A $ mkfifo pipe $ nc…
Harry
  • 403
  • 1
  • 5
  • 12
5
votes
2 answers

Using bash shell when logging into FreeBSD ssh

I'm searching a way to be sure my commands are executed by bash on some FreeBSD 11 machines that use csh as default shell. The following is my code that works on Linux CentOS / Debian / MacOS X / pfSense 2.3 (running on FreeBSD 10.3) and even…
Orsiris de Jong
  • 243
  • 1
  • 10
5
votes
1 answer

BSD 50% interrupt utilization in irq0/clock

On OpenBSD on an Atom 450, with HPET configured in the BIOS and not, also with Hyperthreading/ACPI on-off, nothing seems to make a difference. Here's my vmstat -iz # vmstat 2 procs memory page disk traps cpu r…
5
votes
3 answers

Data recovery options for unix file systems

What popular and tried data recovery options are there? I know of these (none of which have GUIs afaik): foremost - Forensics application to recover data scalpel - A Frugal, High Performance File Carver ext3grep - Tool to help recover deleted files…
Karolis T.
  • 2,719
  • 7
  • 33
  • 45
4
votes
5 answers

Installing and setting up SVN on FreeBSD Server

Firstly thank you to everyone who responded to my earlier question - https://stackoverflow.com/questions/1393827/setting-up-svn-web-based-services-vs-your-own-svn-server As much as I would prefer to use a web based solution, the svn server is to be…
roosal
4
votes
2 answers

FreeBSD 10 won't boot to ZFS root after power failure

While installing new hardware today, I involuntarily disconnected the power to one of our servers. This server is running FreeBSD 10 with Root-on-ZFS as offered by the installer. It has a total of 36 disks, distributed into two RAID-Z2 which belong…
Sarek
  • 376
  • 2
  • 3
  • 9
4
votes
1 answer

How do I securly update a *BSD system?

Security is a major concern. Every major Linux distribution uses signed packages. But the FreeBSD systems in the office downloading unsigned packages/ports via FTP. Is there a solution that would allow me to securely update a *BSD on a malicious…
Rook
  • 2,655
  • 6
  • 27
  • 35
4
votes
8 answers

Critical (Unixlike) Distros for Sysadmin Hopefuls to Have Experience With

I'm trying to learn to be a Unix/Linux Sysadmin, and am hoping to get some hands-on experience by setting up a few installs (VMs, old comps, and the like) at home and practicing administering them. I was wondering, in the experience of those on this…
Gnats
  • 43
  • 4
4
votes
2 answers

How to tell if a freebsd jail is up to date?

I've set up a "Service Jail" in FreeBSD 8.0 according to the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html). After upgrading the host to the latest patch level and then performed a jail-upgrade,…