Monitoring read only filesystem #19

Closed
hersha opened this Issue Apr 13, 2012 · 6 comments

Comments

Projects
None yet
5 participants
@hersha

hersha commented Apr 13, 2012

Is there a way to monitor a readonly filesystem? I have a readonly NFS share that I need to monitor and it is read-only and because of the way listen creates '.listen-test' to confirm that the adapter is working it throws an Errno::EROFS. Would it be possible to force an adapter that you know will work and skip the test? I'll fork and see if I can come up with a work around.

@Maher4Ever

This comment has been minimized.

Show comment Hide comment
@Maher4Ever

Maher4Ever Apr 13, 2012

Contributor

Great. I'll wait to see what you come up with so that we don't work on the same thing.

Contributor

Maher4Ever commented Apr 13, 2012

Great. I'll wait to see what you come up with so that we don't work on the same thing.

@malclocke

This comment has been minimized.

Show comment Hide comment
@malclocke

malclocke Jun 10, 2012

My 2c, I was quite surprised that this is default behaviour. I wouldn't expect this gem to make any modifications to the watched filesystem itself at runtime, no matter how innocuous.

What advantages does this test bring? If notifications don't work on a platform, then would the fact that they are not working be indication enough?

My 2c, I was quite surprised that this is default behaviour. I wouldn't expect this gem to make any modifications to the watched filesystem itself at runtime, no matter how innocuous.

What advantages does this test bring? If notifications don't work on a platform, then would the fact that they are not working be indication enough?

@rymai

This comment has been minimized.

Show comment Hide comment
@rymai

rymai Jun 11, 2012

Owner

@malclocke This test determines if the adapter can actually pick up changes in the directories to watch and returns the result. See the documentation here: https://github.com/guard/listen/blob/master/lib/listen/adapter.rb#L113-114

It doesn't determine if notification works or not on a platform.

That said, it should be great to be able to force the listening adapter! :)

Owner

rymai commented Jun 11, 2012

@malclocke This test determines if the adapter can actually pick up changes in the directories to watch and returns the result. See the documentation here: https://github.com/guard/listen/blob/master/lib/listen/adapter.rb#L113-114

It doesn't determine if notification works or not on a platform.

That said, it should be great to be able to force the listening adapter! :)

@thibaudgg

This comment has been minimized.

Show comment Hide comment
@thibaudgg

thibaudgg Jun 12, 2012

Owner

Yeah having an method/option to force a specific adapter could be handy. @malclocke can you make a pull request? Thanks!

Owner

thibaudgg commented Jun 12, 2012

Yeah having an method/option to force a specific adapter could be handy. @malclocke can you make a pull request? Thanks!

@ghost ghost assigned thibaudgg Jun 27, 2012

@Maher4Ever

This comment has been minimized.

Show comment Hide comment
@Maher4Ever

Maher4Ever Aug 16, 2012

Contributor

@hersha Could you please provide us with an update on how far you've got working on this?

Contributor

Maher4Ever commented Aug 16, 2012

@hersha Could you please provide us with an update on how far you've got working on this?

@thibaudgg

This comment has been minimized.

Show comment Hide comment
@thibaudgg

thibaudgg Apr 6, 2013

Owner

Closed because no activities, feel free to reopen if interest is back.

Owner

thibaudgg commented Apr 6, 2013

Closed because no activities, feel free to reopen if interest is back.

@thibaudgg thibaudgg closed this Apr 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment