jpo-joyent

Results 8 comments of jpo-joyent

@Njiallu: '\`' (`~`) is 0x32 on my keyboard, and ``` cmd - 0x32: ... ``` works :)

> What do you think of using `ls /dev/disk/by-id/` to detect the correct value. ATA for HDD, USB for USB drive?. Shall I go ahead and code it? Those filesystem...

> LOL. Gotta love storage hardware vendors :) That last one lists three separate bus types in the bus path... PCI, USB and SCSI are all bus types. **sigh** Hence...

It may be a good idea to collect a corpus of /sys and udev data from real machines w/ physical descriptions of them so we can actually answer these types...

Being attached via USB is not a reliable indicator of being rotational or not: ![image](https://user-images.githubusercontent.com/42818489/52803542-45ea2300-3050-11e9-842d-b2eff437f51b.png) ![image](https://user-images.githubusercontent.com/42818489/52803557-4aaed700-3050-11e9-8067-969f225bb413.png) ![image](https://user-images.githubusercontent.com/42818489/52803564-4edaf480-3050-11e9-8c82-f3526ff64f01.png) ![image](https://user-images.githubusercontent.com/42818489/52803893-fa844480-3050-11e9-9540-3aa035377383.png) ![image](https://user-images.githubusercontent.com/42818489/52803769-babd5d00-3050-11e9-9a2d-fd4fad5d6c29.png) ![image](https://user-images.githubusercontent.com/42818489/52803569-51d5e500-3050-11e9-90f7-c71407e94b27.png) Storage is hard :/

I think this is why many projects just link to https://godoc.org/github.com/jaypipes/ghw from their README. If you really prefer it duplicated inline in the README as checked into the repo though,...

From ["macOS Code Signing In Depth"](https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG12): > Signing a program will modify its main executable file. There are some situations where this will cause you trouble: > - If your...

Might want to detect if the locale is `*.UTF-8` instead, since that would be consistent with how other utilities decide whether to use special chars or not, and would not...