USB mass-storage (e.g. camera): how to access?

Jeremy Katz katzj at redhat.com
Mon Aug 23 18:11:41 UTC 2004


On Mon, 2004-08-23 at 13:30 +0100, Tim Waugh wrote:
> > For this to work with today's rawhide, I had to manually create a 
> > symlink to /usr/sbin/fstab-sync in /etc/hal/device.d/. The link should 
> > have been created by the post-install script of the hal rpm but it was 
> > nevertheless missing.
> 
> Perhaps this:
[snip]
> should instead be this?:
> 
> if [ "$1" -eq "0"]; then
>   rm -f /etc/hal/device.d/fstab-sync
> fi
> /sbin/ldconfig
> if [ "$1" -ge "1" ]; then
>   service haldaemon condrestart > /dev/null 2>&1
> fi

Or maybe the symlink should just be included in the package.  Having it
done in the %post like that is fairly fragile (and doesn't have any real
advantage that I can see)

Jeremy





More information about the fedora-devel-list mailing list