[Nix-dev] swapon(1) refers to `/sbin/mkswap'

Eelco Dolstra e.dolstra at tudelft.nl
Tue Jun 30 11:31:48 CEST 2009


Ludovic Courtès wrote:

> For the record, swapon(1) erroneously refers to `/sbin/mkswap', which it
> tries to use when a swap partition contains stale swsuspend data:
> 
>   swapon /dev/sda2
>   swapon: /dev/sda2: software suspend data detected. Reinitializing the swap.
>   execv: No such file or directory
> 
> I don't have time to fix it right now, so I'd appreciate if someone did
> it.  :-)

I created an issue: http://bugs.strategoxt.org/browse/NIXOS-79

Probably a good idea to start using the bugtracker more often so these things
don't get lost :-)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list