<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems regarding fixed file size on Unix in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767856#M389614</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; dd if=/home2/kamlesh/ of=kk.txt count=1024&lt;BR /&gt;&lt;BR /&gt;You need to add a block size; the default is 512.  A read of the 'dd(1)' manpages might be beneficial.&lt;BR /&gt;&lt;BR /&gt;Depending upon your objective, you could change the permissions of the file, once created, to disallow writes to it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Mar 2011 14:11:01 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2011-03-21T14:11:01Z</dc:date>
    <item>
      <title>Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767853#M389611</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;How can i restrict writing the data beyond fixed file size?&lt;BR /&gt;&lt;BR /&gt;i.e. suppose my file is of 1024 bytes. So, i want to restrict writing the data only of 1024 bytes. Beyond 1024 bytes no data to be written on that file. How can I do this?</description>
      <pubDate>Mon, 21 Mar 2011 13:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767853#M389611</guid>
      <dc:creator>kamlesh33</dc:creator>
      <dc:date>2011-03-21T13:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767854#M389612</link>
      <description>&lt;!--!*#--&gt;Disk quotas?&lt;BR /&gt;&lt;BR /&gt;Why do you care?  Is there some actual&lt;BR /&gt;problem which you are trying to solve?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Discarding your previous thread on this topic&lt;BR /&gt;may not be the best way to accumulate useful&lt;BR /&gt;information.</description>
      <pubDate>Mon, 21 Mar 2011 13:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767854#M389612</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-03-21T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767855#M389613</link>
      <description>as we can use &lt;BR /&gt;&lt;BR /&gt;dd if=/home2/kamlesh/ of=kk.txt count=1024&lt;BR /&gt;&lt;BR /&gt;for creating kk.txt file of 1024 byte.&lt;BR /&gt;&lt;BR /&gt;Now, i want to restrict the data upto 1024 bytes only. How can I do that?</description>
      <pubDate>Mon, 21 Mar 2011 13:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767855#M389613</guid>
      <dc:creator>kamlesh33</dc:creator>
      <dc:date>2011-03-21T13:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767856#M389614</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; dd if=/home2/kamlesh/ of=kk.txt count=1024&lt;BR /&gt;&lt;BR /&gt;You need to add a block size; the default is 512.  A read of the 'dd(1)' manpages might be beneficial.&lt;BR /&gt;&lt;BR /&gt;Depending upon your objective, you could change the permissions of the file, once created, to disallow writes to it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2011 14:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767856#M389614</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-03-21T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767857#M389615</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steven replied...&amp;gt;&amp;gt;&amp;gt; Discarding your previous thread on this topic&lt;BR /&gt;may not be the best way to accumulate useful&lt;BR /&gt;information.&lt;BR /&gt;&lt;BR /&gt;Yeah, that was my knee-jerk reaction as well.&lt;BR /&gt;&lt;BR /&gt;So i looked back for the topic and found:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Creating-Fixed-size-file-on-unix/m-p/2794533#M80618" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Creating-Fixed-size-file-on-unix/m-p/2794533#M80618&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This is from 'way-back' and I think that's the topic Steven referred to ann myself and others replied to.&lt;BR /&gt;&lt;BR /&gt;So I think what happened is that 'kamlesh33' at first continued an old conversation. This was noticed by the 'powers that be' and a new topic was forced.&lt;BR /&gt;&lt;BR /&gt;I for one, and others, had not noticed the old topic and we made an effort to help.&lt;BR /&gt;&lt;BR /&gt;Our replies and work appear to be deleted without a warning or bounce-back. &lt;BR /&gt;Why not just leave well enough alone, or LOCK the old topic.&lt;BR /&gt;&lt;BR /&gt;I find it extremely disrespectful for my work to be thrown away without cause or recourse. &lt;BR /&gt;&lt;BR /&gt;I don't need that treatment. &lt;BR /&gt;&lt;BR /&gt;I'm pissed! (not at kamlesh33)&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;:-(.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 18:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767857#M389615</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2011-07-12T18:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767858#M389616</link>
      <description>&amp;gt;How can I restrict writing the data beyond fixed file size?&lt;BR /&gt;&lt;BR /&gt;Possibly by setting up the file security so only a specific application (possibly SETUID) can write to the file and it will know about your size limitation.</description>
      <pubDate>Mon, 21 Mar 2011 15:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767858#M389616</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-03-21T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems regarding fixed file size on Unix</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767859#M389617</link>
      <description>About the only thing I can think of that you could create an lvol the size of the file that you want, and use that /dev/vgxxx/lvolxxx as the file name for your program(s).</description>
      <pubDate>Mon, 21 Mar 2011 16:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-regarding-fixed-file-size-on-unix/m-p/4767859#M389617</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2011-03-21T16:16:59Z</dc:date>
    </item>
  </channel>
</rss>

