Welcome, Guest. Please login or register.

Author Topic: OS3.1 hard disk volume icon  (Read 6274 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nbache

Re: OS3.1 hard disk volume icon
« on: March 10, 2019, 02:06:36 PM »
"Disk.info" should be in the root directory of any disk.....
He mans the white rectangular hard disk icon. It could be anywhere on the disk, it might even be created via some C command used in the install / prep hd scripts.
A disk icon should always be named Disk.info and reside in the root of the disk in question. It can contain any image you want. So if you have an icon resembling a hard disk, you can rename it to Disk.info, make sure its type is DISK, and put it in the root of the volume. Then it should display on your next boot.

If you don't have any Disk.info in the root of a disk, it will (normally) just use the default floppy icon. (Under OS4, there are some extra defaulting mechanisms, so you can assign a deficon based on the device name etc., but that's not relevant here.)

Best regards,

Niels
 

Offline nbache

Re: OS3.1 hard disk volume icon
« Reply #1 on: March 11, 2019, 10:09:20 PM »
Under OS4, there are some extra defaulting mechanisms

The idea is not so new. Already since Kick 2.0 you can override some default icons by placing them in Envarc:sys:

def_disk.info
def_drawer.info
def_tool.info
def_project.info
def_trashcan.info
def_kick.info
Yes, I know. But I was referring to the possibility of having separate def_ icons for each device name.

For instance, I have def_CD0.info (and def_CD1.info etc.), def_DF0.info, def_SMBFS0.info (for my "HomeDisk" NAS, with an image of a networked disk with a house on top ;-)) and many others.

I believe those arrived during OS 4.x some time.

Best regards,

Niels