Category: Uncategorized
-
Temporary mounting zpool from different OS
In case you have different zfs instances, and you need to read one from another, but without altering its metadata. It can be done like this (assuming that other zpool is named “zroot”): # make sure that /zroot exists, following command will mount# all but /ROOT/defaultzpool import -o readonly=on -f -R /zroot zroot# zroot/ROOT/default might…
-
Textmate themes
These are nice websites with big collections:
-
How to Prevent MATE from Auto-mounting Devices
Execute these commands: gsettings set org.mate.media-handling automount-open falsegsettings set org.mate.media-handling automount false To disable automonting for GNOME you should execute: gsettings set org.gnome.desktop.media-handling automount-open falsegsettings set org.gnome.desktop.media-handling automount false
-
If ArgoUML is consuming too much CPU
Most likely problem is newer version of Java. ArgoUML was created for Java 8, so it is good idea to install older java and to use the old version to run ArgoUML.
-
Syslog message routing on Linux
Create new file (if needed) in /etc/rsyslog.d (file’s name should end in .conf). Make sure to add following line to it: if $programname == ‘PROGRAM_NAME’ then /var/log/debug.log if you don’t want this message to go anywhere else, add “& stop” in a separate line after it. If messages go to custom file, don’t forget to…
-
Using efibootmgr on FreeBSD
It seems to work, with the exception that -l switch expects path prefixed with device (for example -l nvd0p1:/efi/boot/bootx64.efi)