Iain Buchanan wrote:
> On Fri, 2006-02-10 at 14:03 -0800, Mike Owen wrote:
>> On 2/10/06, John Jolet <[EMAIL PROTECTED]> wrote:
>> > Fdisk -l
>
> nooooo!!!
>
>> Even easier:
>> waldo# file -s /dev/sdb1
>> /dev/sdb1: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
>
> are you sure?  At least for fdisk, (and maybe for 'file' as well) this
> will just show what you've "told" the partition it is.
>
hmm, hadn't considered you'd lie to fdisk.  You are correct, i'm sure,
though lying to fdisk might have some consequences you don't like.  I
guess I'm not sure why you don't just mount the puppy.

> What happens if you mark a partition with fdisk as type, say, fat32, and
> then run mkfs.ext3 over it?  fdisk -l will show fat32, file will
> do .....?
>
> There are other tools to help you, like disktype:
> *  sys-block/disktype
>       Latest version available: 8
>       Latest version installed: 8
>       Size of downloaded files: 39 kB
>       Homepage:    http://disktype.sourceforge.net/
>       Description: Detect the content format of a disk or disk image.
>       License:     BSD
>
> HTH,
> --
> Iain Buchanan <iain at netspace dot net dot au>
>
> Bumper sticker:
>       All the parts falling off this car are of the very finest
>       British manufacture.
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
John Jolet
Your On-Demand IT Department
512-762-0729
[EMAIL PROTECTED]
www.jolet.net
-- 
gentoo-user@gentoo.org mailing list

Reply via email to