Timeline for How to detect if mount point exists from init.d script?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2016 at 17:12 | comment | added | Jeter-work | @FalconMomot is OP trying to detect the mount point before mounting the drive? Or trying to determine if the mount was successful? Also, automount does not mount the resource until you try to access it. And by default automount mounts all automounted partitions within a folder, and dynamically creates the mount points when it mounts the partition. But all of that happens, AFAIK, when the resource is accessed. | |
Nov 12, 2014 at 13:07 | answer | added | Orace | timeline score: 5 | |
Nov 4, 2013 at 5:28 | comment | added | Falcon Momot | To be pedantic, the mount point is a (empty) directory, and exists whether anything is mounted on it or not. | |
Nov 3, 2013 at 20:02 | comment | added | fredrik | @Marki Oh, yes of course. Sorry. Yes! | |
Nov 3, 2013 at 19:37 | comment | added | Marki | No? Well, my comment was about Dennis Williamson's comment. So, Yes! | |
Nov 3, 2013 at 18:55 | vote | accept | fredrik | ||
Nov 3, 2013 at 18:50 | comment | added | fredrik | @Marki No, I really like Alexis' answer. Making sure that the application is reachable is a great way of knowing that it can also be executed in my case. | |
Nov 3, 2013 at 14:28 | comment | added | Marki | I believe what the OP means is the problem that some services start asynchronously, meaning the startup script can be done, but whatever it starts not be available right away. | |
Nov 3, 2013 at 12:53 | review | Close votes | |||
Nov 4, 2013 at 19:44 | |||||
Nov 3, 2013 at 12:34 | comment | added | Dennis Williamson | possible duplicate of How to change Linux services startup/boot order? | |
Nov 3, 2013 at 10:27 | review | First posts | |||
Nov 3, 2013 at 14:28 | |||||
Nov 3, 2013 at 10:18 | answer | added | Alexis Wilke | timeline score: 9 | |
Nov 3, 2013 at 10:17 | history | edited | fredrik | CC BY-SA 3.0 |
Edited title, edited tags.
|
Nov 3, 2013 at 10:12 | history | asked | fredrik | CC BY-SA 3.0 |