Skip to content

u/justbrowsingcd

In this archive from Nov 2013 to Sep 2015

0
posts
4
comments
0
media
10
score

dd is data wasteful for this, you'll have to resize anyway and may be time wasteful if there is an error.

Use a tar pipe instead and unlike cp -p, will preserve permissions AND recreate special files.

  1. Create partition and filesystem on new drive (GParted recommended unless you know what you're doing. Don't use sfdisk it has a bug affecting boot)
  2. Mount old partition to ex: /oldmnt
  3. Mount new partition to ex: /newmnt
  4. tar -C /oldmnt -cvpf - . | tar -C /newmnt -xvf -

(note: the v on both sides is for verbose output and will slow down the transfer significantly but nice to see progress)

6 points

Arch no longer enables a cron daemon by default. However, cronie is installed. Enable and start it:

systemctl enable cronie
systemctl start cronie

I would recommend dcron instead of cronie though.

crontab, visudo, etc. use the default editor set by the environmental variable EDITOR (and default to vi). If you prefer nano, simply:

EDITOR="nano -w" crontab -e

If you want this editor choice to be persistent add to /etc/bash.bashrc

export EDITOR="nano -w"
2 points

End of this list.

Back to top

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.