Closed louies0623 closed 1 year ago
Probably your /media/data-
is indeed almost full? So not a bug.
Its Live SD has 4GB, so it has nothing to do with them.
@probonopd there nothing else is plugged in except the Live USB. There is only the internal hard drive and nothing else on the computer.
Update : Same as this issue https://github.com/helloSystem/ISO/issues/509
Probably your internal hard drive has a partition with this name that is almost full.
Yes, that is the recovery disk, otherwise it is the boot disk that comes when Windows is installed.
Maybe we should not have that kind of window notification, but change it to a notification in the upper right corner, and also reduce the number of notifications.
Please find out the GUID of those partitions. If those kinds of Windows recovery partitions have a standardized GUID, then we can prevent it from being mounted automatically.
I found this from Wikipedia, it should be these two
MSR : E3C9E316-0B5C-4DB8-817D-F92DF00215AE
Windows Recovery Environment : DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
"Partition type GUID" means that each partition type is strictly identified by a GUID number unique to that type, and therefore partitions of the same type will all have the same "partition type GUID". Each partition also has a "partition unique GUID" as a separate entry, which as the name implies is a unique id for each partition.
https://en.m.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
There is a problem here. Hiding or unhiding disk partitions or disk areas is originally included in the hard disk. Why is it handled by GUID?
If Windows Rescue partitions all have the same GUID, we can blacklist these partitions from being mounted automatically, which will also result in the warning message to not show.
I'm not very good at reading disk GUIDs, but I don't think so. It feels like individual IDs. If use detect whether the disk sector is hidden, wouldn't it be simpler? If it's hidden, don't load it.
Update : Sh*t Google translate
geom part list
shows your partitions. I am interested in the rawtype
of the partition that should not be mounted.
Good idea to check whether the hard drive partition is hidden and not mounting if it is. But how can we find out in FreeBSD whether a partition is hidden?
@probonopd These two disks have the smallest capacity and keep informed, I actually don’t know how to find if it is hidden, but it seems that the rawtype of GUID is consistent because it can also be seen on the wiki.
rawtype : 83bd6b9d-7f41-11dc-be0b-001560b84f0f rawtype : c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Update: The computer is Windows 7, the scheme id is MBR and EBR, they doesn't have a GPL GUID.
The new version has this special effect, which allowed me to find this problem. Build 0I46 Live SD
https://github.com/helloSystem/Menu/assets/44593430/9254feae-96d4-4bac-bf11-fd8037172854