X-Git-Url: http://git.grml.org/?p=grml-udev-config.git;a=blobdiff_plain;f=scripts%2Fgrml-udev-rebuildfstab;h=71e7f361ed9999f573ea6167444dbb4ce1002a89;hp=6ff1b187c7dfd3b0ad808fa0458f0c9f7bbc2712;hb=aeb66bede48f3c46e5fb756be2a4c9774d3154b0;hpb=20674b21ff7832e7331a1ae539aca7dae416c965 diff --git a/scripts/grml-udev-rebuildfstab b/scripts/grml-udev-rebuildfstab index 6ff1b18..71e7f36 100755 --- a/scripts/grml-udev-rebuildfstab +++ b/scripts/grml-udev-rebuildfstab @@ -226,6 +226,11 @@ done # if entry is already present ignore it stringinfile $device $TMPFILE && bailout 0 +if [ "$ID_FS_USAGE" != "filesystem" -a "$ID_FS_TYPE" != "swap" ]; then + # blockdevice in question won't be mountable in this case + bailout 0 +fi + options=noauto,user,dev,suid,exec case $ID_FS_TYPE in ntfs)