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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux