Re: Cannot rely on /dev being present in %post scripts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/14/2009 10:20 AM, Somebody in the thread at some point said:

> It's been pretty common since forever for various scriptlets to redirect
> output of stderr/stdout to /dev/null, so I think it'd be a bit of an
> ugly mess if there was a mandatory packaging rule you couldn't use at
> least /dev/null
>
> I hope post scripts wont have to test for /dev/null and create a device
> node for it if it isn't present, before redirecting to it.  ;o)

You could use mknod to create a workable /tmp/dev/null if it was the 
idea, satisfying any dependency locally.

Some magic /sys dir that always satisfies anything eg, > 
/sys/device_node/1_3 could solve it as well.

-Andy
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux