Skip to content

u/ManusX

In this archive from Feb 2015 to Apr 2023

6
posts
104
comments
0
media
397
score

A microkernel typically only implements the bare minimum that has to run in kernel mode, mostly process and memory management and a bit of Inter Process Comunication (IPC). Network stack, device drivers and file systems live in the user space.

This means, that when some drivers or the network stack (or whatever else is usually running in kernel space of monolithic kernels) crashes just this part of the system crashes, not the kernel itself (and thus the whole Computer). Another advantage is the small code base of microkernels, according to wikipedia most of the time less than 10000 LOC - Compared to almost 20 million LOC in the Linux kernel. This allows a more profound verification of the kernel code.

3 points

If using an earlier version of Alpine Linux, you'll need to install the files and bootloader manually, as described below.

From which I conclude: Yes, this will install some bootloader.

Edit: Or you know, you could read the wiki page you just linked yourself.

1 points

The security implications trim has are probably neglible, depending on who you are defending against. If you defend against the NSA or similar, you probably should be worried about this information leakage. If you are worried about your local friendly police force or your mum, that might not be a problem.

An unencrypted /boot-partition might allow an attacker to patch your kernel or initrd with malicious code and thus stealing your passphrase. However, this requires physical access to your PC at least two times (first time insert malicious code, second time steal the harddisk and recover the passphrase), so again you should be safe if a friendly SWAT-team raids your house.

You probably should follow installation-guidelines directly from the arch wiki, there you will find everything you need to know and it might be more up to date than some two year old blog-post.

2 points

It all boils down to the threat model.
"Want my privacy, but if NSA found out who produced those dank memes nothing would happen" vs. "If the NSA finds out I'm the guy who posting NSA insider news on the darknet I'm dead".

2 points
[[ $XDG_VTNR -eq 1 ]] && exec i3
[[ $XDG_VTNR -eq 2 ]] && exec awesome
[[ $XDG_VTNR -eq 3 ]] && sxhkd & && exec bspwm

This is what my .xinitrc looked like, when I tried out different WMs, start i3 on TTY1, awesome on TTY2 and bspwm on TTY3

5 points

Sorry for taking so long to respond!

It's not that complicated.
Encryption/Decryption is done by the linux kernel. When your PC boots, first the booloader (grub, syslinux, whatever) gets loaded. The bootloader subsequently loads the linux kernel, which resides in /boot. If your boot partition is encrypted, the bootloader can't find the kernel, because it first should get decrypted by the kernel.

As pointed out by others, Grub somehow has a solution to this, meaning it has built in encryption-support. But I don't like Grub, so this means a seperate boot partition for me!

1 points
  1. Your image is pretty blurry, can't really read what it says

  2. Better upload the image to imgur, not dropbox

  3. Try switching to TTY1 with CTRL-ALT-F1, and login there. The error message should be visible for a longer time, enabling you to take a better shot

1 points

For opening files faster, the best way I have found so far is using dmenu (it's an external program, wms like i3 use it for starting programs, but very flexible)

function! Chomp(str)
  return substitute(a:str, '\n$', '', '')
endfunction

" Find a file and pass it to cmd
function! DmenuOpen(cmd)
  let fname = Chomp(system("git ls-files | dmenu -i -l 20 -p " . a:cmd))
  if empty(fname)
    return
  endif
  execute a:cmd . " " . fname
endfunction

"use ctrl-t to open in new tab
map <c-f> :call DmenuOpen("tabe")<cr>
"use ctrl-f to open in current tab
map <c-t> :call DmenuOpen("e")<cr>

This maps <Ctrl-f> to open things in a new tab and <Ctrl-t> to open things in the current buffer. However this only works inside git repositories (because it uses git ls-files, obviously) and only if you have dmenu installed (well, duh). Dmenu also has fuzzy search (typing 'file' will also list testfilebla.c)

1 points

You confuse flags and command line options. A flag is just a switch, switching something on, when it is provided. A command line option has not just two values (on and off), but many, for example --color={never, auto, always} has three possible values.

I agree, that command line options should override each other. Pretty hard to accidentally provide an option two times and it is obvious they contradict each other. However for flags things are different, think of two switches -q/--quiet and -v/--verbose which contradict each other. Messing up those accidentally is a whole lot easier than two contradicting options.

1 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.