Reputation
221
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 4
Newest
 Yearling
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Apr
5
comment USB to Serial Adaptor works once for every reboot
@m1xed0s Thanks for pointing out the typo. I mean multiple users or processes attempting to open the serial port at the same time. This was an issue on multiuser Unix machines with pools of modems, but it is a non-issue on your Mac.
Apr
5
revised USB to Serial Adaptor works once for every reboot
Fix typo in flags: "-s" -> "-l"
Mar
30
comment Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
@Greenonline Indeed -- fstab seems to need a volume UUID rather than a device UUID. Answer updated.
Mar
30
revised Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
Update answer to use hfs.util instead of IOReg
Mar
28
awarded  Yearling
Mar
28
revised Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
Update to note parameters to ioreg to restrict output, not diskutil doesn't work in single-user mode.
Mar
27
comment Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
@Greenonline I qualified the diskutil part of response more; I haven't tried it in single user mode and I don't know whether it depends on a daemon. I do know that it works on a disk that isn't mounted. Very curious to know what error message you received.
Mar
27
revised Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
Updated to be more qualified about diskutil.
Mar
27
comment Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
@Greenonline No, I haven't tried it from single user mode, and yes, I understand they're different. You say you tried it; did you get an error message? If so, what was it?
Mar
24
revised USB to Serial Adaptor works once for every reboot
Describe how to change lockdir to avoid the use of sudo
Mar
24
comment USB to Serial Adaptor works once for every reboot
The issue with needing to use sudo is writing the lock file to /var/spool/uucp. If you aren't on a multiuser system where port contention is a problem, you can change lockdir in the config file. See updated answer.
Mar
23
comment USB to Serial Adaptor works once for every reboot
@m1xed0s With the stty clocal < /dev/cu.usbserial command, did you try it while screen was hanging? Trying it before the second command and during the second command test different things; it's worth trying both.
Mar
23
comment USB to Serial Adaptor works once for every reboot
@m1xed0s Yes, you should use cu instead of screen. If you need the detach functionality, you can do screen cu -l /dev/cu.usbserial -s 9600. The issue is probably around screen changing the RS-232 signal handling on the port, and cu leaving it alone.
Mar
23
comment Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
Yes, diskutil should work in that situation. I have booted from an installation USB key, started terminal and used diskutil to configure disks, examine disks, etc. It doesn't have a requirement for the disk to be mounted. If you did try it, and it failed, post the error.
Mar
23
answered USB to Serial Adaptor works once for every reboot
Mar
23
answered Command line equivalent of Disk Utility, which is not diskutil, to obtain UUID
Mar
19
awarded  Editor
Mar
19
revised Corestorage: Partial recovery from physical disk failure?
Clarify which disks are unreadable.
Mar
14
answered Need a cli to check the sha256 hash of a file
Mar
11
awarded  Student