find issue led to possible fsck bug
Stephen Smalley
sds at tycho.nsa.gov
Wed May 3 12:22:45 UTC 2006
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.
/proc/mounts and /proc/filesystems are your friends.
--
Stephen Smalley
National Security Agency
More information about the fedora-list
mailing list