Page 1 of 1

Some questions.

Posted: Tue Dec 07, 2021 1:32 pm
by CandyMan
Hi!

Is there any way in KolibriOS to detect disk type and its size, occupancy, free space and cluster size (FAT, NTFS and others)?
When will the File Rename feature work?
What kind of disks starting with /sd0/ (please decode the abbreviation/name)?

Best regards,
CandyMan

Re: Some questions.

Posted: Tue Dec 07, 2021 4:06 pm
by Doczom
Rename files working in IDE, SATA, and usb flash disks, for /cd this function don`t working .
/sd0 - sata disk .

Re: Some questions.

Posted: Tue Dec 07, 2021 6:21 pm
by CandyMan
Thanks.

Re: Some questions.

Posted: Tue Dec 07, 2021 7:06 pm
by Leency
There is no way to build icon into application.
The icon is stored in /sys/icons32.png, and the icon must be without alpha channel. I will add it there.

> When will the File Rename feature work?
It is working f70.10. You can check it in Eolite.

> Is there any way in KolibriOS to detect disk type and its size, occupancy, free space and cluster size (FAT, NTFS and others)?
Disk type is a disk name.
Disk size is thrown back when you read the folder like "/" or "/sd0/"
I advice you to not read "/cd/" size as it force to read cd which may be very long if disk is not in the case.
Free space: I don't know. Maybe there is a way, maybe not.
For /rd0/1/ I created a file of 1.4 and then check the size of actually created file. Then I removed it. Can be done once or so (not often).

Cluster size... I think it is not implemented.