public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Flash drive and file systems
@ 2009-09-05 12:28 James
  2009-09-05 12:55 ` pk
  2009-09-05 17:37 ` [gentoo-user] " walt
  0 siblings, 2 replies; 8+ messages in thread
From: James @ 2009-09-05 12:28 UTC (permalink / raw
  To: gentoo-user

Hello,

I'm building up a P3 as a firewall, using 4 GB Compact Flash
to IDE as the hard drive (SANDISK). I've done this before
and it works great.

The kernel is gentoo-30-r5 and it does not support EXT2.
I have already formatted the Flash as EXT2:

Disk /dev/hda: 4110 MB, 4110188544 bytes
128 heads, 63 sectors/track, 995 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          25      100768+  83  Linux
/dev/hda2              26          88      254016   82  Linux swap / Solaris
/dev/hda3              89         995     3657024   83  Linux

# mke2fs /dev/hda1
# mke2fs /dev/hda3


Now building the sources, there is no ext2 any more?

Any suggestions (just use ext3 for flash?)
Grab and old kernel source? (which one?)


Under gentoo-30-r5 --> file systems

<*> Ext3 journalling file system support                            
<*>   Default to 'data=ordered' in ext3 (legacy option) 
< >   Ext3 extended attributes 
< >   Ext3 POSIX Access Control Lists
< >   Ext3 Security Labels

And leave every thing else blank?
 
Under --> file systems--> misc filesys

< >   BFS file system support (EXPERIMENTAL)                        
< >   EFS file system support (read only) (EXPERIMENTAL)   
< >   Compressed ROM file system support (cramfs)  


Any suggestions are most welcome.


James






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

* Re: [gentoo-user]  Flash drive and file systems
  2009-09-05 12:28 [gentoo-user] Flash drive and file systems James
@ 2009-09-05 12:55 ` pk
  2009-09-05 13:10   ` Dale
  2009-09-05 17:14   ` [gentoo-user] " Peter Humphrey
  2009-09-05 17:37 ` [gentoo-user] " walt
  1 sibling, 2 replies; 8+ messages in thread
From: pk @ 2009-09-05 12:55 UTC (permalink / raw
  To: gentoo-user

James wrote:

> The kernel is gentoo-30-r5 and it does not support EXT2.
> I have already formatted the Flash as EXT2:

Huh? Do you mean to say that "CONFIG_EXT2_FS" is not set (when you
compiled it) or that it's gone from the kernel source?

I haven't followed the kernel mailing list closely but if they have
deleted the ext2 from the kernel that surely must have been
"broadcasted" on the "interweb"...
(I'm still on .25-r9 so I can't check)

Best regards

Peter K



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

* Re: [gentoo-user]  Flash drive and file systems
  2009-09-05 12:55 ` pk
@ 2009-09-05 13:10   ` Dale
  2009-09-05 19:07     ` pk
  2009-09-05 22:59     ` [gentoo-user] " james
  2009-09-05 17:14   ` [gentoo-user] " Peter Humphrey
  1 sibling, 2 replies; 8+ messages in thread
From: Dale @ 2009-09-05 13:10 UTC (permalink / raw
  To: gentoo-user

pk wrote:
> James wrote:
>
>   
>> The kernel is gentoo-30-r5 and it does not support EXT2.
>> I have already formatted the Flash as EXT2:
>>     
>
> Huh? Do you mean to say that "CONFIG_EXT2_FS" is not set (when you
> compiled it) or that it's gone from the kernel source?
>
> I haven't followed the kernel mailing list closely but if they have
> deleted the ext2 from the kernel that surely must have been
> "broadcasted" on the "interweb"...
> (I'm still on .25-r9 so I can't check)
>
> Best regards
>
> Peter K
>
>
>   

I just checked and ext2 option is there in menuconfig.  Here is the
options available:

  │ │                     <*> Second extended fs
support                                                              │ │
  │ │                     [ ]   Ext2 extended attributes
(NEW)                                                        │ │
  │ │                     [ ]   Ext2 execute in place support
(NEW)                                                   │ │


This is for Linux Kernel v2.6.30-gentoo-r5 which is what the OP posted. 
I'm not sure why the option would not be there for him when it is here. 
I don't recall ever seeing a kernel without ext2 and I been using Linux
for several years.

Me clueless.  :/

Dale

:-)  :-) 



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

* Re: [gentoo-user]  Flash drive and file systems
  2009-09-05 12:55 ` pk
  2009-09-05 13:10   ` Dale
@ 2009-09-05 17:14   ` Peter Humphrey
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Humphrey @ 2009-09-05 17:14 UTC (permalink / raw
  To: gentoo-user

On Saturday 05 September 2009 13:55:40 pk wrote:

> Huh? Do you mean to say that "CONFIG_EXT2_FS" is not set (when you
> compiled it) or that it's gone from the kernel source?

It's certainly in my 2.6.30-gentoo-r6:

$ grep EXT2 /usr/src/linux/.config
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set

-- 
Rgds
Peter



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

* [gentoo-user]  Re: Flash drive and file systems
  2009-09-05 12:28 [gentoo-user] Flash drive and file systems James
  2009-09-05 12:55 ` pk
@ 2009-09-05 17:37 ` walt
  2009-09-05 23:12   ` james
  1 sibling, 1 reply; 8+ messages in thread
From: walt @ 2009-09-05 17:37 UTC (permalink / raw
  To: gentoo-user

On 09/05/2009 05:28 AM, James wrote:
> Hello,
>
> I'm building up a P3 as a firewall, using 4 GB Compact Flash
> to IDE as the hard drive (SANDISK). I've done this before
> and it works great.
>
> The kernel is gentoo-30-r5 and it does not support EXT2.
> I have already formatted the Flash as EXT2:
>
> Disk /dev/hda: 4110 MB, 4110188544 bytes
> 128 heads, 63 sectors/track, 995 cylinders
> Units = cylinders of 8064 * 512 = 4128768 bytes
>
>     Device Boot      Start         End      Blocks   Id  System
> /dev/hda1               1          25      100768+  83  Linux
> /dev/hda2              26          88      254016   82  Linux swap / Solaris
> /dev/hda3              89         995     3657024   83  Linux
>
> # mke2fs /dev/hda1
> # mke2fs /dev/hda3
>
>
> Now building the sources, there is no ext2 any more?
>
> Any suggestions (just use ext3 for flash?)
> Grab and old kernel source? (which one?)
>
>
> Under gentoo-30-r5 -->  file systems
>
> <*>  Ext3 journalling file system support

Something's fishy here.  For me, the ext2 option is the first one in
the file systems menu, right above the ext3 option you listed. I have
the same kernel.

Anyway, the only difference is ext3 has journalling -- if you turn off
the journal file you have ext2.






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

* Re: [gentoo-user]  Flash drive and file systems
  2009-09-05 13:10   ` Dale
@ 2009-09-05 19:07     ` pk
  2009-09-05 22:59     ` [gentoo-user] " james
  1 sibling, 0 replies; 8+ messages in thread
From: pk @ 2009-09-05 19:07 UTC (permalink / raw
  To: gentoo-user

Dale wrote:

> I just checked and ext2 option is there in menuconfig.  Here is the
> options available:

Yep, that's basically what I was trying to say, in my own convoluted
way... I haven't heard about ext2 (and as someone else pointed out ext3
is basically ext2 with journalling so that would be affected as well)
being removed so the OP must have missed that option.

Best regards

Peter K



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

* [gentoo-user]  Re: Flash drive and file systems
  2009-09-05 13:10   ` Dale
  2009-09-05 19:07     ` pk
@ 2009-09-05 22:59     ` james
  1 sibling, 0 replies; 8+ messages in thread
From: james @ 2009-09-05 22:59 UTC (permalink / raw
  To: gentoo-user

Dale <rdalek1967 <at> gmail.com> writes:


> I just checked and ext2 option is there in menuconfig.  Here is the
> options available:


Downloaded it again. I must have munged something up cause 
now it's there.....


thx


James




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

* [gentoo-user]  Re: Flash drive and file systems
  2009-09-05 17:37 ` [gentoo-user] " walt
@ 2009-09-05 23:12   ` james
  0 siblings, 0 replies; 8+ messages in thread
From: james @ 2009-09-05 23:12 UTC (permalink / raw
  To: gentoo-user

walt <w41ter <at> gmail.com> writes:


> Anyway, the only difference is ext3 has journalling -- if you turn off
> the journal file you have ext2.


that's nice to know....


James







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

end of thread, other threads:[~2009-09-05 23:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-05 12:28 [gentoo-user] Flash drive and file systems James
2009-09-05 12:55 ` pk
2009-09-05 13:10   ` Dale
2009-09-05 19:07     ` pk
2009-09-05 22:59     ` [gentoo-user] " james
2009-09-05 17:14   ` [gentoo-user] " Peter Humphrey
2009-09-05 17:37 ` [gentoo-user] " walt
2009-09-05 23:12   ` james

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