Re: shutdown not unnmounting
On 20 Aug 1998, Gary L. Hennigan wrote:
How about something like
mount -o remount ro -a
after umount -a in /etc/init.d/reboot & halt?
See something like /usr/doc/tips???
(PS Don't use this without verification - I don't know what I'm doing!)
> Keith Beattie <ksb@icds.org> writes:
> | David B. Teague wrote:
> | >
> | > The problem is that SOMETIMES, not frequently,
> | >
> | > shutdown -h now
> | >
> | > will stop before unmounting drives
> | >
> | > The correct answer is to upgrade, but is there anything I could
> | > do in the interim?
> | >
> | > I have a draconian set of deadlines, and I don't want to do anything
> | > that could result in this machine going down for any length of time.
> | >
> |
> | Don't shutdown your machine.
> |
> | [ducking under desk]
> |
> | Ok, Ok, I have some real ideas to consider...
> |
> | Idea #1 - umount the drives yourself:
> |
> | sync;sync;sync
> | umount -a
> | shutdown -h now
> |
> | Idea #2 - have shutdown wait a period of time before actually shutting
> | down
> |
> | shutdown -h +5 # Check my syntax on the +5
> |
> | Idea #3 - some combination of the above ideas
> |
> | sync;sync;sync
> | umount -a
> | shutdown -h +5
>
> syncs aren't necessary if you're umounting the drive anyway. umount
> causes the buffer for that device to be flushed before it actually
> unmounts the device.
>
> Gary
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
+--------------------------------------------------+
| Mike Nachlinger (408) 446-9914 mnach@apres.org |
| Apres Ski Club 1-888-APRESGO www.apres.org |
+--------------------------------------------------+
Reply to: