On Wednesday 23 November 2005 03.10, you wrote:
> Per-Olov Sjvholm wrote:
> ...
>
> > Hi Nick
> >
> > Yes I think the label was set before I created the FAT partition...
> >
> >
> > Setting the offset etc is an easy thing.. But how should I set "fsize",
> > "bsize"  and "cpg" on the windows partition when adding it using
> > "disklabel -e sd1". And last... How should  I set the "fstype" (it is a
> > "0C" FAT32L partition). MSDOS, FAT32L, FAT or what?
> >
> > (can this info be found in any manpage or FAQ that I have missed?)
>
> Possibly...
>    http://www.openbsd.org/faq/faq14.html#foreignfs
> has a pretty decent example.  Those fields are left blank, as they are
> FFS specific things, they don't apply to FAT, NTFS, etc.
>
> However, there's another way:
> Use "disklabel -E sd1" instead, it won't ask you some of that stuff. :)
>
> Nick.

I first tried "disklabel -E sd1" (before my first post) without success. I saw 
that the space for partition "c" minus partition "a" was equal the size of my 
existing FAT partition that I could not see or use. And I could not add it so 
it would be visible either. After your last reply I saw the "D" flag (set 
disklabel to default). Then the FAT partitions showed up directly. However, 
the sd1a 4.2BSD partition seemed to have been destroyed and set to "unused" 
in the fstype field when i used the flag "D". But the FAT partition was not 
destroyed by using "D". I could directly mount it... As it was not important 
I recreated and reformatted the sd1a 4.2BSD partition. Now I can see and use 
both the BSD and the FAT partion. The secret for me was the "D" flag in 
disklabel.

But of course it all depended on me not understanding everyhing regarding 
disklabel. 

Tnx Nick for your hints.

Regards
/Per-Olov
-- 
GPG keyID: 4DB2 83CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE

Reply via email to