> From: Paul Rogers <[email protected]>
> Date: Thu, 10 Nov 2016 10:48:38 -0800
> Subject: [lfs-support] "I don't need to know"
>
> I want to write to a file on a device that may be mounted RO or RW.
> If it's RO, fine but I don't need to know, just drop it.  The error
> appearing on the console can't be redirected to /dev/null--that'd
> be too easy!
>
> /proc/mounts always claims it's RW!  /proc/1/mounts does seem to switch
> between RO, RW, RO, but that seems pretty invasive, somewhere I
> shouldn't ought to be looking, and it gets a little complex to parse.
> (Yes, it's the root device.)
>
> I've tried to drop the console log level down to KERN_CRIT just before I
> do.  I suppose I could try ALERT or EMERG, but there's got to be a
> better simple way!
>
> Anybody know, or got a good idea?


$ help test
        .
        .
  -w [...]
        .       # &usw.
        .
$

 ?



akh





--
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to