[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Easymint filesystem checks
On Wed, 2011-01-12 at 21:33 +0100, Jo Even Skarstein wrote:
> > > 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.
>
> > So this info would come from HD Driver or some data on the partition.
>
> I guess you can use Dcntl to find this information.
Looks like Dcntl(FS_INFO...) does the trick.
Jo Even