lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 30 Mar 2009 22:20:22 +0200
From:	Thomas Bächler <thomas@...hlinux.org>
To:	Alexander Clouter <alex@...riz.org.uk>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: fastboot/async and initramfs: How am I supposed to know
 when?devices are finished initializing?

Alexander Clouter schrieb:
> If the user is specifying the boot device, could you not 'teach' them to 
> LABEL the boot device and live off something slightly more fancy (but 
> akin to) the following:
> 
> ----
> while true
> do
>   mount LABEL=root /whatever
> 
>   if [ $? -eq 0 ]; then
>     break
>   fi
> 
>   # do some md and lvm magic dance here
> 
>   sleep 1
> done
> ----
> 
> Your initramfs could do extra steps everytime the loop...erm...loops.
> 
> Now of course the downside is LABELing mounted devices, XFS for example, 
> is not an easy thing to do... :-/

We do use UUIDs (or LABELs), but that doesn't solve the LVM problem, 
because the given device "/dev/somevg/somelv" only appears after LVM has 
been activated! I am thinking about using udev scan for LVM volume 
groups each time a hard drive appear that contains an LVM device. But 
that is a topic for another place.


Download attachment "signature.asc" of type "application/pgp-signature" (261 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ