mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 22:12:15 +00:00
work
This commit is contained in:
@@ -42,27 +42,24 @@ mke2fs -t ext4 -v \
|
||||
mkdir mnt
|
||||
sudo mount -v \
|
||||
-t ext4 \
|
||||
-o nobarrier,noatime,data=writeback,commit=100 \
|
||||
image.ext4 mnt
|
||||
|
||||
|
||||
sudo /data/ofm/tile_gen/venv/bin/mb-util output.mbtiles mnt/extract
|
||||
sudo umount mnt
|
||||
|
||||
resize2fs -M image.ext4
|
||||
e2fsck -vf image.ext4
|
||||
|
||||
|
||||
filefrag -e image.ext4
|
||||
|
||||
tune2fs -E mount_opts=ro image.ext4
|
||||
|
||||
cp --sparse=never sparsefile regularfile
|
||||
#fsck.ext4 -f -C 0 /dev/sda1;
|
||||
#
|
||||
#filefrag -e image.ext4
|
||||
#
|
||||
#tune2fs -E mount_opts=ro image.ext4
|
||||
#
|
||||
#cp --sparse=never sparsefile regularfile
|
||||
#
|
||||
|
||||
|
||||
# -o barriers=[0|1]
|
||||
# -o data=writeback
|
||||
|
||||
# set mount option
|
||||
#tune2fs -E mount_opts=ro
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user