Early userspace for ALT Linux ISOs
Go to file
Alexey Sheplyakov db44ebdc74 Avoid races between init mounting loopback device and udev probing it
LOOP_SET_FD, LOOP_SET_STATUS ioctls trigger a `change` event with
loopback device in question. udev handles those events with
(builtin) blkid command. Probing a device with blkid takes a while,
so init might try to mount the loopback device in question while
`blkid` is still running. As a result init and udev block each other.
Eventually (after 3 minutes or whatever udev event timeout is)
`blkid` gets killed and boot proceeds. However such long delays are
very annoying. Therefore run `udev_settle` after each loop related
ioctl to avoid the concurrent access to the same loopback device.

Closes: #40687
2021-08-19 20:00:34 +04:00
doc Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
.cvsignore *** empty log message *** 2004-12-29 21:48:39 +00:00
.gear-rules massive change caused by udev use in initramfs: 2008-03-01 22:02:06 +03:00
.rpmwrap 20070301-alt6 released 2007-08-03 14:26:44 +04:00
adsl.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
adsl.h Initial revision 2004-01-20 18:32:43 +00:00
automatic.c dhcp.c: Provide an option to omit the vendor class 2018-06-09 18:27:00 +03:00
automatic.h dhcp.c: Provide an option to omit the vendor class 2018-06-09 18:27:00 +03:00
cdrom.c cdrom.c, tools.{h.c}: Add support 'fuid' automatic mode option for method cdrom 2021-04-04 17:18:25 +04:00
cdrom.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
common.c common.c: more strict address ariphmetic. 2018-04-22 15:31:04 +03:00
common.h add common mkdir_dev() and mkdirs_dev() funcs 2013-11-06 20:34:29 +04:00
config-stage1.h Use ramdisk_size from kernel cmdline 2017-12-08 16:18:37 +03:00
dhcp.c DHCP: fixed timeout for DISCOVER request 2018-08-22 20:08:23 +04:00
dhcp.h Initial revision 2004-01-20 18:32:43 +00:00
disk.c disk.c, mount.c: Add support exfat 2021-03-23 12:24:50 +07:00
disk.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
dns.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
dns.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
frontend-common.c Initial revision 2004-01-20 18:32:43 +00:00
frontend.h Initial revision 2004-01-20 18:32:43 +00:00
gen_init_cpio.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
init.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
init.h Makefile, init.c, init.h: multiple changes in code and algorithms. 2018-04-22 17:43:47 +03:00
insmod.h Initial revision 2004-01-20 18:32:43 +00:00
log.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
log.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
lomount.c Avoid races between init mounting loopback device and udev probing it 2021-08-19 20:00:34 +04:00
lomount.h made standalone `init' binary to save few KB's 2008-03-12 15:19:18 +03:00
Makefile 20190418-alt1 2019-04-18 12:00:06 +03:00
mkmodpack mkmodpack: include leading directories for firmware files 2021-07-21 18:56:10 +03:00
modules.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
modules.h massive change caused by udev use in initramfs: 2008-03-01 22:02:06 +03:00
mount.c disk.c, mount.c: Add support exfat 2021-03-23 12:24:50 +07:00
mount.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
network.c network.c: set PREFIX to "/" for nfs and cifs methods due its mounted to image root 2021-04-05 13:05:51 +04:00
network.h add support of cifs network install method 2018-08-22 20:08:23 +04:00
newt-frontend.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
probing.c 20181117-alt1 2018-11-17 22:53:22 +03:00
probing.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
propagator.spec 20210721-alt1 2021-07-21 18:56:21 +03:00
sha256.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
sha256.h added SHA256 implementation (GPLv2+) 2014-04-19 12:49:48 +04:00
stage1.c Fix potential memory overflow in welcome string 2021-04-04 17:34:46 +04:00
stage1.h Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
stdio-frontend.c Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
tools.c Avoid races between init mounting loopback device and udev probing it 2021-08-19 20:00:34 +04:00
tools.h cdrom.c, tools.{h.c}: Add support 'fuid' automatic mode option for method cdrom 2021-04-04 17:18:25 +04:00
udev.c udev.c, udev.h: new source files added. 2018-04-22 15:25:16 +03:00
udev.h udev.c, udev.h: new source files added. 2018-04-22 15:25:16 +03:00
url.c network.c, url.c: disable keep-alive and close http socket after downloading 2019-09-03 17:30:52 +04:00
url.h Initial revision 2004-01-20 18:32:43 +00:00