[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
libexec
/
os-probes
/
mounted
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 efi
SET
[ DEL ]
📄 05efi
2,073 B
SET
[ EDIT ]
|
[ DEL ]
📄 10freedos
517 B
SET
[ EDIT ]
|
[ DEL ]
📄 10qnx
390 B
SET
[ EDIT ]
|
[ DEL ]
📄 20macosx
842 B
SET
[ EDIT ]
|
[ DEL ]
📄 20microsoft
3,447 B
SET
[ EDIT ]
|
[ DEL ]
📄 30utility
863 B
SET
[ EDIT ]
|
[ DEL ]
📄 40lsb
891 B
SET
[ EDIT ]
|
[ DEL ]
📄 70hurd
247 B
SET
[ EDIT ]
|
[ DEL ]
📄 80minix
431 B
SET
[ EDIT ]
|
[ DEL ]
📄 83haiku
884 B
SET
[ EDIT ]
|
[ DEL ]
📄 90linux-distro
5,734 B
SET
[ EDIT ]
|
[ DEL ]
📄 90solaris
385 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 20macosx
#!/bin/sh -e # Detects Mac OS X. I don't yet know how Mac OS <= 9 fits into this. . /usr/share/os-prober/common.sh partition="$1" mpoint="$2" type="$3" debug() { if [ -z "$OS_PROBER_DISABLE_DEBUG" ]; then logger -t macosx-prober "debug: $@" fi } # Weed out stuff that doesn't apply to us case "$type" in hfsplus) debug "$1 is an HFS+ partition" ;; *) debug "$1 is not an HFS+ partition: exiting"; exit 1 ;; esac # Could use a better test than this. # /System/Library/CoreServices/SystemVersion.plist has version information, # but I don't think it exists on Mac OS <= 9, and it's XML so parsing in # shell will be nasty. if [ -e "$2/mach_kernel" ] && ! dd if="$2/mach_kernel" count=1 bs=5 2>/dev/null | grep -aq Dummy ; then label="$(count_next_label MacOSX)" result "$1:Mac OS X:$label:macosx" exit 0 else exit 1 fi