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

Bug#487409: initramfs-tools: plase put get_fstype() to funtions



Package: initramfs-tools
Version: 0.92b
Severity: wishlist


Could you please move the get_fstype() from
/usr/share/initramfs-tools/scripts/local
to /usr/share/initramfs-tools/scripts/functions so that other scripts
can use it, too?

(My problem is, that I have a script in local-top, that tries to mount a
n usb-stick,... but busybox' mount doesn't seem to handle -t auto or
specifying -t not at all).


Chris.


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.25 root=/dev/sda1 ro mce=bootlog
snd-ice1724.index=0 snd-intel8x0.index=1 snd-intel8x0.ac97_quirk=hp_only

-- /proc/filesystems
        ext3
        iso9660
        udf
        vfat

-- lsmod
Module                  Size  Used by
nls_iso8859_1           5504  0
nls_cp437               7168  0
vfat                   11072  0
fat                    45432  1 vfat
nvidia               8843812  34
dvb_usb_dib0700        37128  6
dib0070                 7236  1 dvb_usb_dib0700
joydev                 10944  0

-- /etc/kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = yes
postinst_hook = update-grub
postrm_hook   = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/crypttab
# <target name> <source device>         <key file>      <options>


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.9-13     GNU cpio -- a program to
manage ar
ii  findutils                     4.4.0-2    utilities for finding
files--find,
ii  klibc-utils                   1.5.10-1   small utilities built with
klibc f
ii  module-init-tools             3.4-1      tools for managing Linux
kernel mo
ii  udev                          0.114-2    /dev/ and hotplug
management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.10.2-1 Tiny utilities for small
and embed

-- no debconf information

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: