On Apr 23, Paride Legovini wrote:
> Anyway I have another (simpler) idea, but I'm not sure about how solid
> it would be, please let me know what you think. If we can't find a valid
> block device using udevadm, as in the case of btrfs, we try to use the
> root= parameter read from /proc/cmdline.
Dear Marco,
here is the patched version of the script. Basically if we can't find
the root device with udev, we try to find it by parsing /proc/cmdline.
If that is not a valid block device the script exists, if it is that
device is used for the /dev/root symlink.
Ciao,
Paride
#!/bin/sh -e
RUNDI
On Mon, Apr 23, 2012 at 03:13:05PM +0200, Marco d'Itri wrote:
> On Apr 23, Marco d'Itri wrote:
>
> > > The script /usr/share/initramfs-tools/hooks/cryptroot already contains
> > > a function that tries to find the device mounted as / by parsing the
> > > fstab. It also works with the UUID= or LAB
On Apr 23, Marco d'Itri wrote:
> > The script /usr/share/initramfs-tools/hooks/cryptroot already contains
> > a function that tries to find the device mounted as / by parsing the
> > fstab. It also works with the UUID= or LABEL= syntax. That function could
> > be used as a fallback mechanicm in w
On Apr 23, Paride Legovini wrote:
> The script /usr/share/initramfs-tools/hooks/cryptroot already contains
> a function that tries to find the device mounted as / by parsing the
> fstab. It also works with the UUID= or LABEL= syntax. That function could
> be used as a fallback mechanicm in write_
Package: udev
Version: 175-3.1
Severity: normal
Dear Marco,
the udev script /lib/udev/write_dev_root_rule does not work with btrfs
filesystems. I know you are aware of this, as I see the lines
# btrfs filesystems have bogus major/minor numbers
[ "$ROOT_MAJOR" != 0 ] || exit 0
but I think this s
6 matches
Mail list logo