From: chuck gelm <chuck@gelm.net>
To: "Mukund JB." <mukundjb@esntechnologies.co.in>
Cc: linux-newbie@vger.kernel.org
Subject: Re: HOW to FAT partition the device?
Date: Thu, 11 Aug 2005 18:14:44 -0400 [thread overview]
Message-ID: <42FBCDD4.60700@gelm.net> (raw)
In-Reply-To: <C349E772C72290419567CFD84C26E0170A00B8@mail.esn.co.in>
Mukund JB. wrote:
> Dear all,
> I have silly doubt regarding creating FAT partition on my SD Card.
>
> Can I do it with fdisk? I tried it in the man-pages to find how to do
> it?
> I found nothing related to FAT.
> When I tried to create it with 'n' option, by default it is creating the
> ext2 fs & NOT FAT fs.
>
> I think we can not use command like mkdosfs & mkfs to create a partition
> of type FAT.
> Instead they are used to create an fs on the existing partition.
> Please correct if I am wrong somewhere?
>
> Can someone give me the instruction to create FAT partion on my disk?
>
> Regards,
> Mukund Jampala
Dear Mukund JB.:
Short answer 'man fdisk' and/or 'man cfdisk'.
I see that 'cfdisk' is preferred over fdisk and especially over 'sfdisk'.
The command 't' is referenced in 'man cfdisk'.
The command 't' is referenced in 'fdisk /dev/tfa0' by pressing 'm' as
mentioned in the prompt. 'l' lists the ID file types.
My CF media for my cameras; HP C200 and Vivitar DSC350:
'fdisk' reports them as ID type 6 'FAT16' and, when mounted,
'mount /dev/sda1 /mnt/hd'
'df -T /dev/sda1' displays them as type 'vfat'
After saving the data on your SD media, you might try to partition them
as FAT16 using 'cfdisk' or 'fdisk' with one partition of ID type 6 (FAT16).
Let the camera format them and then...
mount /dev/tfa0p1 /mnt/mount-point or
mount -t vfat /devtfa0p1 /mnt/mount-point
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
prev parent reply other threads:[~2005-08-11 22:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 14:39 HOW to FAT partition the device? Mukund JB.
2005-08-11 14:52 ` Arturas Moskvinas
2005-08-11 18:42 ` Richard Adams
2005-08-11 22:14 ` chuck gelm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42FBCDD4.60700@gelm.net \
--to=chuck@gelm.net \
--cc=linux-newbie@vger.kernel.org \
--cc=mukundjb@esntechnologies.co.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox