... newer stories
Sonntag, 18. Oktober 2020
"Fortschrittsbalken" bei dd
mikeace, 13:53h
Hi, long time no see. :-)
Fortschritt bei diskimages mit dd beobachten?
Werner Fischer hat in seinem Beitrag ein paar interessante Möglichkeiten aufgezählt: https://www.thomas-krenn.com/de/wiki/ISO_Image_von_CD_oder_DVD_unter_Linux_erstellen
* mit pv (pipe viewer):
dd if=/dev/cdrom | pv --size 700M | dd of=test.iso
* mit der dd-option status=progress (seit GNU Coreutils v8.24)
* mit signal killall -USR1 aus einer anderen shell (für ältere Coreutils)
watch -n 4 killall -USR1 dd
Kann man das vielleicht als subshell in einer einzigen Befehlszeile starten?
Fortschritt bei diskimages mit dd beobachten?
Werner Fischer hat in seinem Beitrag ein paar interessante Möglichkeiten aufgezählt: https://www.thomas-krenn.com/de/wiki/ISO_Image_von_CD_oder_DVD_unter_Linux_erstellen
* mit pv (pipe viewer):
dd if=/dev/cdrom | pv --size 700M | dd of=test.iso
* mit der dd-option status=progress (seit GNU Coreutils v8.24)
* mit signal killall -USR1 aus einer anderen shell (für ältere Coreutils)
watch -n 4 killall -USR1 dd
Kann man das vielleicht als subshell in einer einzigen Befehlszeile starten?
... link (0 Kommentare) ... comment
Montag, 29. Dezember 2014
complete Backup of Jolla
mikeace, 02:00h
The Jolla Phone has several interesting partitions:
btrfs has snapshot support, so we use it.
Then all filesystems are tared and zipped and ssh'ed to a backup-host as follows:
after were finished the snapshots are deleted and were fine.
/dev/mmcblk0p19 on /drm type ext4
/dev/mmcblk0p18 on /firmware type vfat
/dev/mmcblk0p25 on /persist type ext4
/dev/mmcblk0p9 on /var/systemlog type ext4
/dev/fuse on /home/nemo/android_storage type fuse
/dev/mmcblk0p28 on / type btrfs
/dev/mmcblk0p28 on /home type btrfs
btrfs has snapshot support, so we use it.
Then all filesystems are tared and zipped and ssh'ed to a backup-host as follows:
btrfs subvolume snapshot -r / /snapshots/root
btrfs subvolume snapshot -r /home/ /snapshots/home
tar -cpz /drm/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_drm.tar.gz )"
tar -cpz /firmware/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_firmware.tar.gz )"
tar -cpz /persist/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_persist.tar.gz )"
tar -cpz /var/systemlog/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_systemlog.tar.gz )"
tar -cpz /home/nemo/android_storage/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_android_storage.tar.gz )"
tar -cpz /snapshots/root/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_root.tar.gz )"
tar -cpz /snapshots/home/ | ssh markus@192.168.1.12 "( cat > Jolla_backup/`date +%y%m%d`_home.tar.gz )"
btrfs subvolume delete /snapshots/home/ /snapshots/root/
after were finished the snapshots are deleted and were fine.
... link (0 Kommentare) ... comment
Sonntag, 16. November 2014
different colored calendars on Jolla
mikeace, 18:29h
Jolla's native Calendar App already has two different colored calendars - I want more. Here is an instruction how to add more calendars: http://talk.maemo.org/showthread.php?t=92788
... link (0 Kommentare) ... comment
... older stories