**** BEGIN LOGGING AT Thu Mar 13 02:59:57 2008 Mar 13 10:16:07 how can i iterate over each section in a config? i.e. /etc/config/fstab? Mar 13 10:25:13 ah, config_foreach, never mind Mar 13 14:37:04 can somebody tell me how to interprete the $INTERFACE variable in a hotplug script? i.e. that: INTERFACE=8/6/80 Mar 13 14:40:14 hcg * r10595 /trunk/target/linux/at91/ (5 files in 3 dirs): Add back support for 2.6.21 kernels - add some required directories. Mar 13 14:42:57 hcg * r10596 /trunk/target/linux/at91/base-files/default/sbin: Removed binary file added in error Mar 13 14:45:44 or, let me formulate that the other way around: how can i run a script everytime a blockdevice with a filesystem will gets plugged in Mar 13 14:46:29 mb * r10597 /trunk/target/linux/brcm47xx/patches-2.6.23/700-ssb-gigabit-ethernet-driver.patch: Update cleanups of ssb-gige Mar 13 14:48:29 /sbin/usb-storage checks for [ "$(expr substr ${INTERFACE} 1 2)" == "8/" ] Mar 13 14:48:57 but i want to write a generic UUID based 'automounter' Mar 13 14:51:33 if it generically automounts, how is it uuid-based? Mar 13 14:52:20 sn9: well, it should automatical mount a hotplugged device to a mountpoint specified by a uuid Mar 13 14:54:28 blogic * r10598 /trunk/package/madwifi/files/lib/wifi/madwifi.sh: make madwifi startup script aware of new iwpriv options Mar 13 14:54:53 sn9: 1) the hotplug script tries the figure out the device file (like it does in /sbin/usb-storage), 2) it gets the UUID of the device, 3) it reads the mountpoint from /etc/config/fstab from the section where the uuid matchs Mar 13 15:09:09 fish_: there's a much easier way to do that Mar 13 15:12:39 fish_: "mount -a" every time Mar 13 15:14:03 have the fstab be uuid-based Mar 13 15:22:50 mb * r10599 /trunk/package/switch/src/switch-core.c: Check the return values of kmalloc() Mar 13 16:00:41 hcg * r10600 /trunk/target/linux/at91/patches-2.6.21/ (015-simenable.patch 016-v1-15-detect.patch): Mar 13 16:00:41 at91: added new sim enable code as well as detection code to Mar 13 16:00:41 differentiate between v1.0 and v1.5 hardware revisions Mar 13 16:53:33 florian * r10601 /packages/ipv6/babel/Makefile: Upgrade babel to 0.10 (#3230) Mar 13 17:20:27 matteo * r10602 /trunk/target/linux/ar7/patches-2.6.24/500-serial_kludge.patch: [AR7]: fix serial patch Mar 13 21:28:02 sn9: but how should i 'have the fstab be uuid-based'? afaik the busybox mount/kernel/whatever doesn't support uuid based mounts Mar 13 21:28:47 sn9: and a simple 'mount -a' don't work if i want some devices explicit unmounted Mar 13 21:30:08 * sn9 was thinking of /dev/disk/by-uuid/whatever Mar 13 21:30:35 that doesn't work either on the current kernel Mar 13 21:31:44 sn9: i'v asked nbd about that. he told me that a hotplug script which mounts the device to a mountpoint specified in /etc/config/fstab would be the best way to go **** ENDING LOGGING AT Fri Mar 14 02:59:57 2008