Timeline for How can I tell which volume the operating system is on?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 10, 2023 at 4:10 | comment | added | avp |
Different version to directly get the volume name: diskutil info / | sed -n 's/^ *Volume Name: *//p' Source: apple.stackexchange.com/a/451284/312651
|
|
May 5, 2012 at 16:05 | history | edited | nohillside♦ | CC BY-SA 3.0 |
added 145 characters in body
|
May 4, 2012 at 16:18 | comment | added | Andy | @patrix Sorry for the slow reply. Yes, that was what I looking for. Thank you | |
May 2, 2012 at 21:30 | comment | added | nohillside♦ |
@Andy, are you looking for something like diskutil info $(df -h / | tail -1 | cut -d' ' -f 1) ?
|
|
May 2, 2012 at 19:50 | history | edited | Aaron Lake | CC BY-SA 3.0 |
added 1 characters in body
|
May 2, 2012 at 19:49 | vote | accept | Andy | ||
May 2, 2012 at 19:49 | comment | added | Andy | That's fair enough. I am pretty certain I know what to now any way. Thanks again for your help! | |
May 2, 2012 at 19:40 | comment | added | Aaron Lake | That's outside my field of knowledge, but I'll update the answer if someone leaves a comment. | |
May 2, 2012 at 19:38 | history | edited | Aaron Lake | CC BY-SA 3.0 |
added 210 characters in body
|
May 2, 2012 at 19:38 | comment | added | Andy |
Thank you very much for that information - it is just what I needed. Do you know if there is a way to combine that line with diskutil info ... or do you think I will have to run the command in Java and use what it returns in another command for the diskutil info part?
|
|
May 2, 2012 at 19:31 | history | answered | Aaron Lake | CC BY-SA 3.0 |