Bootscripts Question

Ken Moffat ken at kenmoffat.uklinux.net
Fri Apr 1 05:39:09 PST 2005


On Fri, 1 Apr 2005, Matthias Berndt wrote:

> Greetings,
>
> I hope it may be a little question. In /etc/rc.d/init.d/cleanfs at line
> 90 there is a command '> /var/run/utmp'. What does this command do? I've
> read the man-pages, but I couldn't get behind it.
>
> Thanks
> Matthias Berndt
>

It recreates the file with a length of zero - a convenient alternative
to rm followed by touch.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce




More information about the lfs-support mailing list