Browse Source

dmsquash-live/dmsquash-live-root: det_img_fs() redirect udevadm output to stderr

Otherwise the output is taken as input for modprobe.
master
Harald Hoyer 8 years ago
parent
commit
de7ab164dd
  1. 2
      modules.d/90dmsquash-live/dmsquash-live-root.sh

2
modules.d/90dmsquash-live/dmsquash-live-root.sh

@ -57,7 +57,7 @@ ln -s $livedev /run/initramfs/livedev


# determine filesystem type for a filesystem image # determine filesystem type for a filesystem image
det_img_fs() { det_img_fs() {
udevadm settle udevadm settle >&2
blkid -s TYPE -u noraid -o value "$1" blkid -s TYPE -u noraid -o value "$1"
} }



Loading…
Cancel
Save