New answers tagged freebsd
In FreeBSD, you have to explicitly allow services outside the core system to start. In your /etc/rc.conf add the following line: avahi_daemon_enable="YES" (You might also need avahi_dnsconfd_enable="YES".)
Yes, for PC-BSD you can install programs using the Appcafe, packages or ports. They MAY conflict. I exclusively use packages (or ports) and avoid the Appcafe at all costs. I don't remember why, just that I had issues with it years ago. The package system is installed by default. If you need ports you can portsnap them or git them (see what I did there??) ...
Use the sharenfs property. e.g. zfs set sharenfs=on filesystem From the solaris zfs man page (http://docs.oracle.com/cd/E19253-01/816-5166/6mbb1kqo8/index.html) sharenfs=on | off | opts Controls whether the file system is shared over NFS, and what options are used. A file system with a sharenfs property of off is managed through traditional ...
Not a direct answer to your question, but you could cryptsetup open, resize2fs to shrink your encrypted filesystem, cryptsetup close, parted resizepart to shrink the partition and mkpart a new one in the freed space, mkfs to create an unencrypted filesystem suitable for hassle-free data exchange. If you decide on that route you have to keep in mind that the ...
It is as the LWN article states "when you write out a block, you lock it and iterate through the records of individual changes to this block. For each individual change whose dependencies haven't yet been satisfied, you undo that change to the block, and then write out the resulting block." However the part of visualizing this whole process was difficult and ...
As of FreeBSD 10.3, you can achieve this by temporarily modifying /etc/rc.d/root to run /sbin/fsck -y /. Here is the current script, modified to include that command commented out; uncomment to perform the fsck. #!/bin/sh # # $FreeBSD: stable/10/etc/rc.d/root 177062 2008-03-11 17:21:14Z delphij $ # # PROVIDE: root # REQUIRE: fsck # KEYWORD: nojail . ...
Summary for future reference: The shebang points to /bin/bash but the source command makes the code run in a current shell which turned out to be csh. The code works on my bash on Debian and it doesn't work on my csh there, when invoked with source filename.sh. Yet it looks like the OP's intention was to run it with bash. To make it run with bash as ...
You can use make.conf. See an old announce: The following variables can be used in make.conf to configure options. They are processed in the order listed below, i.e. later variables override the effects of previous variables. Options saved using the options dialog are processed right before OPTIONS_SET_FORCE. OPTIONS_SET - List of options to enable ...
You can use Vim in Ex mode: ex -sc '1i|<!DOCTYPE html>' -cx file 1 select first line i insert text and newline x save and close
A workaround is to calculate the offset of the BSD partition within the logical partition and use a loop device with offset: mount -t ufs -o loop,offset=8192,ro,ufstype=ufs2 /dev/sda6 /mnt
Probably you have been confused by different harddisk naming convention in Linux and FreeBSD. From your output one can clearly see that Linux has detected your ufs partition and it is /dev/sda6. So, you just need to do the following sudo modprobe ufs sudo mount -t ufs -o ufstype=ufs2 /dev/sda6 /mnt
Client doesn't need to know IP address of the DHCP server. Client will send initial packet to all hosts within its subnet using broadcast address 255.255.255.255. For further reading you may refer to official documentation of DHCP protocol https://tools.ietf.org/html/rfc2132 To restart dhcp client on particular network interface (em0in your case), you may ...
To make the console mode permanent, add a line to /etc/rc.conf: allscreens_flags="MODE_332" (substitute your desired mode number for 332 of course.)
FreeBSD's umount doesn't have a -l option. In addition, you need to use smbfs instead of cifs: sudo umount -at smbfs
Top 50 recent answers are included