mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] mkfs.vfat is not available
@ 2014-07-03  9:04 Pat Murray
  2014-07-03  9:21 ` Alexander Aring
  2014-07-03  9:30 ` Matthias Fend
  0 siblings, 2 replies; 10+ messages in thread
From: Pat Murray @ 2014-07-03  9:04 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 237 bytes --]

Hi,

I am using the Phytec i.MX6 BSP 3.0.35-PD13.2.2 and barebox 2013.08.0-PD13.2.2 .
I want to be able to format a SATA drive in FAT32 format , but mkfs.vfat is not available.
My version of ptxdist is 2012.03.0

Regards
Pat



[-- Attachment #1.2: Type: text/html, Size: 1648 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03  9:04 [ptxdist] mkfs.vfat is not available Pat Murray
@ 2014-07-03  9:21 ` Alexander Aring
  2014-07-03  9:30 ` Matthias Fend
  1 sibling, 0 replies; 10+ messages in thread
From: Alexander Aring @ 2014-07-03  9:21 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Jul 03, 2014 at 09:04:22AM +0000, Pat Murray wrote:
> Hi,
> 
> I am using the Phytec i.MX6 BSP 3.0.35-PD13.2.2 and barebox 2013.08.0-PD13.2.2 .
> I want to be able to format a SATA drive in FAT32 format , but mkfs.vfat is not available.
> My version of ptxdist is 2012.03.0
> 

Do you want to call mkfs.vfat from console or ptxdist failed because it
doesn't find any mkfs.vfat. I suppose the second one:

maybe install mkfs.vfat with the packet manager from your distribution.

for ubuntu/mint/debian:

aptitude install dosfstools

I think it should placed in dosfstools. Otherway to find out where the
mkfs.vfat is placed, you can do:

aptitude install apt-file && apt-file update && apt-file search mkfs.vfat

for ubuntu/mint/debian.



btw. Maybe we should add a host rule for this or check on configure
but we should add a host rule.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03  9:04 [ptxdist] mkfs.vfat is not available Pat Murray
  2014-07-03  9:21 ` Alexander Aring
@ 2014-07-03  9:30 ` Matthias Fend
  2014-07-03  9:36   ` Alexander Aring
  1 sibling, 1 reply; 10+ messages in thread
From: Matthias Fend @ 2014-07-03  9:30 UTC (permalink / raw)
  To: ptxdist

Hi Pat,

>Von: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Pat Murray
>Gesendet: Donnerstag, 03. Juli 2014 11:04
>An: ptxdist@pengutronix.de
>Betreff: [ptxdist] mkfs.vfat is not available
>
>Hi,
> 
>I am using the Phytec i.MX6 BSP 3.0.35-PD13.2.2 and barebox 2013.08.0-PD13.2.2 .
>I want to be able to format a SATA drive in FAT32 format , but mkfs.vfat is not available.
>My version of ptxdist is 2012.03.0
 
You can try to enable the dosfstools package - you'll find this in <Disk and File Utilities>.
And you may also want to enable the <create mkfs.vfat link> option.

~Matthias

>Regards
>Pat


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03  9:30 ` Matthias Fend
@ 2014-07-03  9:36   ` Alexander Aring
  2014-07-03 10:33     ` Pat Murray
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Aring @ 2014-07-03  9:36 UTC (permalink / raw)
  To: ptxdist

On Thu, Jul 03, 2014 at 09:30:25AM +0000, Matthias Fend wrote:
> Hi Pat,
> 
> >Von: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Pat Murray
> >Gesendet: Donnerstag, 03. Juli 2014 11:04
> >An: ptxdist@pengutronix.de
> >Betreff: [ptxdist] mkfs.vfat is not available
> >
> >Hi,
> > 
> >I am using the Phytec i.MX6 BSP 3.0.35-PD13.2.2 and barebox 2013.08.0-PD13.2.2 .
> >I want to be able to format a SATA drive in FAT32 format , but mkfs.vfat is not available.
> >My version of ptxdist is 2012.03.0
>  
> You can try to enable the dosfstools package - you'll find this in <Disk and File Utilities>.
> And you may also want to enable the <create mkfs.vfat link> option.
> 

mhh this would be the easiest case: He wants to have mkfs.vfat on his
target. I thought some mkfs failed while image creation, sometimes I think
too complicated.

Thanks.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03  9:36   ` Alexander Aring
@ 2014-07-03 10:33     ` Pat Murray
  2014-07-03 10:49       ` Alexander Aring
  0 siblings, 1 reply; 10+ messages in thread
From: Pat Murray @ 2014-07-03 10:33 UTC (permalink / raw)
  To: ptxdist

Hi,

RE: He wants to have mkfs.vfat on his target.

Yes , I want to format a SATA hard drive from the console
Of my target system.

How do I get the mkfs.vfat onto the target, what are the ptxdist steps ? I have mkfs.vfat on the host.

Do I have rebuilt the rootfs ?

Regards
Pat


-----Original Message-----
From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Alexander Aring
Sent: 03 July 2014 10:37
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] mkfs.vfat is not available

On Thu, Jul 03, 2014 at 09:30:25AM +0000, Matthias Fend wrote:
> Hi Pat,
>
> >Von: ptxdist-bounces@pengutronix.de
> >[mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von Pat Murray
> >Gesendet: Donnerstag, 03. Juli 2014 11:04
> >An: ptxdist@pengutronix.de
> >Betreff: [ptxdist] mkfs.vfat is not available
> >
> >Hi,
> >
> >I am using the Phytec i.MX6 BSP 3.0.35-PD13.2.2 and barebox 2013.08.0-PD13.2.2 .
> >I want to be able to format a SATA drive in FAT32 format , but mkfs.vfat is not available.
> >My version of ptxdist is 2012.03.0
>
> You can try to enable the dosfstools package - you'll find this in <Disk and File Utilities>.
> And you may also want to enable the <create mkfs.vfat link> option.
>

mhh this would be the easiest case: He wants to have mkfs.vfat on his target. I thought some mkfs failed while image creation, sometimes I think too complicated.

Thanks.

- Alex

--
ptxdist mailing list
ptxdist@pengutronix.de
-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03 10:33     ` Pat Murray
@ 2014-07-03 10:49       ` Alexander Aring
  2014-07-03 11:00         ` Alexander Dahl
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Aring @ 2014-07-03 10:49 UTC (permalink / raw)
  To: ptxdist

On Thu, Jul 03, 2014 at 10:33:40AM +0000, Pat Murray wrote:
> Hi,
> 
> RE: He wants to have mkfs.vfat on his target.
> 
> Yes , I want to format a SATA hard drive from the console
> Of my target system.
> 
> How do I get the mkfs.vfat onto the target, what are the ptxdist steps ? I have mkfs.vfat on the host.
> 

1. ptxdist menuconfig in your BSP

2. type '/' to enter search dialog

3. type "fat", because you search something which contains the word fat

Then you see a list of possible fat things, one of them looks like:

Symbol: DOSFSTOOLS_MKDOSFS_VFAT [=n]                                                                                                               │  
Type  : boolean                                                                                                                                    │  
Prompt: create mkfs.vfat link                                                                                                                      │  
  Location:                                                                                                                                        │  
    -> Disk and File Utilities                                                                                                                     │  
(5)   -> dosfstools                     (DOSFSTOOLS [=n])                                                                                          │  
...

You see the location or simple type '5' to jump to the section, because the "(5)".

4. type space to activate it with "(*)".

> Do I have rebuilt the rootfs ?
> 

yes.



btw. you know that fat is a really old filesystem and fat 32 have
constrains like max 40 gb partition and max 4 GB filesize? Maybe you
want to try ext filesystem.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03 10:49       ` Alexander Aring
@ 2014-07-03 11:00         ` Alexander Dahl
  2014-07-03 11:04           ` Matthias Klein
  2014-07-03 11:21           ` Alexander Aring
  0 siblings, 2 replies; 10+ messages in thread
From: Alexander Dahl @ 2014-07-03 11:00 UTC (permalink / raw)
  To: ptxdist

Hei hei, 

Am 2014-07-03 12:49, schrieb Alexander Aring:
> You see the location or simple type '5' to jump to the section,
> because the "(5)".

Didn't know this, thanks for that. :-)

> btw. you know that fat is a really old filesystem and fat 32 have
> constrains like max 40 gb partition and max 4 GB filesize? Maybe you
> want to try ext filesystem.

AFAIK there's no 40 GB restriction on partition size, according to
https://support.microsoft.com/kb/184006 it's at 8 TB. However Windows
does not allow to format a volume greater than 32 GB or 40 GB or so. 

Technically FAT12 and FAT16 have the 4 GB file size restriction as well,
but the volumes can not be such big. ;-)

However, you're right, I would not recommend to use FAT, too.

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03 11:00         ` Alexander Dahl
@ 2014-07-03 11:04           ` Matthias Klein
  2014-07-03 11:24             ` Alexander Aring
  2014-07-03 11:21           ` Alexander Aring
  1 sibling, 1 reply; 10+ messages in thread
From: Matthias Klein @ 2014-07-03 11:04 UTC (permalink / raw)
  To: ptxdist

Am 03.07.2014 13:00, schrieb Alexander Dahl:
> Hei hei,
>
> Am 2014-07-03 12:49, schrieb Alexander Aring:
>> You see the location or simple type '5' to jump to the section,
>> because the "(5)".
> Didn't know this, thanks for that. :-)

 From me too !
For me in the kernel config it is very usefull ...

Best regards,

Matthias


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03 11:00         ` Alexander Dahl
  2014-07-03 11:04           ` Matthias Klein
@ 2014-07-03 11:21           ` Alexander Aring
  1 sibling, 0 replies; 10+ messages in thread
From: Alexander Aring @ 2014-07-03 11:21 UTC (permalink / raw)
  To: ptxdist

On Thu, Jul 03, 2014 at 01:00:21PM +0200, Alexander Dahl wrote:
> Hei hei, 
> 
> Am 2014-07-03 12:49, schrieb Alexander Aring:
> > You see the location or simple type '5' to jump to the section,
> > because the "(5)".
> 
> Didn't know this, thanks for that. :-)
> 
> > btw. you know that fat is a really old filesystem and fat 32 have
> > constrains like max 40 gb partition and max 4 GB filesize? Maybe you
> > want to try ext filesystem.
> 
> AFAIK there's no 40 GB restriction on partition size, according to
> https://support.microsoft.com/kb/184006 it's at 8 TB. However Windows
> does not allow to format a volume greater than 32 GB or 40 GB or so. 
>

Seems that I installed windows too much and tried to format a partition
greater than 32/40 GB. Sorry. :-)



-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ptxdist] mkfs.vfat is not available
  2014-07-03 11:04           ` Matthias Klein
@ 2014-07-03 11:24             ` Alexander Aring
  0 siblings, 0 replies; 10+ messages in thread
From: Alexander Aring @ 2014-07-03 11:24 UTC (permalink / raw)
  To: ptxdist

On Thu, Jul 03, 2014 at 01:04:28PM +0200, Matthias Klein wrote:
> Am 03.07.2014 13:00, schrieb Alexander Dahl:
> >Hei hei,
> >
> >Am 2014-07-03 12:49, schrieb Alexander Aring:
> >>You see the location or simple type '5' to jump to the section,
> >>because the "(5)".
> >Didn't know this, thanks for that. :-)
> 
> From me too !
> For me in the kernel config it is very usefull ...
> 

didn't know that too about 1 year ago. Jan Luebbe teach me that.

Thanks Jan.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-03 11:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03  9:04 [ptxdist] mkfs.vfat is not available Pat Murray
2014-07-03  9:21 ` Alexander Aring
2014-07-03  9:30 ` Matthias Fend
2014-07-03  9:36   ` Alexander Aring
2014-07-03 10:33     ` Pat Murray
2014-07-03 10:49       ` Alexander Aring
2014-07-03 11:00         ` Alexander Dahl
2014-07-03 11:04           ` Matthias Klein
2014-07-03 11:24             ` Alexander Aring
2014-07-03 11:21           ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox