On 3/22/07, Marc Rechté <[EMAIL PROTECTED]> wrote:
Hello Charles,

Thanks for your feedback.

This is Red Hat EL 4.

You seem to be right about the mounted filesystem. This is the last
lines of halt script:

# Try all file systems other than root and RAM disks, one last time.
mount |  awk '!/( \/ |^\/dev\/root|^\/dev\/ram| \/proc )/ { print $3 }' | \
   while read line; do
     umount -f $line
done
[...]
Of course I will not touch this script, but there is a possibility to
write one's own /sbin/halt.local script. Is not it too late to use the
usb driver ?

If the USB filesystem is mounted at /dev/bus/usb (as many
distributions seem to do), then you will have to juggle things around.

I don't have any RHEL boxes to test against, but I think it is
/proc/bus/usb on FC6. Not sure if that's an artifact of upgrading from
an earlier FC release, though.

> The stack is still available, but the USB filesystem (/proc/bus/usb or
> /dev/bus/usb) might have been unmounted. It is generally safe to
> remount it, since it does not map to persistent storage.
>
> Which RedHat version/distro are you working with?
>






--
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to