|
我按照WIKI制作文件系统时,我的板子flash的空间不够了,我挂载了一个SD卡来存储文件系统镜像。开始报tar: Exiting with failure status due to previous errors, 在网上查询了是有些文件没有权限之类的问题导致的,之后运行tar cvfpJ ./rootfs1.tar.xz {/bin,/boot,/debian,/dev,/etc,/home,/lib,/media,/opt,/proc,/root,/run,/sbin,/srv,/sys,/system,/tmp,/usr,/var} > /dev/null
打印tar的错误信息重新打包,但在打包过程中会出现以下日志,并且tar.xz的大小就不在增加了,不是上边的权限问题,以下这种错误信息怎么处理?
tar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/power/autosuspend_delay_ms: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/power/runtime_status: File shrank by 4084 bytes; padding with zerostar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/power/runtime_usage: File shrank by 4094 bytes; padding with zerostar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/power/runtime_suspended_time: File shrank by 4094 bytes; padding with zerostar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/driver_override: File shrank by 4089 bytes; padding with zerostar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/modalias: File shrank by 4051 bytes; padding with zerostar: /sys/devices/platform/ffa8ec00.nocp-lp-msch1/uevent: File shrank by 3928 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/control: File shrank by 4091 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/async: File shrank by 4087 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/runtime_enabled: File shrank by 4088 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/runtime_active_kids: File shrank by 4094 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/runtime_active_time: File shrank by 4094 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/autosuspend_delay_ms: Read error at byte 0, while reading 512 bytes: Input/output errortar: /sys/devices/platform/ff8f0000.vop/power/runtime_status: File shrank by 4086 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/runtime_usage: File shrank by 4094 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/power/runtime_suspended_time: File shrank by 4087 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/driver_override: File shrank by 4089 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/modalias: File shrank by 4058 bytes; padding with zerostar: /sys/devices/platform/ff8f0000.vop/uevent: File shrank by 3932 bytes; padding with zerostar: /sys/devices/breakpoint/type: File shrank by 4094 bytes; padding with zerostar: /sys/devices/breakpoint/power/control: File shrank by 4091 bytes; padding with zerostar: /sys/devices/breakpoint/power/async: File shrank by 4087 bytes; padding with zerostar: /sys/devices/breakpoint/power/runtime_enabled: File shrank by 4087 bytes; padding with zerostar: /sys/devices/breakpoint/power/runtime_active_kids: File shrank by 4094 bytes; padding with zerostar: /sys/devices/breakpoint/power/runtime_active_time: File shrank by 4094 bytes; padding with zerostar: /sys/devices/breakpoint/power/autosuspend_delay_ms: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/devices/breakpoint/power/runtime_status: File shrank by 4084 bytes; padding with zerostar: /sys/devices/breakpoint/power/runtime_usage: File shrank by 4094 bytes; padding with zerostar: /sys/devices/breakpoint/power/runtime_suspended_time: File shrank by 4094 bytes; padding with zerostar: /sys/devices/breakpoint/uevent: File shrank by 4096 bytes; padding with zerostar: /sys/devices/breakpoint/perf_event_mux_interval_ms: File shrank by 4094 bytes; padding with zerostar: /sys/class/drm/version: File shrank by 4077 bytes; padding with zerostar: /sys/class/gpio/unexport: Read error at byte 0, while reading 1536 bytes: Input/output errortar: /sys/class/gpio/export: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/class/zram-control/hot_remove: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/class/zram-control/hot_add: File shrank by 4094 bytes; padding with zerostar: /sys/class/sensor_class/gyro_calibration: File shrank by 4076 bytes; padding with zerostar: /sys/class/sensor_class/accel_calibration: File shrank by 4075 bytes; padding with zerostar: /sys/class/rkwifi/chip: File shrank by 4087 bytes; padding with zerostar: /sys/class/rkwifi/power: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/class/rkwifi/driver: Read error at byte 0, while reading 1024 bytes: Input/output errortar: /sys/class/rkwifi/preload: Read error at byte 0, while reading 4096 bytes: Input/output errortar: /sys/class/devcoredump/disabled: File shrank by 4094 bytes; padding with zerostar: /sys/power/state: File shrank by 4096 bytes; padding with zerostar: /sys/power/wake_unlock: File shrank by 4095 bytes; padding with zerostar: /sys/power/pm_freeze_timeout: File shrank by 4090 bytes; padding with zerostar: /sys/power/pm_wakeup_irq: Read error at byte 0, while reading 4096 bytes: No data availabletar: /sys/power/pm_print_times: File shrank by 4094 bytes; padding with zeros^C
|
|