Skip to content

u/Targuinius

In this archive from Jul 2017 to Mar 2019

3
posts
66
comments
3
media
477
score

I'm not really sure if it's really needed.

Journaling and CoW lower the chances of leaving the filesystem in an unstable state quite drastically. fsck doesn't actually fix data loss either. Essentially all it does is fix the consistency of the filesystem, such as inodes marked used that point nowhere etc.

fsck.ext4 doesn't work on a mounted filesystem either, at least not a rw mounted one.

3 points

It's output should be something like -rw------- 1 rensk rensk 157 Jun 11 11:44 /home/rensk/.Xauthority, but it is irrelevant in this case, because if this would be the problem, you wouldn't be able to login using a DM such as lightdm whatsoever.

I read your post first as you being unable to login, and instead constantly being kicked back to lightdm. Not having permissions to ~/.Xauthority can be the problem in that case.

1 points

LANG=C df -h Filesystem Size Used Avail Use% Mounted on dev 3.8G 0 3.8G 0% /dev run 3.8G 1.2M 3.8G 1% /run /dev/mapper/volgroup0-root 40G 34G 3.6G 91% / tmpfs 3.8G 4.6M 3.8G 1% /dev/shm tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/sda3 243G 187G 57G 77% /mnt/sda4 tmpfs 4.0G 8.0K 4.0G 1% /tmp /dev/mapper/volgroup0-home 152G 79G 66G 55% /home tmpfs 4.0G 3.0M 4.0G 1% /home/mthw/.cache/chromium /dev/sda1 549M 438M 112M 80% /boot tmpfs 771M 12K 771M 1% /run/user/1000

Using codeblocks by putting it in backticks (``) is much clearer

Edit: somehow yours looks fucked up on my phone, while mine looks fine there, but on my desktop yours looks good while mine is fucked up. I am confused

1 points

You can still do that with evil though. In spacemacs it's even easier with just M-x butterfly.

But honestly though, I don't get the flamewar between vim and emacs. Personally I'd say just use whatever you want.

1 points

That actually sounds like not much is wrong. Gray screen is normal if you have a compositor running and no background set. The bar missing is because the config sets it for eDP-1, which you don't have, run xrandr to find out the name of your display

1 points

With LVM, you can resize it pretty easily as well, and it also works BTRFS (which doesn't support swapfiles, unless mounting them as loop devices)

Personally, I have a LUKS partition, with a BTRFS and swap LVM partition on it. Can easily support hibernation etc, as the swap partition always gets opened with the root partition. But, yeah, probably the only reason to still be using a swap partition these days is to either share between distros, or if you are using BTRFS.

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.