tech-userlevel archive

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

Re: [PATCH] Re: iflag/oflag for dd(1)



On Tue, Mar 17, 2015 at 03:04:12PM +0000, Christos Zoulas wrote:
> Some of the flags don't make sense:
> (O_CREAT,O_RDONLY,O_RDWR,O_TRUNC,O_WRONLY,O_APPEND)

Don't they? 
- O_CREAT: you may want dd to work only if the file xists
- O_RDWR: you may want to specify it for the input file
- O_TRUNC, O_APPEND: for testing purpose?

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index