Re: find issue led to possible fsck bug

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

 



On Tue, 2006-05-02 at 22:12 -0400, Matthew Saltzman wrote:
> On Tue, 2 May 2006, Scot L. Harris wrote:
> 
> > On Tue, 2006-05-02 at 20:49 -0400, Matthew Saltzman wrote:
> >
> >> Is /selinux even a real file system?  All the files have size 0 and time
> >> equal to the time of last boot, and it doesn't appear in /etc/fstab.
> >> That looks suspiciously like a pseudo-filesystem like /sys and /proc.
> >> fsck doesn't work on those.  I don't think that find does either.
> >
> > Now that is an interesting idea.  How do you tell the difference?
> 
> I'm sure there's a better way, but I think if you boot with a rescue disk, 
> the contents of pseudo-filesystems in /mnt/sysimage (where your disk 
> partitions get mounted) will be empty.
> 
> >
> > That would explain the find error.  But what about the fsck problems?
> 
> I'd guess that, because pseudo-filesystems get recreated at boot, they 
> will recreate the same apparent errors.  Because they aren't really on 
> disk, they may operate correctly without being in an apparently consistent 
> state.  You can't unmount them, and you are always warned against running 
> fsck against a mounted filesystem.
> 
> Note that I'm not in any sense an expert on this aspect of *nix.  Maybe 
> somebody who knows more would care to weigh in?

Actually, that would explain why when he ran fsck from boot (/forcefsck)
it did not report any problems.

So it sounds like fsck reports incorrect info if run on a mounted file
system.  And find does not like pseudo file systems.

Is there a way to exclude the pseudo file systems from find?  I have
been looking at using -prune but that does not appear to work.



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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