[lug] FS type question
karl horlen
horlenkarl at yahoo.com
Wed Jan 17 14:25:34 MST 2007
> My conclusion is that the partition's Id label is
> incorrect. I believe
> that fdisk allows you to change this value more or
> less arbitrarily.
Yeah, you can change it in fdisk. I guess I thought
this had more significance/meaning then just a "pure
label".
I imagine it is there so that you can remind yourself
of what filesystem you actually write to the partition
after you create it when you fdisk it? I always
thought linux simply read (was smart enough to) the
actual partition to figure out what filesystem had
been written to it. In fact that's what df must do as
my example shows below (it reports it as how it's
mounted/formatted - ext3 versus how it's labelled in
fdisk)
I guess I'm kind of wondering at this point what use
this fdisk fs id serves? It seems kind of pointless.
> karl horlen wrote:
> > I've just installed an WD IDE drive into a system.
> It
> > used to belong to someone else.
> >
> > When I fdisk it it shows that the FS type is NTFS:
> >
> > Device Boot Start End Blocks
> Id
> > System
> > /dev/hda1 1 14593 117218241
> 7
> > HPFS/NTFS
> >
> > However, when i try to mount the FS as ntfs it
> doesn't
> > work:
> >
> >
> > #mount -t ntfs /dev/hda1 /mnt/gentoo
> > mount: wrong fs type, bad option, bad superblock
> on
> > /dev/hda1,
> > missing codepage or other error
> >
> > If I mount the drive as ext3 it mounts! And it
> > actually works! I duped about 80 G of drive data
> over
> > my network to another drive on a windows system
> > yesterday (it was slow but it worked!).
> >
> > # mount -t ext3 /dev/hda1 /mnt/gentoo
> > # % df -Th /dev/hda1
> > Filesystem Type Size Used Avail Use%
> Mounted on
> > /dev/hda1 ext3 111G 105G 4.1G 97%
> > /mnt/gentoo
> >
> >
> > Any reason why this might be so?
> >
> > It looks like the partition id is just incorrect
> in
> > the partition table. Is there anyway to
> update/change
> > it to reflect reality? I believe this drive
> actually
> > has an ext2 or ext3 fs because it was used on
> linux
> > system prior to me obtaining it. and of course,
> it
> > works mounted as ext3 ;-)
> >
> > thanks
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Need Mail bonding?
> > Go to the Yahoo! Mail Q&A for great tips from
> Yahoo! Answers users.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List:
> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: lug.boulder.co.us port=6667
> channel=#colug
> >
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List:
> http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667
> channel=#colug
>
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
More information about the LUG
mailing list