Re: FC 11 Boot mode single user [recovery password]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux