public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: hardware clock often doesn't sync to system on shutdown
Date: Tue, 16 Sep 2008 22:55:21 +0000 (UTC)	[thread overview]
Message-ID: <pan.2008.09.16.22.55.21@cox.net> (raw)
In-Reply-To: 48CFB464.8030008@asyr.hopto.org

Thanasis <thanasis@asyr.hopto.org> posted 48CFB464.8030008@asyr.hopto.org,
excerpted below, on  Tue, 16 Sep 2008 16:28:04 +0300:

> Do you think it might cause any problems, to /dev/null maybe?

I'm not sure how it's handled in this case, but the ones that cause 
problems redirecting to /dev/null are I believe the ones that rewrite by 
writing a temp version, then mv-ing it over the old one.  In fact, some 
of those won't work with symlinks for much the same reason.

Of course, if it's trying to do that as a normal user, it won't work, but 
if it's doing that as root (as likely here) it can cause problems.  I've 
had it happen a couple times to me...

So I'd try starting and stopping clock a time or two and then check /dev/
null to see if it's still fine.  But make sure you either have a copy of 
the device node or know how to create one, before you do.  If you're 
using udev, you should have a copy of both the null and console device 
nodes either in the /dev on / before udev mounts over it (so you can 
access it by doing a mount --bind... I have an fstab entry for just that, 
to make doing backups of the / filesystem easier), or in your initramfs/
initrd, or both.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




  reply	other threads:[~2008-09-16 22:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12  6:16 [gentoo-amd64] hardware clock often doesn't sync to system on shutdown Thanasis
2008-09-14  8:44 ` [gentoo-amd64] " Duncan
2008-09-14 22:59   ` Thanasis
2008-09-15  8:49     ` Duncan
2008-09-15 14:46       ` Thanasis
2008-09-15 14:57         ` Sebastian Redl
2008-09-15 15:26           ` Thanasis
2008-09-15 22:31             ` Duncan
2008-09-16 13:28               ` Thanasis
2008-09-16 22:55                 ` Duncan [this message]
2008-09-17  5:08                   ` ABCD
2008-09-17  5:19                     ` Thanasis
2008-09-17 13:34                       ` Conway S. Smith
2008-09-17 16:11                         ` Thanasis

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=pan.2008.09.16.22.55.21@cox.net \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-amd64@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox