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

Re: [MiNT] Easymint filesystem checks



On 1/12/11 2:31 PM, Jo Even Skarstein wrote:
How does Linux handle this ? Would it make sense to generate fstab during
boot ?
I don't know how Linux handles this, but IMO the correct way to do this
under MiNT is to write a small program that checks the partition type on
all partitions and then run the correct fsck on each of them.

Jo Even
Linux I believe uses fstab too. It mounts the filesystem read only. After the check and everything is consistent it remounts in rw. Since linux will run on a single ext2 partition, it needs to mount the partition to even load init, or the fsck binary or anything really.

Thanks,
Mark