All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Victor Lowther <victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/9] Dracut cleanups, part 2
Date: Wed, 11 Feb 2009 23:07:12 +0100	[thread overview]
Message-ID: <20090211220712.GC21052@nb.net.home> (raw)
In-Reply-To: <215b373ce2de8b9c47c7f3bd3550c7fc96a49614.1234351770.git.victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Wed, Feb 11, 2009 at 03:46:38AM -0800, Victor Lowther wrote:
> +# parsing the output of ls is Bad, but until there is a better way...
> +read x x x x maj min x < <(ls -lH "$resume")

  read maj min < <(stat --format="%t %T" "$resume")

> +echo "${maj/,/}:$min"> /sys/power/resume

    Karel

-- 
 Karel Zak  <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-02-11 22:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 11:46 [PATCH 1/9] Dracut cleanups, part 2 Victor Lowther
     [not found] ` <215b373ce2de8b9c47c7f3bd3550c7fc96a49614.1234351770.git.victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-02-11 11:46   ` [PATCH 2/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 3/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 4/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 5/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 6/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 7/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 8/9] " Victor Lowther
2009-02-11 11:46   ` [PATCH 9/9] " Victor Lowther
2009-02-11 22:07   ` Karel Zak [this message]
     [not found]     ` <20090211220712.GC21052-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2009-02-11 22:35       ` [PATCH 1/9] " Victor Lowther
     [not found]         ` <921e043f0902111435v54ee1bc1yb44ce3f745459f10-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-11 23:17           ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090211220712.GC21052@nb.net.home \
    --to=kzak-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=victor.lowther-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.