summaryrefslogtreecommitdiff
path: root/scripts/nfs
AgeCommit message (Collapse)Author
2010-06-18nfsmount: more small cleanupsmaximilian attems
code up the nfs rootdelay in a more efficient way. here people need the time it takes, so stay on 180s. Signed-off-by: maximilian attems <maks@debian.org>
2010-06-18scripts/nfs: cleanup retry logicFerenc Wagner
The condition of log_end_msg was always true. Calling do_nfsmount before the loop lets us drop two other checks. Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: maximilian attems <maks@debian.org>
2010-06-14code cleanup: drop trailing whitespaces.Michael Prokop
Signed-off-by: Michael Prokop <mika@debian.org>
2008-07-03Wait for udevsettle after $BOOT-top scripts ranmartin f. krafft
udev may be busy creating links for the root device by the time mountroot is called. udevsettle makes sure these are processed. I thus call udevsettle with a timeout of 10 seconds after the $BOOT-top scripts have run and before the ROOTDELAY hack kicks in. I thought about doing this with a local-top script instead, but there is no way to ensure that it'll run last; cryptsetup uses a hack to make sure it runs last, if we also use the same hack, there'll be a dependency loop. Signed-off-by: martin f. krafft <madduck@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2007-09-04initramfs-tools: split networking code into separate functionVagrant Cascadian
ltsp in ubuntu started using NBD+unionfs+squashfs instead of NFS, and debian-live uses has a network boot methods using cifs in addition to a different way of using NFS (i think it also uses unionfs and maybe squashfs, not just a plain NFS/cifs mount)... so splitting out the networking related code into a separate function would move towards not having forked code for all of these different network boot methods. at least, that's my hope.
2007-05-27scripts/nfs: fix when root-path includes server-ipmaximilian attems
2007-04-02first prerelease 0.86 + merge 0.85fmaximilian attems
* kick mdrun script * update control for lenny + ubuntu * add _all_ ide, block and drivers * use MODPROBE_OPTIONS and kill any modprobed arg * small doc + whitespace fixes
2006-09-27- mkinitramfs: allow umask setting paranoidmaximilian attems
- revert an nfs changes small fixes over the place
2006-09-19- more nfs work (timeout, parsing, typo)maximilian attems
- lilo codeflow - add lasi700 scsi module
2006-09-04- better nfs handling: merge vagrant branch :) + local changesmaximilian attems
- cleanup stupid whitespace all over the place
2006-08-25- fix bashismmaximilian attems
- rename mdadm.conf in mdrun.conf - retry nfsmount - harden init - fix lvm boot script prereqs
2006-08-23- improved nfsroo parsingmaximilian attems
- added rootdelay and rootfstype bootargs - document this changes - initrd-tools backward compatible mdadm assembe and then run mdrun - update-initramfs really checkout use_bootloader from /etc/kernel-img.conf - tighter klibc deps
2006-08-05- revert s/mount/nfsmountmaximilian attems
debian busybux has no nfs support lately
2006-07-20- drop md scriptsmaximilian attems
- pump klibc dep - use resume klibc-utils bin - remove some klibc binaries - use nfsmount
2006-02-27sync with ubuntu22 + some handmergesmaximilian attems
2005-12-12debian's module-init-tools of testing doesn't have yet themaximilian attems
modprobe -Qb interface, keep the change for next time. :(
2005-12-12merge ubuntu modprobe silence stuffmaximilian attems
and cp all /etc/modprobe.d :)
2005-12-05resync with latest ubuntu, split udev done by hand.maximilian attems
2005-10-21added latest upstream fixes :-)maximilian attems
2005-08-25initramfs-tools (0.23) breezy; urgency=lowJeff Bailey
"This suspense is terrible. I hope it will last." - Oscar Wilde * scripts/local: Quote ${ROOT} so that an empty value causes us to drop to a shell. Thanks to Matt Zimmerman for this fix! - hook-functions (auto_add_modules): Add atiixp and opti621 to the IDE set. - hook-functions (dep_add_modules): Detect i2o and add i2o_block (auto_add_modules): Include i2o_block. - scripts/functions (i2o_boot_events): New function (load_modules): Call it. (Ubuntu# 13806) Thanks to Tollef Fog Heen for the i2o patch! - debian/control: Depend on udev. Thanks to Alexander Butenko for troubleshooting this with me. - init: Move the /dev directory to the root filesystem. Handle all the udev bind mounts as needed. Make sure input and output is associated with dev/console. - scripts/functions (parse_numeric): Exit if we're refering to a path. Otherwise override root setting to be /dev/root. - init: Call parse_numeric when setting the root variable. - scripts/local-top/lvm: When using a numeric root, call vgchange -ay Don't attempt to start LVM on regular partitions. (Ubuntu #13365, #13778, and some of #13399) - scripts/local-top/lvm: Cope with -'s in the Volume Group and logical volume names. (Ubuntu #13387) Thanks to Stephen Shirley for the patch! -- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400 initramfs-tools (0.22) breezy; urgency=low * Fix argument handling in force_load hook-function * Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942 -- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700
2005-06-30* Use detailed logging now for debian/changelog. We have at leastJeff Bailey
three people hacking now, and details would probably be useful. * debian/TODO: Update * debian/dirs: Sort and add usr/share/initramfs-tools/hooks * debian/initramfs-tools.examples: Add docs/example_hook and docs/example_hook_cpiogz * debian/initramfs-tools.install: Pretty Print. * debian/rules: Ensure that mkinitramfs is executable * docs/example_script: New file * init: Add concept of 'quiet', be verbose if not specified * mkinitramfs: Do not load script functions until needed Clear up comments / documentation Use DESTDIR instead of TMPDIR Add ability to link in extra hunks into the cpio file Cosmetic cleanups * scripts/functions: Add lsb stype log_FOO_msg functions * scripts/local: Add logging * scripts/nfs: Add logging
2005-06-21* Default to currently running kernel version.Jeff Bailey
Based on a patch from maximilian attems, thanks! * Handle module arguments in /etc/mkinitramfs/modules * Do hookscripts at generation time. Drop things into /usr/share/initramfs-tools/hooks or /etc/mkinitramfs/hooks * Make sure local-bottom and nfs-bottom get created Thanks to Karl Hegbloom for these three patches! * Prune stray echo from call_scripts * Load raid1 for now so that md setups will work. * Detect ide modules load Thanks to Jeff Waugh for initial testing of this!
2005-06-17Make quieter, match mkinitrd interface, pull in dependencies for nfs and ↵Jeff Bailey
dhcp, document upstream repository location
2005-06-14export command line parameters to run scripts. honour commandline ↵Jeff Bailey
readonly/readwrite parameters for nfs. Release initramfs 0.8
2005-06-13Update with new dependancy based init system, call the right script ↵Jeff Bailey
directories, always use busybox now, sigh.
2005-06-09Add hookscriptsJeff Bailey
2005-06-08Initial checkinJeff Bailey