Skip to content

u/st3500

In this archive from Jan 2015 to May 2017

6
posts
86
comments
4
media
830
score

Remove the NIC and any storage media, and only run a live system. Make sure to only operate the device inside of some sort of Faraday cage to prevent any would-be adversaries from reading potentially compromising data revealed by magnetic waves emitted by the electronics (such as keystrokes).

On the other hand it's probably backdoored at a hardware level so you might as well melt the whole thing down with some thermite.

60 points

This is the biggest problem I see as far as systemd goes. Yes, it seems to handle the the init processes far better than previous SysV-style init systems, but why does it also have to come with daemons for nearly everything imaginable?

10 points

It took me ages to figure out what the heck Cygwin was/did.

All I knew was "linux stuff on windows", and when I was stuck at work with a Win7 machine I figured I'd give it a try, at which point it was a lot easier to comprehend than just hearing the vague descriptions of it that are floating all around for some reason.

5 points

The Cygwin site explains it better than I could:

What...

...is it?

Cygwin is:

• a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.

• a DLL (cygwin1.dll) which provides substantial POSIX API functionality.

...isn't it?

Cygwin is not:

• a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.

• a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

It's more of a compatibility layer than an emulator.

10 points

My current backup setup is a daily cron job based on https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync but backs up remotely to an ssh server and writes the rsync output to a crude log file in case I want to check on anything later:

/etc/cron.d/backups 
#m	h	dom	mon	dow	user	command
36	21   	*	*	*  	root    echo $(date) >> /var/log/backups.log; rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/home/$USER/store/*","/swapfile","/lost+found"} /* autobackup@192.168.1.100:/mnt/bak/$HOSTNAME/current >> /var/log/backups.log; echo -en "\n\n" >> /var/log/backups.log;

I'm considering adding another job on the server to make a weekly copy of the incremental backups so I can go back up to a week if I really screw something up.

3 points

By the way, 300GiB is far too much for /usr (unless you meant to say /home in your original post).

/usr usually doesn't get too large so it would be fine on a much smaller partition (10-20GiB should be more than enough).

For reference, my primary system has everything on a 20GiB partition except for /home, which gets the rest of the drive. Only ~9 of those 20 GiB are used, and even then ~2GiB is the pacman cache, so that could easily be cleared out if space became an issue.

LVM is also something to consider, in case you discover in the future that you didn't partition the disk ideally and want to make changes without having to backup/reinstall everything.'

I also use a swapfile instead of a swap partition, since it's easier to resize/remove if necessary without messing around with the partitioning/LVM. Performance might be a bit slower with a swapfile, but if you're at a point where you're using swap space heavily then that small boost is not your primary concern.

1 points

Firstly, don't use tutorials for Arch on random sites, since they're likely to be out of date; the Arch Wiki will almost certainly have a more in depth and up-to-date page (eg. the Beginner's Guide for installations) for whatever you're looking for.

https://wiki.archlinux.org/index.php/VirtualBox#Installation_steps_for_Arch_Linux_guests

The thing that tripped me up a few times during early attempts at installing Arch VMs was the lack of the xf86-video-vesa package, which usually let me get x up and running.

26 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.