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

Bug#463258: initramfs-tools: the initramfs mount does not support -i and -f



Package: initramfs-tools
Version: 0.91d
Severity: normal


The mount command included in initrd.img does not support -i nor -f
options.

When mounting a fuse filesystem libfuse execs mount with both of these
options (probably to record the mount point in /etc/mtab). I edited the
lib/fuse_mnt_utils.c to not do the call, and now mounting fuse
filesystem works even in initrd.

However, I did not find an option in fuse that would disable the mount
call, and without building a custom libfuse package or including a
custom mount command in the ramdisk mounting fuse filesystems is not
possible.

Thanks

Michal


-- Package-specific info:
-- /proc/cmdline
root=/dev/sda2 ro 

-- /proc/filesystems
	ext3
	fuseblk

-- lsmod
Module                  Size  Used by
tcp_diag                2112  0 
inet_diag              12296  1 tcp_diag
fan                     5380  0 
battery                12488  0 
ipv6                  239400  42 
fuse                   41556  1 
loop                   16964  0 
ide_cd                 36356  0 
cdrom                  33116  1 ide_cd
piix                    9156  0 [permanent]
generic                 5060  0 [permanent]
floppy                 54452  0 
rtc                     9296  0 
pcspkr                  3456  0 
psmouse                36304  0 
evdev                   9792  0 
pcnet32                30708  0 
mii                     5632  1 pcnet32
ide_core              111684  3 ide_cd,piix,generic
button                  8528  0 
shpchp                 31316  0 
pci_hotplug            28384  1 shpchp
container               5184  0 
thermal                15708  0 
ac                      5828  0 
processor              35464  1 thermal

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
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


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.3-src (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.9-9       GNU cpio -- a program to manage ar
ii  findutils                    4.2.31-4    utilities for finding files--find,
ii  klibc-utils                  1.5.7-4     small statically-linked utilities 
ii  module-init-tools            3.3-pre11-4 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.1.3-5  Tiny utilities for small and embed

-- no debconf information



Reply to: