Lvm does snapshots
cool, so does BTRFS
not trolling, really, but does btrfs still mangle raid5?
yes, dont use 5/6 on BTRFS
https://btrfs.wiki.kernel.org/index.php/RAID56
So some work has been done but still unsafe for metadata. You can MDADM a raid5 and then just put BTRFS on the partition.
#Edit: Donât think Raid 5 is too high on the list of things to do - no one should be using this with high capacity drives anyway.
or you can run raid5/6 for data and raid 1 for metadata
This is probably the simplest solution.
or just use zfs
I really like ZFS - just not for my desktop. I run it only on servers - donât like how it uses RAM on a workstations - prefer BTRFS on there.
yes, if youâre not booting off of the RAID, and youâre not running a distro that gets fast kernel updates.
and:
There are some parameters to limit ram use, but they only work properly on FreeBSD, and Linux just sometimes ignores them.
From my experience with ZFS on linux, the arc cache wonât evict for other programs either. The only way to evict it is to clear it entirely.
Anyone know if an environment variable or a file is created/touched when a reboot is scheduled?
(i.g. shutdown -r +20 )
So⌠Whatâs the difference between su
and su -
?
Commands under root work under su -
but not su
Alias?
The man page is your friend, su
starts an interactive shell whereassu -
starts a login shell and setup environment variables etc for the user.
-, -l, --login
Start the shell as a login shell with an environment similar to a real login:
o clears all the environment variables except TERM and variables specified by --whitelist-environâ
ment
o initializes the environment variables HOME, SHELL, USER, LOGNAME, and PATH
o changes to the target user's home directory
o sets argv[0] of the shell to '-' in order to make the shell a login shell
This day didnât go to waste, learned something new
Holy shit. Thanks man!
Btw ur a man page
x1,000
User env
Rtfm instead of google, I bet we all do that mistake too often lol.
To quote Joe McCray, who does pentesting and used to use an ascii chart as a mousepad as memo:
âOne night when I was UNBELIEVABLY drunk, I had this idea to type âman asciiâ and all that shit was right there!
I was like DAYUUUMâŚâ
One of my idols. Does great work, smart guy: