[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555394: os-prober: still failing



Package: os-prober
Version: 1.39
Severity: normal

So this is still happening in 1.39, which is fairly disappointing. It
seems that os-prober relies on a linux-specific sysfs in line 29:

        if [ -d /sys/block ]; then

partitions () {
        # Exclude partitions that have whole_disk sysfs attribute set.
        if [ -d /sys/block ]; then
                ...
        else
                echo "Cannot find list of partitions!" >&2
                exit 1
        fi
...
}

/sys/block doesn't exist under kFreeBSD.. I am not sure how this should
be done, but i find it unfortunate that this doesn't work yet...

A.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.1-1-686
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages os-prober depends on:
ii  libc0.1                       2.11.2-5   Embedded GNU C Library: Shared lib

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information



Reply to: