FC 11 Boot mode single user [recovery password]

Jerry Feldman gaf at blu.org
Fri Aug 14 17:13:23 UTC 2009


On 08/11/2009 10:04 AM, Mikkel L. Ellertson wrote:
> Jerry Feldman wrote:
>   
>> Actually, before the umount, you probably want to exit the chroot shell.
>> umount is important in that it forces all data to be written. If you did
>> a proper shutdown, the file system mounted on /mnt/sysimage would be
>> unmounted during the shutdown process, but my background goes back to
>> older Unix systems where things were less stable than they are today.
>>
>>     
> Would you even be able to run umount before exiting the chroot
> shell? I would expect you to run into problems with the file system
> being in use, the mount point not being visible, and the mount not
> listed in mtab until you exit the chroot shell. (Though I would
> expect it to be listed in /proc/mounts.)
>
> On the other hand, I would expect synce to flush the buffers to disk
> even in the chroot shell.
>
> But what I normally do is use exit to get out of the chroot shell,
> and exit again to get out of the rescue shell. This does a proper
> shutdown of the system.
>
> Mikkel
>   
Certainly, a proper shutdown (exit, exit) should do the trick. A sync
will flush the buffers, and probably exiting chroot will force a sync. I
personally prefer to unmount volumes manually just as a paranoid
precaution. And you certainly would not be permitted to unmount the
volume while in the chroot session.

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090814/a7ae762d/attachment-0001.sig>


More information about the fedora-list mailing list