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

Re: find issue led to possible fsck bug



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


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