On Mon, 19.07.10 11:15, Mike Christie (mchri...@redhat.com) wrote:

> 
> On 07/14/2010 10:43 AM, Lennart Poettering wrote:
> > 3) You check mtab to figure out whether the rootdir is on iscsi. That
> > cannot work, as mtab is not really updated anyway, and if at all you
> > should look in /proc/mounts, but this won't really give your the
> > information either. The proper way to handle this in systemd is to start
> > iscsid if an iscsi block device appears.
> 
> We cannot do this, because iscsid is needed to find the iscsi device. 
> The iscsid daemon and the kernel modules work together to implement the 
> iscsi protocol. Basically, to do discovery and log into disks, iscsid 
> will send/recv iscsi packets through the iscsi kernel modules. iscsid 
> then parses the packets and does things like CHAP and the iscsi 
> parameter negotiation.

But if that's the case, why do you believe you gain anything by checking
whether the root directory is on iscsi?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to