Re: [PATCH 1/2] fdisk: warn if opening a device in write mode failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 28, 2014 at 02:18:24PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2/28/2014 1:27 PM, Davidlohr Bueso wrote:
> >> You really want to tell the user that they aren't going to be
> >> able to write up front.
> > 
> > Sure why not, just not in a library! You can do this in the fdisk 
> > program. And if Karel doesn't agree and wants to apply this patch 
> > anyway, then it should *at least* be in DBG context.
> 
> Right, which is what I said just after that ;)

 I'll try to improve the function after libfdisk branch merge into
 master branch (this or next week). The current code is probably
 really not optimal.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux