Force kernel to reread partition table

We want to have /etc/fstab being up2date on the live
system after installation, so force processing the
according uevents between kernel and userspace...

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 13 years ago
parent bea56bd7c7
commit fe379e4390

@ -1185,6 +1185,9 @@ sync
# unmount chroot - what else?
umount $TARGET || umount -l $TARGET # fall back if a process is still being active
# make sure /etc/fstab is up2date
blockdev --rereadpt /dev/$DISK
# party time! who brings the whiskey?
echo "Installation finished. \o/"
echo

Loading…
Cancel
Save