Modify

Opened 8 years ago

Closed 6 years ago

#3432 closed enhancement (obsolete)

Automatic mounting/unmounting of usb devices

Reported by: openwrt@… Owned by: fish
Priority: normal Milestone:
Component: base system Version:
Keywords: usb mount Cc: stephendwalker+openwrt@…

Description

I hacked the usb-storage script to automount multiple disks and unmount them on removal.

This is on brcm-2.4 on an asus wl500gp

kamikaze revision r11112

Attachments (2)

usb-storage (1.6 KB) - added by anonymous 8 years ago.
10-usb-storage (414 bytes) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by anonymous

Changed 8 years ago by anonymous

comment:1 Changed 8 years ago by anonymous

dd was the only reliable way to tell which device had been removed, if there is a better way, please tell me.

comment:2 Changed 8 years ago by anonymous

the attachments:

usb-storage is /sbin/usb-storage
10-usb-storage is /etc/hotplug.d/usb/10-usb-storage

this also enables handlers on adding removing usb devices in /etc/usb-handlers.d/

i use it to scan newly inserted sticks for music, symlink it and update mpd accordingly

comment:3 Changed 8 years ago by seppmeier70@…

Hi,
can you check the Automount Option again !? It seems not working in the actually Trunk.
Thanx

comment:4 Changed 8 years ago by fish

  • Owner changed from developers to fish

I'm writing a new set of auto-mounting scripts and hope to commit them in the next few days.

comment:5 Changed 6 years ago by swalker

  • Cc stephendwalker+openwrt@… added
  • Resolution set to obsolete
  • Status changed from new to closed

Obsoleted in r14289

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.