platform/upstream/dracut.git
14 years agoinit: add hacky cdrom polling mechanism
Harald Hoyer [Tue, 13 Apr 2010 11:50:33 +0000 (13:50 +0200)]
init: add hacky cdrom polling mechanism

14 years agodmraid: parse different error messages
Harald Hoyer [Tue, 13 Apr 2010 10:54:12 +0000 (12:54 +0200)]
dmraid: parse different error messages

14 years agodracut.8: add information, which parameter can be specified multiple times
Harald Hoyer [Wed, 7 Apr 2010 13:55:14 +0000 (15:55 +0200)]
dracut.8: add information, which parameter can be specified multiple times

14 years agodracut.8: fixed LUKS paragraph
Harald Hoyer [Wed, 7 Apr 2010 09:17:46 +0000 (11:17 +0200)]
dracut.8: fixed LUKS paragraph

14 years agoupdated NEWS, moved tag 005 005
Harald Hoyer [Fri, 19 Mar 2010 16:35:47 +0000 (17:35 +0100)]
updated NEWS, moved tag 005

14 years agoversion 005
Harald Hoyer [Fri, 19 Mar 2010 14:18:26 +0000 (15:18 +0100)]
version 005

14 years agodracut.spec: rpmlint cosmetics
Harald Hoyer [Fri, 19 Mar 2010 14:16:48 +0000 (15:16 +0100)]
dracut.spec: rpmlint cosmetics

14 years agodracut.spec: change description and summaries
Harald Hoyer [Fri, 19 Mar 2010 14:15:17 +0000 (15:15 +0100)]
dracut.spec: change description and summaries

14 years agodracut.spec: remove libselinux, libsepol requirement
Harald Hoyer [Fri, 19 Mar 2010 14:13:32 +0000 (15:13 +0100)]
dracut.spec: remove libselinux, libsepol requirement

14 years agodracut.spec: remove dracut-kernel subpackage
Harald Hoyer [Fri, 19 Mar 2010 14:11:41 +0000 (15:11 +0100)]
dracut.spec: remove dracut-kernel subpackage

14 years agolvm/lvm_scan.sh: silence lvm version check
Harald Hoyer [Fri, 19 Mar 2010 14:08:54 +0000 (15:08 +0100)]
lvm/lvm_scan.sh: silence lvm version check

14 years agofcoe: soft install fcoe bins
Harald Hoyer [Fri, 19 Mar 2010 15:49:41 +0000 (16:49 +0100)]
fcoe: soft install fcoe bins

14 years agoAdd dcb support to dracut's FCoE support (rh563794)
Hans de Goede [Mon, 15 Mar 2010 10:21:29 +0000 (11:21 +0100)]
Add dcb support to dracut's FCoE support (rh563794)

Note that there are still some patches queued upstream for fcoe-utils to
enable it to work with the new lldpad and to add support to fipvlan to
bring up FCoE connections without requiring fcoemon to run.

The invocations of the various tools as in this patch should be final though,
see the discussion in:
http://bugzilla.redhat.com/show_bug.cgi?id=563794

This is the second revision of this patch, which no longer adds /etc/fcoe
to the initrd as that is not needed.

14 years agolvm_scan: use '--ignoremonitoring' rather than '--monitor n'
Mike Snitzer [Wed, 10 Mar 2010 19:24:18 +0000 (14:24 -0500)]
lvm_scan: use '--ignoremonitoring' rather than '--monitor n'

lvchange and vgchange '--monitor n' will not prevent lvm from
attempting to dlopen the libdevmapper-event library.

dracut git commit 47ab3b6c5e introduced the use of '--monitor n' but
'--ignoremonitoring' is needed now that the libdevmapper-event library
isn't copied into the initramfs (ever since 0fae59d6eb3)

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
14 years agokernel-modules/installkernel: force install some modules even in
Harald Hoyer [Wed, 17 Mar 2010 10:14:45 +0000 (11:14 +0100)]
kernel-modules/installkernel: force install some modules even in
hostonly mode

14 years agosilence xen-detect detection
Luca Berra [Sun, 7 Mar 2010 12:52:08 +0000 (13:52 +0100)]
silence xen-detect detection

Signed-off-by: Luca Berra <bluca@comedia.it>
14 years agodebian: add dracut-gencmdline
Philippe Seewer [Fri, 5 Mar 2010 14:01:18 +0000 (15:01 +0100)]
debian: add dracut-gencmdline

14 years agodebian: Add manpage for dracut-catimages
Philippe Seewer [Fri, 5 Mar 2010 13:58:59 +0000 (14:58 +0100)]
debian: Add manpage for dracut-catimages

14 years agodebian: add dracut.conf.d
Philippe Seewer [Fri, 5 Mar 2010 13:55:37 +0000 (14:55 +0100)]
debian: add dracut.conf.d

14 years agodebian: Add xen and uswsusp modules
Philippe Seewer [Fri, 5 Mar 2010 10:57:14 +0000 (11:57 +0100)]
debian: Add xen and uswsusp modules

14 years agoxen: try harder to locate xen-detect
Philippe Seewer [Fri, 5 Mar 2010 10:51:56 +0000 (11:51 +0100)]
xen: try harder to locate xen-detect

On debian systems xen-detect does not resite somewhere in $PATH,
but under /usr/lib/xen-default/bin. This patch ensures that this
is searched as well when locating and installing xen-detect.

14 years agotest: use ldconfig processing for roots as well
Philippe Seewer [Fri, 5 Mar 2010 10:42:04 +0000 (11:42 +0100)]
test: use ldconfig processing for roots as well

14 years agodracut: move ldconfig after include
Harald Hoyer [Fri, 5 Mar 2010 10:14:28 +0000 (11:14 +0100)]
dracut: move ldconfig after include

14 years agodracut: do a full ldconfig in the initramfs
Harald Hoyer [Fri, 5 Mar 2010 10:07:10 +0000 (11:07 +0100)]
dracut: do a full ldconfig in the initramfs

14 years agoifcfg: set mode 0755 for scripts
Harald Hoyer [Thu, 4 Mar 2010 17:03:36 +0000 (18:03 +0100)]
ifcfg: set mode 0755 for scripts

14 years agorpmversion/install: add shebang
Harald Hoyer [Thu, 4 Mar 2010 17:02:27 +0000 (18:02 +0100)]
rpmversion/install: add shebang

14 years agodmsquash-live-root: use blockdev with --getsz
Harald Hoyer [Thu, 4 Mar 2010 15:49:51 +0000 (16:49 +0100)]
dmsquash-live-root: use blockdev with --getsz

Thanks Karel for pointing this out.. again :)

14 years agoudev-rules: hotplug.functions is not executable, so use -e instead of -x
Harald Hoyer [Thu, 4 Mar 2010 13:21:56 +0000 (14:21 +0100)]
udev-rules: hotplug.functions is not executable, so use -e instead of -x

14 years agoPass init argument(s) to real init
Andrey Borzenkov [Thu, 4 Mar 2010 13:02:43 +0000 (14:02 +0100)]
Pass init argument(s) to real init

Common wisdom to enter single user on Linux is to edit command
line and add "single". This was not possible because switch_root
was always called with empty init arguments. Collect them from
command line and pass to real init when switching root.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
14 years agoFix boot with user suspend and no resume= kernel argument
Andrey Borzenkov [Thu, 4 Mar 2010 13:00:29 +0000 (14:00 +0100)]
Fix boot with user suspend and no resume= kernel argument

Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check
if dracut got resume= argument before calling /usr/sbin/resume

14 years agodmsquash-live: use --getsize64 instead of --getsize
Harald Hoyer [Thu, 4 Mar 2010 12:56:58 +0000 (13:56 +0100)]
dmsquash-live: use --getsize64 instead of --getsize

14 years agoadd readonly overlay support for dmsquash
Joey Boggs [Fri, 26 Feb 2010 14:44:29 +0000 (09:44 -0500)]
add readonly overlay support for dmsquash

Adds the readonly_overlay karg for cases where the dm snapshot should be set to readonly. Use case would be a livecd that is configured to have a readonly root where filling up the dm snapshot would cause a problem.

14 years agoudev-rules: choose between several firmware upload tools
Harald Hoyer [Thu, 4 Mar 2010 12:50:34 +0000 (13:50 +0100)]
udev-rules: choose between several firmware upload tools

debian: firmware.agent hotplug.functions
old fedora: firmware.sh
new udev upstream: firmware

14 years agokernel-modules: add keyboard kernel modules
Harald Hoyer [Thu, 4 Mar 2010 12:47:40 +0000 (13:47 +0100)]
kernel-modules: add keyboard kernel modules

14 years agofix permissions: should be +x
Philippe Seewer [Fri, 26 Feb 2010 12:54:33 +0000 (13:54 +0100)]
fix permissions: should be +x

14 years agoparse-kernel.sh must have a shebang
Philippe Seewer [Fri, 26 Feb 2010 12:21:38 +0000 (13:21 +0100)]
parse-kernel.sh must have a shebang

14 years agodebian: update Standards-Version
Philippe Seewer [Wed, 3 Mar 2010 15:49:10 +0000 (16:49 +0100)]
debian: update Standards-Version

14 years agodebian: dracut package should at least suggest dracut-network
Philippe Seewer [Wed, 3 Mar 2010 15:48:43 +0000 (16:48 +0100)]
debian: dracut package should at least suggest dracut-network

14 years agodebian: complete s/dracut-net/dracut-network/g
Philippe Seewer [Wed, 3 Mar 2010 15:48:16 +0000 (16:48 +0100)]
debian: complete s/dracut-net/dracut-network/g

When changing package names, corresponding files must be renamed
as well.

14 years agoUse multipath if it's installed and being used for the root fs.
Peter Jones [Thu, 25 Feb 2010 15:22:42 +0000 (10:22 -0500)]
Use multipath if it's installed and being used for the root fs.

Don't conditionalize on hostonly; use multipath if it's installed and in
use.

14 years agodracut: add check, if we can write to the output image file
Harald Hoyer [Thu, 18 Feb 2010 17:27:39 +0000 (18:27 +0100)]
dracut: add check, if we can write to the output image file

14 years agomount-root: also filter "defaults" from mount options
Harald Hoyer [Thu, 18 Feb 2010 17:05:51 +0000 (18:05 +0100)]
mount-root: also filter "defaults" from mount options

14 years agomount-root: skip comments
Harald Hoyer [Thu, 18 Feb 2010 16:46:01 +0000 (17:46 +0100)]
mount-root: skip comments

14 years agodracut: removed "local" not inside of function
Harald Hoyer [Thu, 18 Feb 2010 16:28:41 +0000 (17:28 +0100)]
dracut: removed "local" not inside of function

14 years agofix IFS restoring
Harald Hoyer [Thu, 18 Feb 2010 08:46:19 +0000 (09:46 +0100)]
fix IFS restoring

14 years agoselinux: fix "selinux=0" handling
Harald Hoyer [Thu, 18 Feb 2010 07:46:57 +0000 (08:46 +0100)]
selinux: fix "selinux=0" handling

14 years agomount-root: do not pollute init arguments
Harald Hoyer [Wed, 17 Feb 2010 19:18:10 +0000 (20:18 +0100)]
mount-root: do not pollute init arguments

and do not remount if no new rootopts set in /etc/fstab

14 years agofix lib64 check
Harald Hoyer [Wed, 17 Feb 2010 16:02:04 +0000 (17:02 +0100)]
fix lib64 check

on ppc we can have libc in /lib64/power6/

14 years agos390: *_cio_free needs "seq"
Harald Hoyer [Mon, 15 Feb 2010 17:08:11 +0000 (18:08 +0100)]
s390: *_cio_free needs "seq"

14 years agofix selinux disabled state
Harald Hoyer [Mon, 15 Feb 2010 11:58:00 +0000 (12:58 +0100)]
fix selinux disabled state

Execute load-policy when the config file contains SELINUX=disabled.

14 years agonfs4: rpc.idmapd does not accept parameters anymore
Harald Hoyer [Mon, 15 Feb 2010 09:43:51 +0000 (10:43 +0100)]
nfs4: rpc.idmapd does not accept parameters anymore

modify /etc/idmapd.conf instead

14 years agoremoved cdrom hack for live CDs
Harald Hoyer [Mon, 15 Feb 2010 08:55:20 +0000 (09:55 +0100)]
removed cdrom hack for live CDs

The hack does not work reliable for CDROMs with the firmware bug.
We have really to fix cdrom_id.

14 years agodracut.conf: added add_dracutmodules
Harald Hoyer [Fri, 12 Feb 2010 11:19:33 +0000 (12:19 +0100)]
dracut.conf: added add_dracutmodules

14 years agoadd /etc/dracut.conf.d
Harald Hoyer [Fri, 12 Feb 2010 10:12:37 +0000 (11:12 +0100)]
add /etc/dracut.conf.d

14 years agoFixed: Move multipath scan earlier. It must go before any other dm rules.
Harald Hoyer [Fri, 12 Feb 2010 10:00:21 +0000 (11:00 +0100)]
Fixed: Move multipath scan earlier.  It must go before any other dm rules.

Also changed the filename in the install file.

14 years agonfs: suppress error message about missing passwd
Harald Hoyer [Wed, 10 Feb 2010 17:54:31 +0000 (18:54 +0100)]
nfs: suppress error message about missing passwd

14 years agomake nfs4 work
Harald Hoyer [Wed, 10 Feb 2010 16:20:49 +0000 (17:20 +0100)]
make nfs4 work

14 years agoMove multipath scan earlier. It must go before any other dm rules.
Peter Jones [Fri, 5 Feb 2010 19:21:48 +0000 (14:21 -0500)]
Move multipath scan earlier.  It must go before any other dm rules.

multipath scan needs to go before lvm, or else lvm may grab the device
multipath would activate, and multipath will be unable to claim it.

14 years agoadd preliminary IPv6 support
Harald Hoyer [Thu, 4 Feb 2010 15:05:19 +0000 (16:05 +0100)]
add preliminary IPv6 support

14 years agozfcp: install s390utils script rather than local one
Harald Hoyer [Thu, 4 Feb 2010 15:03:35 +0000 (16:03 +0100)]
zfcp: install s390utils script rather than local one

14 years agorootfs-block: strip "ro|rw" options from fstab options
Harald Hoyer [Wed, 3 Feb 2010 16:24:23 +0000 (17:24 +0100)]
rootfs-block: strip "ro|rw" options from fstab options

https://bugzilla.redhat.com/show_bug.cgi?id=560424

14 years agotest/iSCSI: fixed test script
Harald Hoyer [Wed, 3 Feb 2010 15:42:43 +0000 (16:42 +0100)]
test/iSCSI: fixed test script

14 years agodasd_mod: changed prio of cmdline hook to be executed after dasd
Harald Hoyer [Wed, 3 Feb 2010 09:17:58 +0000 (10:17 +0100)]
dasd_mod: changed prio of cmdline hook to be executed after dasd

14 years agoinit: dashified $[] -> $(())
Harald Hoyer [Tue, 2 Feb 2010 14:21:51 +0000 (15:21 +0100)]
init: dashified $[] -> $(())

14 years agobeautified man pages
Harald Hoyer [Tue, 2 Feb 2010 14:11:59 +0000 (15:11 +0100)]
beautified man pages

14 years agofixed permissions for the check files
Harald Hoyer [Wed, 27 Jan 2010 15:11:19 +0000 (16:11 +0100)]
fixed permissions for the check files

14 years agoAdd a check file for multipath.
Peter Jones [Fri, 22 Jan 2010 15:56:40 +0000 (10:56 -0500)]
Add a check file for multipath.

If multipath isn't installed, don't use it.  If we're in hostonly mode,
only install the multipath module if it's used for / .  Otherwise, if
the user was dumb enough to install it, they get it during bootup.

14 years agobase: fix selinux handling if .autorelabel is present
Harald Hoyer [Wed, 27 Jan 2010 15:09:15 +0000 (16:09 +0100)]
base: fix selinux handling if .autorelabel is present

rhbz#557744

14 years agomdraid: prefer /etc/mdadm.conf over /etc/mdadm/mdadm.conf
Harald Hoyer [Wed, 27 Jan 2010 14:52:08 +0000 (15:52 +0100)]
mdraid: prefer /etc/mdadm.conf over /etc/mdadm/mdadm.conf

see https://bugzilla.redhat.com/show_bug.cgi?id=557339
https://bugzilla.redhat.com/show_bug.cgi?id=559073

14 years agoinit: fixed emergency_shell argument parsing
Harald Hoyer [Wed, 20 Jan 2010 15:04:55 +0000 (16:04 +0100)]
init: fixed emergency_shell argument parsing

14 years agoversion 004 004
Harald Hoyer [Fri, 15 Jan 2010 11:58:24 +0000 (12:58 +0100)]
version 004

14 years agodracut-lib: do not leave debug mode in getarg and getargs
Harald Hoyer [Fri, 15 Jan 2010 11:34:50 +0000 (12:34 +0100)]
dracut-lib: do not leave debug mode in getarg and getargs

14 years agotest: remove lvm.conf in create-root.sh
Harald Hoyer [Fri, 15 Jan 2010 11:58:10 +0000 (12:58 +0100)]
test: remove lvm.conf in create-root.sh

14 years agodracut-lib: read multiple lines from $init/etc/cmdline
Harald Hoyer [Fri, 15 Jan 2010 11:33:41 +0000 (12:33 +0100)]
dracut-lib: read multiple lines from $init/etc/cmdline

14 years agodracut.spec: only obsolete for rhel >= 6 and fedora > 12
Harald Hoyer [Fri, 15 Jan 2010 09:25:44 +0000 (10:25 +0100)]
dracut.spec: only obsolete for rhel >= 6 and fedora > 12

and do not provide lsinitrd and mkinitrd

14 years agodracut.spec: nbd is Fedora only
Warren Togami [Thu, 14 Jan 2010 17:11:52 +0000 (18:11 +0100)]
dracut.spec: nbd is Fedora only

14 years agoadd lsinitrd
Harald Hoyer [Thu, 14 Jan 2010 16:20:43 +0000 (17:20 +0100)]
add lsinitrd

14 years agolvm: remove lvm-cleanup
Harald Hoyer [Thu, 14 Jan 2010 16:04:06 +0000 (17:04 +0100)]
lvm: remove lvm-cleanup

14 years agotest: remove lvm.conf in create-root.sh
Harald Hoyer [Thu, 14 Jan 2010 16:02:18 +0000 (17:02 +0100)]
test: remove lvm.conf in create-root.sh

14 years agodmsquash: add support for loopmounted *.iso files
Munehiro Matsuda [Thu, 14 Jan 2010 15:32:09 +0000 (16:32 +0100)]
dmsquash: add support for loopmounted *.iso files

https://bugzilla.redhat.com/show_bug.cgi?id=548283

14 years agodracut.spec: update plymouth requirements
Harald Hoyer [Thu, 14 Jan 2010 14:54:17 +0000 (15:54 +0100)]
dracut.spec: update plymouth requirements

14 years agolvm: add rd_LVM_LV and "--poll n"
Harald Hoyer [Wed, 13 Jan 2010 16:59:14 +0000 (17:59 +0100)]
lvm: add rd_LVM_LV and "--poll n"

14 years agoinstall lsinitrd/mkinitrd
Harald Hoyer [Wed, 13 Jan 2010 16:13:20 +0000 (17:13 +0100)]
install lsinitrd/mkinitrd

14 years agocrypt/dm: move dmeventd to dm module
Harald Hoyer [Wed, 13 Jan 2010 15:33:40 +0000 (16:33 +0100)]
crypt/dm: move dmeventd to dm module

14 years agolvm: lvm.conf (locking_type = 4)
Mike Snitzer [Wed, 13 Jan 2010 15:27:49 +0000 (16:27 +0100)]
lvm:  lvm.conf (locking_type = 4)

- the use of sed is placeholder "hack" until lvm2 provides a proper
  tool for changing lvm.conf
- lvm_scan.sh should run lvm commands with --ignorelockingfailure to
  re-use lvm's existing initrd-specific logic; future lvm2 changes
  will split this flag out into various new command-line switches
- no monitoring should be started from within initramfs
- NOTE: the same should apply to 90dmraid/install
- the correct types would be: '[ "blkext", 1 , "cciss0", 16 ]'
  but lvm2 (>= 2.02.52) already properly supports both 'blkext' and
  'cciss' (including cciss0 -> cciss7)

14 years agoAdd user suspend support
Andrey Borzenkov [Wed, 13 Jan 2010 15:07:13 +0000 (16:07 +0100)]
Add user suspend support

This patch adds support for user mode suspend to disk. It is installed
in parallel to kernel mode suspend module; either will fail if
system was not suspended using correct tool so next one can be tried.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
14 years agoEnsure UNICODE keyboard layout is functional in emergency shell
Luca Berra [Sat, 9 Jan 2010 08:39:22 +0000 (09:39 +0100)]
Ensure UNICODE keyboard layout is functional in emergency shell

/lib/udev/cosole_init will load either non-unicode or unicode versions
of keyboard layout for the same value of KEYMAP depending on language
setting. The simplest solution is to install both versions in initrd;
it does not take much space.

While on it, copy some additional maps to ensure emergency shell
has the same keyboard layout as full system.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: Luca Berra <bluca@vodka.it>
14 years agoadd mkinitrd-dracut.sh wrapper
Luca Berra [Wed, 13 Jan 2010 15:03:32 +0000 (16:03 +0100)]
add mkinitrd-dracut.sh wrapper

a wrapper around dracut with the syntax from mkinitrd, could
help transition to dracut.

14 years agodracut-functions: add additional drivers in host-only mode, too
Luca Berra [Wed, 13 Jan 2010 15:02:10 +0000 (16:02 +0100)]
dracut-functions: add additional drivers in host-only mode, too

this makes dracut load kernel module specified in add-drivers even
if building an host-only mkinitrd, it is useful in cases where we
might change some storage drivers and still don't want to build
an enormous initrd (e.g. ahci/ata_piix)

14 years agobase: improve emergency shell
Luca Berra [Wed, 13 Jan 2010 15:01:36 +0000 (16:01 +0100)]
base: improve emergency shell

for some unknown reason the emergency shell
starts with stderr closed, at first I even tought it was not working at
all, then I came up with this hack, which seems to work properly. I also
change the prompt to remind which step are we breaking to.

14 years agoinstall umount for the modules, which use it
Luca Berra [Wed, 13 Jan 2010 14:57:32 +0000 (15:57 +0100)]
install umount for the modules, which use it

14 years agobase: do not force load policy if selinux is not installed at all
Luca Berra [Wed, 13 Jan 2010 14:56:34 +0000 (15:56 +0100)]
base: do not force load policy if selinux is not installed at all

14 years agodracut-functions: add support for compressed kernel modules
Luca Berra [Wed, 13 Jan 2010 14:53:17 +0000 (15:53 +0100)]
dracut-functions: add support for compressed kernel modules

14 years agoterminfo: search also for /usr/share/terminfo
Luca Berra [Wed, 13 Jan 2010 14:50:52 +0000 (15:50 +0100)]
terminfo: search also for /usr/share/terminfo

14 years agoredhat-i18n: search also in /usr/lib
Luca Berra [Wed, 13 Jan 2010 14:50:02 +0000 (15:50 +0100)]
redhat-i18n: search also in /usr/lib

we have kbd data in /usr/lib, so this patch will
search for /lib/kbd and /usr/lib/kbd and use the existing one

14 years ago60xen: add support for loading Xen modules
Konrad Rzeszutek Wilk [Wed, 13 Jan 2010 14:37:05 +0000 (15:37 +0100)]
60xen: add support for loading Xen modules

14 years agokernel: add rdloaddriver kernel command line parameter
Harald Hoyer [Wed, 13 Jan 2010 14:34:18 +0000 (15:34 +0100)]
kernel: add rdloaddriver kernel command line parameter

rdloaddriver=<drivername>
force loading kernel module <drivername>

14 years agos390: add call to *_cio_free and use current s390utils udev rules
Harald Hoyer [Wed, 13 Jan 2010 13:26:46 +0000 (14:26 +0100)]
s390: add call to *_cio_free and use current s390utils udev rules

14 years agodracut.spec: add Obsoletes of mkinitrd/nash/libbdevid-python
Harald Hoyer [Wed, 13 Jan 2010 13:16:49 +0000 (14:16 +0100)]
dracut.spec: add Obsoletes of mkinitrd/nash/libbdevid-python

14 years agodmsquash: add nasty hack for cdroms
Harald Hoyer [Tue, 12 Jan 2010 14:08:54 +0000 (15:08 +0100)]
dmsquash: add nasty hack for cdroms

Some CDROMs do not generate a label symlink and have to be read from.