<div dir="ltr">From `man file':<div><div><br></div><div>Any file that cannot be identified as having been written in any of the character sets listed</div><div> above is simply said to be “data”.</div></div><div><br></div><div>i.e. it is just the default output when it cannot identify anything.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 23, 2015 at 4:52 PM, foo7775 <span dir="ltr"><<a href="mailto:foo7775@comcast.net" target="_blank">foo7775@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
OK, Vishal's 'blkid /dev/sdb' returned no output, so presumably it
contains no filesystem. <i>However</i>, the output of 'file -s
/dev/sdb' shows the following:<br>
<br>
/dev/sdb: data<br>
<br>
...which is just ambiguous enough to make me wonder. Does anyone
have any feedback on that??<br>
<br>
Thanks again all,<br>
<br>
T.<div><div class="h5"><br>
<br>
<div>On 10/23/2015 4:39 PM, Dan Kulinski
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">If you do want to see if there is a file system
directly on the block device, try file -s /dev/sdb. This will
look for the magic number in common locations. I just learned
this because I knew how the file command worked on files and
wondered if it knew about file systems. Sure enough, it does!</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 23, 2015 at 4:35 PM, Dan
Kulinski <span dir="ltr"><<a href="mailto:daniel@kulinski.net" target="_blank">daniel@kulinski.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Do you know what type of file system it is
supposed to be? If there is no partition table then the
file system should be taking up the whole device. The way
you limit the size of a file system, generally, is to
create a partition.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>On Fri, Oct 23, 2015 at 4:30 PM,
foo7775 <span dir="ltr"><<a href="mailto:foo7775@comcast.net" target="_blank"></a><a href="mailto:foo7775@comcast.net" target="_blank">foo7775@comcast.net</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div bgcolor="#FFFFFF" text="#000000"> Hey all,
first off, I am _very_ aware that this is a
painfully-basic question, but this has been a
rough week, so please bear with me...<br>
<br>
I've been searching for this info for a while
now, but my very-tired brain doesn't appear to
be able to format the search terms
appropriately. What I'm wanting to do is to
confirm that a defined disk (/dev/sdb in this
case) is essentially "a raw partition" &
doesn't have any data on it. If I can confirm
that, then I can create the needed
partitions/filesystems & turn it over to the
customer. The 'fdisk' utility shows me this:<br>
<br>
<font size="2" face="Calibri"><span style="font-size:11pt">
<div><font color="#002060">Disk /dev/sdb:
214.7 GB, 214748364800 bytes</font></div>
<div><font color="#002060">255 heads, 63
sectors/track, 26108 cylinders</font></div>
<div><font color="#002060">Units = cylinders
of 16065 * 512 = 8225280 bytes</font></div>
<div><font color="#002060">Sector size
(logical/physical): 512 bytes / 512
bytes</font></div>
<div><font color="#002060">I/O size
(minimum/optimal): 512 bytes / 512 bytes</font></div>
<div><font color="#002060">Disk identifier:
0x00000000</font></div>
</span></font><br>
Now I can tell that it doesn't contain any
partitions on it (i.e. sdb1, sdb2, etc.), but I
just can't seem to remember how to confirm that
it isn't formatted as a single big partition.
I'd be grateful if someone could refresh my
memory on this...<br>
<br>
Thanks,<br>
<br>
T.<br>
<br>
<br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a href="https://www.avast.com/antivirus" target="_blank"> <img alt="Avast
logo" border="0"> </a> </td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
This email has been checked for
viruses by Avast antivirus software. <br>
<a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a> </p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
</div>
</div>
<span>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to
unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
</span></blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a>
For information, account preferences, or to unsubscribe see:
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></pre>
</blockquote>
<br>
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
        <tbody><tr>
                <td style="border:none;padding:0px 15px 0px 8px">
                        <a href="https://www.avast.com/antivirus" target="_blank">
                                <img border="0" alt="Avast logo">
                        </a>
                </td>
                <td>
                        <p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="https://www.avast.com/antivirus" target="_blank">www.avast.com</a>
                        </p>
                </td>
        </tr>
</tbody></table>
<br>
</div></div></div>
<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" rel="noreferrer" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div></div>