Skip to content

Instantly share code, notes, and snippets.

View KenwoodFox's full-sized avatar
💽
wstool update -t src

KenwoodFox KenwoodFox

💽
wstool update -t src
View GitHub Profile
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=7e44ec85-9ca1-4a44-bad9-4324e03f5317 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
# mount -av
/ : ignored
/boot/efi : already mounted
none : ignored
mount.nfs: timeout set for Wed May 27 15:50:31 2020
mount.nfs: trying text-based options 'vers=4.2,addr=10.85.3.120,clientaddr=10.85.3.166'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.1,addr=10.85.3.120,clientaddr=10.85.3.166'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.0,addr=10.85.3.120,clientaddr=10.85.3.166'
# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating iocage-plugins repository catalogue...
iocage-plugins repository is up to date.
All repositories are up to date.
Checking for upgrades (27 candidates): 100%
Processing candidates (27 candidates): 100%
Checking integrity... done (3 conflicting)
- openldap-client-2.4.50 [FreeBSD] conflicts with openldap-sasl-client-2.4.48 [installed] on /usr/local/bin/ldapadd
# zpool status freenas-boot
pool: freenas-boot
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect reduced performance.
action: Replace affected devices with devices that support the
configured block size, or migrate data to a properly configured
pool.
scan: scrub repaired 0 in 0 days 00:01:03 with 0 errors on Thu May 21 03:46:03 2020
config:
# ls -l
total 53037
-rwx------+ 1 www Media 9 May 31 02:08 Another doc.md
drwx------+ 234 joe Media 281 May 22 02:40 Documents
-rwx------+ 1 www Media 73 May 31 01:59 MyTestTextDoc.md
# su joe
% ls -l
ls: Another doc.md: Permission denied
ls: MyTestTextDoc.md: Permission denied
/]# getfacl MyTestFile.md
# file: MyTestFile.md
# owner: www
# group: Media
owner@:rwxpDdaARWcCos:------I:allow
user:www:rwxpDdaARWcCos:------I:allow
everyone@:--------------:------I:allow
/]# getfacl README.md
# file: README.md
# owner: joe
-rwxrwx---+ 1 joe Media 0 May 31 19:58 File i made that nextcloud cant see.txt
-rwxrwx---+ 1 www Media 1 May 31 19:58 File That Nextcloud made.md
]# getfacl File\ i\ made\ that\ nextcloud\ cant\ see.txt
# file: File i made that nextcloud cant see.txt
# owner: joe
# group: Media
owner@:rwxpDdaARWcCos:------I:allow
group@:rwxpDdaARWc--s:------I:allow
everyone@:--------------:------I:allow
~# bridge vlan show
port vlan ids
eno1 1 PVID Egress Untagged
eno2 1 PVID Egress Untagged
vmbr0 1 PVID Egress Untagged
vmbr1 1 PVID Egress Untagged
[usbrules=100]
add path 'usbctl' mode 660 group uucp
add path 'usb/*' mode 660 group uucp
add path 'ttyU*' mode 660 group uucp
[devfsrules_jail_unhide_tapes=5]
add path sa0 unhide
add path pass0 unhide
add path ch0 unhide
add path pass1 unhide
device_tracker:
- platform: nmap_tracker
hosts:
- 10.85.3.0/24
- 10.85.1.0/24
new_device_defaults:
track_new_devices: true
scan_options: -F –host-timeout 5s -sS