- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 04:30 PM
09-04-2001 04:30 PM
When I write directly to a character device, does it bypasses buffer cache? if it is, then does it used async device? how?
fig.1 # dd if=/var/adm/sa/sa01 of=/dev/
Another thing, when I write directly to a filesystem using dd command does it use buffer cache or not?
thanks,
joks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 04:48 PM
09-04-2001 04:48 PM
Re: dd command
FYI, in addition to "fellas", there a quite a few very sharp ladies in this forum!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 05:40 PM
09-04-2001 05:40 PM
Re: dd command
So your dd command will bypass the buffer cache.
Whenver a file system is accessed it goes through buffer cache unless the vxfs option of mincache=direct is specified.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 05:42 PM
09-04-2001 05:42 PM
Re: dd command
Yes. It does bypass the buffer cache...
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2001 06:34 PM
09-04-2001 06:34 PM
SolutionIf you write to ANY character device /dev/rdsk/c2t2d0, dev/vg01/rlvol1 there is no buffer cache. If you write to ANY block device /dev/dsk/c2t2d0, /dev/vg01/lvol1 the buffer cache is used. Buffer cache is always used in filesystem writes unless you enable the OnlineJFS vxfs options convosync=direct,mincache=direct which bypass the buffer cache. This applies to any application not just dd.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2001 08:16 AM
09-05-2001 08:16 AM
Re: dd command
modified buffers of the buffer cache are flushed (written) out to
disk.
Tony