Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with automounting #43

Closed
GoogleCodeExporter opened this issue Mar 29, 2015 · 6 comments
Closed

problems with automounting #43

GoogleCodeExporter opened this issue Mar 29, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Plug in harddisk
2. Run rtorrent
3. Plugin another usb harddisk and after that unplug it.

What is the expected output? What do you see instead?
All torrents will have errors. You must restart rtorrent.
I think, automount script is unmounting all partitions and after that is
mounting all.

What version of the product are you using?
r396

Please provide any additional information below.
When i kill watchdog and mount new harddisk and unmount manual there is no
problem.

Original issue reported on code.google.com by lesiuk@gmail.com on 18 Aug 2009 at 7:51

@GoogleCodeExporter
Copy link
Author

Seems to be you are right - remove usb invokes umount_all_part(). This part of 
code
written by ASUS, and it will be difficult to modify that logic, but we try.

Original comment by lly.dev on 19 Aug 2009 at 5:47

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

i.e. code in rc designed in assumption that we use single usb-storage :(

Original comment by lly.dev on 19 Aug 2009 at 6:16

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

provide your pre and port-mount, i've got an idea...

Original comment by v...@orient-96.ru on 22 Aug 2009 at 9:42

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

[root@LesiukNET root]$ cat /usr/local/sbin/post-mount
#!/bin/sh
/opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf
/usr/sbin/wl radio off
/bin/sh /opt/bluetooth
/opt/etc/init.d/S99rtorrent start
/opt/bin/program &> /opt/share/www/online.txt &
/opt/sbin/bftpd -d
/opt/sbin/smbd
/opt/bin/ez-ipupdate -c /opt/etc/ez.conf -d

# i do not have pre-mount

Original comment by lesiuk@gmail.com on 24 Aug 2009 at 10:19

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r994.

Original comment by lly.dev on 19 Dec 2009 at 9:29

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

many thanks! Now i try to compile and to check how It's working.

Original comment by andrey....@gmail.com on 19 Dec 2009 at 11:20

  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant