diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-03-15 21:11:06 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:07 +0100 |
| commit | 088e23d8225c53f92bc12125d95a11e165869a9a (patch) | |
| tree | 393f14b01717af758f44b1500941e69d87290904 /scripts/live-bottom | |
| parent | 2ee2da59624d6d328bdd249f13ea680c576d5e34 (diff) | |
| download | live-boot-088e23d8225c53f92bc12125d95a11e165869a9a.tar.gz live-boot-088e23d8225c53f92bc12125d95a11e165869a9a.zip | |
Adding proper code comments about vol_id removal.
Diffstat (limited to 'scripts/live-bottom')
| -rwxr-xr-x | scripts/live-bottom/12fstab | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab index ae90df8..cd78edf 100755 --- a/scripts/live-bottom/12fstab +++ b/scripts/live-bottom/12fstab @@ -66,10 +66,13 @@ then continue fi + # udev (>= 146) no longer provides vol_id if [ -x /lib/udev/vol_id ] then + # lenny /lib/udev/vol_id ${device%%[0-9]*} 2>/dev/null | grep -q "^ID_FS_USAGE=raid" && continue else + # squeeze /sbin/blkid -o udev -p ${device%%[0-9]*} | grep -q "^ID_FS_USAGE=raid" && continue fi |
