(Courriels de diversion: <susnomme@skiait-resultant.com> <insinuants@repartiras-pacifions.com> <vexons@gercee-deboucheront.com> <contresignerons@exprimables-etranglements.com> <vengerez@glaiseux-affrontait.com> <grefferions@meugla-impures.com> <herissais@seropositive-gouter.com> <jumelleriez@flasques-majoraient.com> <saris@cautionnerait-decollerez.com> <atteignions@reconvertirions-enterre.com> )


Sous Linux, je n'arrive pas à monter la partition BSD, cf fichier,
quelqu'un peut expliquer ?

Sous FreeBSD, idem, je n'arrive pas à monter une partition Linux,
par exemple la /dev/hdd4, comment faire ?

Merci.

Serge

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hdd4             963943  849935    64207     93%   /
/dev/hda5              15583     597    14182      4%   /boot
/dev/hdd5             396543  364581    11483     97%   /hdd5
/dev/hdd8             497667  420098    51867     89%   /hdd8
/dev/hdd7             150497   79197    63270     56%   /hdd7
/dev/hdd9            2183132 1892063   178214     91%   /hdd9
/dev/hdd10            979450  843866    84981     91%   /hdd10
/dev/hda3             536096  406048   130048     76%   /hda3
/dev/hda1             511760  416168    95592     81%   /hda1
/dev/hda4             126972  120516     6456     95%   /FreeBSD

Disk /dev/hda: 128 heads, 63 sectors, 525 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1   *        1        1      127   512032+   4  DOS 16-bit <32M
/dev/hda2          128      128      247   483840    5  Extended
/dev/hda3          248      248      380   536256    6  DOS 16-bit >=32M
/dev/hda4          381      381      525   584640   a5  BSD/386
/dev/hda5          128      128      131    16096+  83  Linux native
/dev/hda6          132      132      137    24160+  83  Linux native
/dev/hda7          138      138      193   225760+  83  Linux native
/dev/hda8          194      194      247   217696+  83  Linux native

Disk /dev/hdd: 255 heads, 63 sectors, 788 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdd1            1        1      593  4763241    5  Extended
/dev/hdd2          594      594      657   514080   83  Linux native
/dev/hdd3          658      658      664    56227+  82  Linux swap
/dev/hdd4          665      665      788   996030   83  Linux native
/dev/hdd5            1        1       51   409594+  83  Linux native
/dev/hdd6           52       52      102   409626   83  Linux native
/dev/hdd7          103      103      122   160618+  83  Linux native
/dev/hdd8          123      123      186   514048+  83  Linux native
/dev/hdd9          187      187      467  2257101   83  Linux native
/dev/hdd10         468      468      593  1012063+  83  Linux native
 mount -t ufs -o ufstype=44bsd /dev/hda4 /FreeBSD/
ufs_read_super: fs_nindir 2048 != 3
ufs_read_super: fucking Sun blows me
ufs_read_super: fs last mounted on "/"
ufs_read_super: fs needs fsck
ufs_read_inode: file too big ino 2 dev 3/4, faking size
ufs_read_super: inopb 64

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hdd4             963943  849946    64196     93%   /
/dev/hda5              15583     597    14182      4%   /boot
/dev/hdd5             396543  364581    11483     97%   /hdd5
/dev/hdd8             497667  420098    51867     89%   /hdd8
/dev/hdd7             150497   79197    63270     56%   /hdd7
/dev/hdd9            2183132 1892063   178214     91%   /hdd9
/dev/hdd10            979450  843866    84981     91%   /hdd10
/dev/hda3             536096  406048   130048     76%   /hda3
/dev/hda1             511760  416168    95592     81%   /hda1
/dev/hda4             126972  120516     6456     95%   /FreeBSD
umount /FreeBSD/
ufs_put_super

Command (m for help): b
Reading disklabel of /dev/hda4 at sector 3064321.

BSD disklabel command (m for help): p

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    65536  3064320    4.2BSD     1024  8192    16   # (Cyl.  381 - 389*)
  b:   142128  3129856      swap                        # (Cyl.  389*- 406*)
  c:  1169280  3064320    unused        0     0         # (Cyl.  381 - 525)
  e:    61440  3271984    4.2BSD     1024  8192    16   # (Cyl.  406*- 414*)
  f:   900176  3333424    4.2BSD     1024  8192    16   # (Cyl.  414*- 525*)

BSD disklabel command (m for help):

BSD disklabel command (m for help): s
# /dev/hda4:
type: ESDI
disk: wd0s4
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 128
sectors/cylinder: 8064
cylinders: 145
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
type: ESDI
disk: wd0s4
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 128
sectors/cylinder: 8064
cylinders: 145
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0
8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    65536  3064320    4.2BSD     1024  8192    16   # (Cyl.  381 - 389*)
  b:   142128  3129856      swap                        # (Cyl.  389*- 406*)
  c:  1169280  3064320    unused        0     0         # (Cyl.  381 - 525)
  e:    61440  3271984    4.2BSD     1024  8192    16   # (Cyl.  406*- 414*)
  f:   900176  3333424    4.2BSD     1024  8192    16   # (Cyl.  414*- 525*)

BSD disklabel command (m for help):

BSD disklabel command (m for help): l

 0  unused           4  System V         8  MS-DOS           c  ISO-9660
 1  swap             5  4.1BSD           9  4.4LFS           d  boot
 2  Version 6        6  Eighth Edition   a  unknown          e  ADOS
 3  Version 7        7  4.2BSD           b  HPFS             f  HFS
---------------------------------------------------------------------
Aide sur la liste: <URL:mailto:linux-31-help@savage.iut-blagnac.fr>Le CULTe sur le web: <URL:http://savage.iut-blagnac.fr/>