Antw: Re: Need help detecting local/remote targets

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

 



>>> Mantas Mikulenas <grawity@xxxxxxxxx> schrieb am 21.08.2019 um 06:07 in
Nachricht
<CAPWNY8WmAPKakb5ssfZ4DrN-qomhsgj8sM9bhXXuP0R6kmYPRA@xxxxxxxxxxxxxx>:
> On Wed, Aug 21, 2019, 01:15 Tony Rodriguez <unixpro1970@xxxxxxxxx> wrote:
> 
>> I modified systemd-219 functionality to meet a custom requirement for
>> detecting filesystems/devices that use iscsi without using the _netdev
>> keyword in /etc/fstab.  It is a strict requirement regarding not using
>> _netdev that I have no control over.   However,  I am stuck.
>>
>>  From my understanding, src/fstab-generator.c is used to determine
>> LOCAL-FS and REMOTE-FS.  I have modified fstab-generator.c to search for
>> iscsi udev devices which works, provided the system is already fully
>> booted (typical multi-user state type of thing).  I can also find
>> /dev/disk/ block devices including iscsi devices using my logic within
>> fstab-generator.c.  The problem is when the system reboots, it appears
>> systemd using the same fstab-generator logic that I implemented is
>> unable to detect any iscsi devices.  After doing some research, it
>> appears normal systemd behavior is to mount  /  and /usr then invoke
>> fstab-generator.c to determine if a given filesystem in /etc/fstab
>> should be a local or remote target.
>>
> 
> / and /usr are mounted by initramfs before systemd starts.

And what about /run?

[...]

Regards,
Ulrich


_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux