All of lore.kernel.org
 help / color / mirror / Atom feed
* mounting FreeBSD-slices
@ 2003-06-09 18:50 Benjamin Walkenhorst
  2003-06-09 21:06 ` César Soler
  2003-06-09 21:13 ` Glynn Clements
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Walkenhorst @ 2003-06-09 18:50 UTC (permalink / raw)
  To: linux-admin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

Recently I installed a FreeBSD 5.0-RELEASE on my computer. FreeBSD, I 
understand, can at least read Linux's ext2-filesystem. Which does not matter 
to me, because my Linux-partitions are all ReiserFS. ;-/
However, FreeBSD uses a filesystem which seems to be called FFS (Berkeley 
Fast FileSystem) or UFS (Unix Filesystem) plus it uses its own partitioning 
scheme, called BSD disklabel. With such a disklabel you can divide a primary 
partition in a DOS-partition-table into four so-called 'slices', which 
FreeBSD uses as partitions. 
Linux is able to read these disklabels, and it is also able to mount UFS at 
least readonly. Which is entirely sufficient. 

But what do I put into /etc/fstab? 
The primary partition my BSD-disklabel resides in is /dev/hdb3, which is 
split up like this:

ad1s3a - /
ad1s3b - swap
ad1s3c - /home

I already had figured that out some time ago (about 1 year) but I have 
forgotten since.  What do I have to put into my fstab?

I imagine something like this:

/dev/hdb3<a>     /mnt/freebsd/root             ufs       
        ro,noexec,nodev,ufstype=44bsd
/dev/hdb3<c>     /mnt/freebsd/home           ufs       
        ro,noexec,ufstype=44bsd 

Kind regards,

Benjamin

- -- 
"Der Hoffnung beraubt sein,
 heiflt noch nicht - verzweifeln."
(Albert Camus)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE+5Nb/oYumWdMvhMQRAjkAAJ0XRfIiDe/M5qii4XvtjGaZ09eV9wCfaois
9YsptYxdyI6ombHEAyngzqU=
=yCAg
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: mounting FreeBSD-slices
  2003-06-09 18:50 mounting FreeBSD-slices Benjamin Walkenhorst
@ 2003-06-09 21:06 ` César Soler
  2003-06-09 21:13 ` Glynn Clements
  1 sibling, 0 replies; 3+ messages in thread
From: César Soler @ 2003-06-09 21:06 UTC (permalink / raw)
  To: Benjamin Walkenhorst; +Cc: linux-admin

On Mon, Jun 09, 2003 at 08:50:33PM +0200, Benjamin Walkenhorst wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello everybody,
> 
> Recently I installed a FreeBSD 5.0-RELEASE on my computer. FreeBSD, I 
> understand, can at least read Linux's ext2-filesystem. Which does not matter 
> to me, because my Linux-partitions are all ReiserFS. ;-/
> However, FreeBSD uses a filesystem which seems to be called FFS (Berkeley 
> Fast FileSystem) or UFS (Unix Filesystem) plus it uses its own partitioning 
> scheme, called BSD disklabel. With such a disklabel you can divide a primary 
> partition in a DOS-partition-table into four so-called 'slices', which 
> FreeBSD uses as partitions. 
> Linux is able to read these disklabels, and it is also able to mount UFS at 
> least readonly. Which is entirely sufficient. 
> 
> But what do I put into /etc/fstab? 
> The primary partition my BSD-disklabel resides in is /dev/hdb3, which is 
> split up like this:
> 
> ad1s3a - /
> ad1s3b - swap
> ad1s3c - /home

what does the fdisk print? I suposse you should put what this prints...
In my case:

/dev/hda2               /mnt/freebsd            ufs
noauto,ro,ufstype=44bsd
0 0
/dev/hdc2               /mnt/privat             ufs
noauto,ro,ufstype=44bsd
0 0


[root@gudu root]# fdisk /dev/hdc

El número de cilindros para este disco está establecido en 2434.
No hay nada malo en ello, pero es mayor que 1024, y en algunos casos
podría causar problemas con:
1) software que funciona en el inicio (p.ej. versiones antiguas de LILO)
2) software de arranque o particionamiento de otros sistemas operativos
   (p.ej. FDISK de DOS, FDISK de OS/2)

Orden (m para obtener ayuda): p

Disco /dev/hdc: 255 cabezas, 63 sectores, 2434 cilindros
Unidades = cilindros de 16065 * 512 bytes

Disposit. Inicio  Principio   Fin    Bloques  Id  Sistema
/dev/hdc1             1        33    265041   82  Linux swap
/dev/hdc2   *        34       816   6289447+  a5  FreeBSD
/dev/hdc3           817      1599   6289447+  83  Linux
/dev/hdc4          1600      2434   6707137+  83  Linux


hope this helps you....
-- 
César Soler <csoler@euskalnet.net>		PGP KeyID: 0x179DAD53

La sorpresa es el móvil de cada descubrimiento.
		-- Césare Pavese. 
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: mounting FreeBSD-slices
  2003-06-09 18:50 mounting FreeBSD-slices Benjamin Walkenhorst
  2003-06-09 21:06 ` César Soler
@ 2003-06-09 21:13 ` Glynn Clements
  1 sibling, 0 replies; 3+ messages in thread
From: Glynn Clements @ 2003-06-09 21:13 UTC (permalink / raw)
  To: Benjamin Walkenhorst; +Cc: linux-admin


Benjamin Walkenhorst wrote:

> Recently I installed a FreeBSD 5.0-RELEASE on my computer. FreeBSD, I 
> understand, can at least read Linux's ext2-filesystem. Which does not matter 
> to me, because my Linux-partitions are all ReiserFS. ;-/
> However, FreeBSD uses a filesystem which seems to be called FFS (Berkeley 
> Fast FileSystem) or UFS (Unix Filesystem) plus it uses its own partitioning 
> scheme, called BSD disklabel. With such a disklabel you can divide a primary 
> partition in a DOS-partition-table into four so-called 'slices', which 
> FreeBSD uses as partitions. 
> Linux is able to read these disklabels, and it is also able to mount UFS at 
> least readonly. Which is entirely sufficient. 
> 
> But what do I put into /etc/fstab? 
> The primary partition my BSD-disklabel resides in is /dev/hdb3, which is 
> split up like this:
> 
> ad1s3a - /
> ad1s3b - swap
> ad1s3c - /home
> 
> I already had figured that out some time ago (about 1 year) but I have 
> forgotten since.  What do I have to put into my fstab?

AFAICT, BSD slices should appear as partitions, i.e. hdb4, hdb5 etc.
Try looking at the disk with "fdisk /dev/hdb".

-- 
Glynn Clements <glynn.clements@virgin.net>

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

end of thread, other threads:[~2003-06-09 21:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-09 18:50 mounting FreeBSD-slices Benjamin Walkenhorst
2003-06-09 21:06 ` César Soler
2003-06-09 21:13 ` Glynn Clements

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.