Do you have compression enabled? Often people have faster CPU than disk, even ssd. If the data is highly compressible, reading it back can be faster than a faster filesystem without compression.
The easiest way would be using VMs like others said. However that is a bit heavy of a solution, but it is easy.
You could also use network namespaces. I have this set up, however I would not recommend it. Due to the way I want the networking done on my machine, I have essentially replaced a typical network manager with a pile of scripts. To set up the namespaces routing, interfaces and firewall rules. There is basically no network manager that supports namespaces and a few other things I want to use.
Once you start to get off the beaten path with Linux networking, it gets hairy pretty quick.
find . -type d -exec chmod nnn {} \; where nnn if the permissions for directory. probably 775. 664 for files with f instead of d.
. means current dir. So be at the root where you want to fix or specify with full directory. you can do d or f for files and directory. See the man page for more info.
There is no guarantee that disks show up in the same order in /dev instead you should identify them every time when partitioning and such, then use gpt uuids whenever you can for everything else.
no
reboot your system with the disk in it. then run the lsblk command. that will show all the normal partitions as sda1,sda2,sdb1,sdb2,etc... If you are using lvm it is more complicated
there is no actual trash on linux. any trash you may see is entirely a construct of that DE or tool. There have been some efforts to create a standard for doing trash, but for the most part. assume that when you rm or delete something that it is gone forever right away.
The most reliable way would be to use another computer like a Raspberry Pi to send a wake on lan frame to your machine at the time you want. You could schedule the wake on lan program on the second machine with cron or something similar.
Wether or not you can use static ARP to effectively mitigate ARP spoofing and other lower level network attacks will depend on how much control you have over the whole network. Plus if you have no way to lock down a MAC address to a specific interface you are still open to various attacks.
Now Linux... Using tools like ip or iptables or nft will not make permanent changes to the configuration of the kernel. This is one of the annoying things about Linux. there is no single way to temporarily or permanently persist changes. ifcfg scripts for example configure the network when interfaces go up or down. Network Manager does the same thing but is configured differently. One those changes have been made. You can manaully make additional changes that will be lost on boot.
Now back to ARP. Not all network daemons are capable of even doing static ARP. And even if you did choose one that did do it, there is nothing stopping something else from changing it behind it.
Now let's assume we have static ARP working on just your local machine. Other machines on the current segment can spoof or change their mac addresses, even to one that is a duplicate. This is a DoS at a minimum.
Unless you have control over the entire broadcast domain, you are wasting your time.
Do you have compression enabled? Often people have faster CPU than disk, even ssd. If the data is highly compressible, reading it back can be faster than a faster filesystem without compression.
Try rebooting the machine. Also, you may need to install additional software for specific devices. Like some gamepads require additional software.
The easiest way would be using VMs like others said. However that is a bit heavy of a solution, but it is easy.
You could also use network namespaces. I have this set up, however I would not recommend it. Due to the way I want the networking done on my machine, I have essentially replaced a typical network manager with a pile of scripts. To set up the namespaces routing, interfaces and firewall rules. There is basically no network manager that supports namespaces and a few other things I want to use.
Once you start to get off the beaten path with Linux networking, it gets hairy pretty quick.
Try running mandb as root. There may be a switch for mandb to clear cache and regen as well.
find . -type d -exec chmod nnn {} \;where nnn if the permissions for directory. probably 775. 664 for files with f instead of d.. means current dir. So be at the root where you want to fix or specify with full directory. you can do d or f for files and directory. See the man page for more info.
Just know that you can end up with a messed up filesystem on the backup if the disk is mounted while you copy the block device.
There is no guarantee that disks show up in the same order in /dev instead you should identify them every time when partitioning and such, then use gpt uuids whenever you can for everything else.
no
reboot your system with the disk in it. then run the lsblk command. that will show all the normal partitions as sda1,sda2,sdb1,sdb2,etc... If you are using lvm it is more complicated
there is no actual trash on linux. any trash you may see is entirely a construct of that DE or tool. There have been some efforts to create a standard for doing trash, but for the most part. assume that when you rm or delete something that it is gone forever right away.
https://github.com/systemd/systemd/issues/8782
The most reliable way would be to use another computer like a Raspberry Pi to send a wake on lan frame to your machine at the time you want. You could schedule the wake on lan program on the second machine with cron or something similar.
Wether or not you can use static ARP to effectively mitigate ARP spoofing and other lower level network attacks will depend on how much control you have over the whole network. Plus if you have no way to lock down a MAC address to a specific interface you are still open to various attacks.
Now Linux... Using tools like
iporiptablesornftwill not make permanent changes to the configuration of the kernel. This is one of the annoying things about Linux. there is no single way to temporarily or permanently persist changes. ifcfg scripts for example configure the network when interfaces go up or down. Network Manager does the same thing but is configured differently. One those changes have been made. You can manaully make additional changes that will be lost on boot.Now back to ARP. Not all network daemons are capable of even doing static ARP. And even if you did choose one that did do it, there is nothing stopping something else from changing it behind it.
Now let's assume we have static ARP working on just your local machine. Other machines on the current segment can spoof or change their mac addresses, even to one that is a duplicate. This is a DoS at a minimum.
Unless you have control over the entire broadcast domain, you are wasting your time.
ip -6 a
ip -6 r sh
ip -6 nei
ping 2600:: and every combination of ping/ping6 and putting 2600:: in square brackets
Some distro use a ping6 tool instead of having it all in ping and some distro ping tool require putting the address in square brackets
Edit: also
iptables-save variant for v6
nft list ruleset
Do you have pulseaudio installed?
End of this list.
Back to top