[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partition



On Wed, Jul 02, 2003 at 01:25:00AM +0200, Wolfgang Pfeiffer wrote:
> On Mon, 30 Jun 2003, Chris Tillman wrote:
> 
> > On Mon, Jun 30, 2003 at 04:28:49PM -0500, emorfin@caracol.red.cinvestav.mx wrote:
> > > Hi!
> > >
> > > my partition on my tibook disk:
> > >
> > > /dev/hda
> > >         #                    type name                  length   base      ( size )  system
> > > dump: name /dev/hda len 8
> > > /dev/hda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
> > > /dev/hda2         Apple_Bootstrap bootstrap               1600 @ 64        (800.0k)  NewWorld bootblock
> > > /dev/hda3         Apple_UNIX_SVR2 swap                  524288 @ 1664      (256.0M)  Linux swap
> > > /dev/hda4         Apple_UNIX_SVR2 root                25165824 @ 525952    ( 12.0G)  Linux native
> > > /dev/hda5         Apple_UNIX_SVR2 home                16395360 @ 25691776  (  7.8G)  Linux native
> > > /dev/hda6               Apple_HFS MacOSX              66524736 @ 42087136  ( 31.7G)  HFS
> > > /dev/hda7              Apple_Free Extra                8598368 @ 108611872 (  4.1G)  Free space
> > >
> > > Block size=512, Number of Blocks=117210240
> > > DeviceType=0x0, DeviceId=0x0
> > >
> > > as you can see, i have hda7 as free space.
> > >
> > > I want to use it to share data.
> > >
> > > What do you recomend? hfs or ufs?
> >
> > HFS is supported by the kernel, but the max size is 2GB,
> > max number of files 32000.
> 
> It *seems* Linux (2.4.18-newpmac) sees more than 2 GB.
> 
> Excerpt from mac-fdisk for my /dev/hda on an Apple PB G4. /dev/hda13 below
> is a HFS partition. Excerpt is reformatted for this posting:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /dev/hda13    Apple_HFS LINUX.MAC.HFS    8749296 @ 38921056 (  4.2G)  HFS
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> I haven't tried yet to access every single file on /dev/hda13, so I cannot
> gauge whether Linux really sees the whole 4.2 G. But I just mounted the
> partion for this mail: it seems to work ...

I suspect what will happen is that when you actually try to use sectors
beyond 2G, the files will disappear. That's what happened under MacOS.
The limitation is in the number of bits used to address sectors.

-- 
Debian GNU/Linux Operating System
By the People, For the People
Chris Tillman (a people instance)
         toff1@cox.net



Reply to: