mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
e2fsprogs: move udev rule to force fsck check from diskdev_cmds package to here, rework udev rule to check all supported disks
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8156b25ca2
commit
1791043a31
@ -20,10 +20,8 @@
|
||||
################################################################################
|
||||
|
||||
SUBSYSTEM!="block", GOTO="end"
|
||||
ACTION!="add", GOTO="end"
|
||||
|
||||
ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N"
|
||||
ACTION=="add", ENV{ID_FS_TYPE}=="hfs|hfsplus", RUN+="/sbin/fsck.hfsplus -r -y /dev/%k"
|
||||
ACTION=="add|change", RUN+="/sbin/fsck -y /dev/%k"
|
||||
|
||||
# exit
|
||||
LABEL="end"
|
Loading…
x
Reference in New Issue
Block a user