--- scripts/casper.orig 2006-02-20 01:28:18.000000000 +0000 +++ scripts/casper 2006-02-20 18:57:06.000000000 +0000 @@ -163,6 +163,12 @@ else umount $mountpoint fi + else + type=$(get_fstype /dev/$devname) + if [ $type = "squashfs" -o $type = "cloop" ]; then + ln -s /dev/$devname /dev/$devname.$type && echo /dev/$devname.$type + return; + fi fi done }