Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Nelis Lamprecht
On Wed, 2004-01-21 at 14:26, Juan Rodriguez Hervella wrote:
 Hello, please send the reply to myself cause Im not 
 subscribe to the list
 
 I've got a FreeBSD-5.1 installation in /dev/ad0s3,
 but I usually run FreeBSD-4.9 from /dev/ad0s2.
 
 When I run:
 
 [EMAIL PROTECTED]:/usr/home/jrh# mount /dev/ad0s3 /mnt/freebsd5.1
 (ERROR)mount: /dev/ad0s3 on /mnt/freebsd5.1: incorrect super block
 
 [EMAIL PROTECTED]:/usr/home/jrh# mount /dev/ad0s3a /mnt/freebsd5.1
 (ERROR)mount: /dev/ad0s3a: No such file or directory

try creating the device files first:

sh /dev/MAKEDEV ad0s3

then mount -t ufs /dev/ad0s3a /mnt/freebsd5.1 ..for access to root or
mount -t ufs /dev/ad0s3f /mnt/freebsd5.1 ..for access to /usr

you may or may not need to specify the type of file system as above.

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Lowell Gilbert
Juan Rodriguez Hervella [EMAIL PROTECTED] writes:

 Hello, please send the reply to myself cause Im not 
 subscribe to the list
 
 I've got a FreeBSD-5.1 installation in /dev/ad0s3,
 but I usually run FreeBSD-4.9 from /dev/ad0s2.
 
 When I run:
 
 [EMAIL PROTECTED]:/usr/home/jrh# mount /dev/ad0s3 /mnt/freebsd5.1
 (ERROR)mount: /dev/ad0s3 on /mnt/freebsd5.1: incorrect super block
 
 [EMAIL PROTECTED]:/usr/home/jrh# mount /dev/ad0s3a /mnt/freebsd5.1
 (ERROR)mount: /dev/ad0s3a: No such file or directory
 
 Has anybody else experienced these problems ?
 What can I do ?

If it's a UFS2 filesystem, then you can't mount it from FreeBSD 4.x.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Juan Rodriguez Hervella
On Wednesday 21 January 2004 14:53, Sergey 'DoubleF' Zaharchenko wrote:
 On Wed, 21 Jan 2004 13:26:25 +0100

 Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
  Hello, please send the reply to myself cause Im not
  subscribe to the list
 
  I've got a FreeBSD-5.1 installation in /dev/ad0s3,
  but I usually run FreeBSD-4.9 from /dev/ad0s2.

 5.x uses UFS2 by default. 4.x does not understand UFS2. In short, you
 either re-newfs the 5.x partition to be UFS1, or you are short of luck
 this time.

I can not believe you !, 

I guess there is (or there will be) some work-in-progress to have
UFS2 support on FreeBSD-4.X systems.

Or are we following Windows way of life here ?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 21 Jan 2004 15:52:25 +0100
Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:

 On Wednesday 21 January 2004 14:53, Sergey 'DoubleF' Zaharchenko wrote:
  On Wed, 21 Jan 2004 13:26:25 +0100
 
  Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
   Hello, please send the reply to myself cause Im not
   subscribe to the list
  
   I've got a FreeBSD-5.1 installation in /dev/ad0s3,
   but I usually run FreeBSD-4.9 from /dev/ad0s2.
 
  5.x uses UFS2 by default. 4.x does not understand UFS2. In short, you
  either re-newfs the 5.x partition to be UFS1, or you are short of luck
  this time.
 
 I can not believe you !, 
 
 I guess there is (or there will be) some work-in-progress to have
 UFS2 support on FreeBSD-4.X systems.

If only by you:(. I'd suggest you make your 5.x partition UFS1 and be
satisfied with that - that's pretty much all you can do.

 Or are we following Windows way of life here ?

If 5.x couldn't understand 4.x, that would be a bad thing. But forcing
5.x to be absolutely compatible with 4.x is another bad thing.

If you were forced to stay that compatible all the time, you wouldn't be
able to do major architectural changes. If everyone thought the same
way, an Athlon or a P4 would be a 80286, only MUCH faster (which it is
for most olden DOS or Windows/16 programs, so your definition of
`Windows way of life' is definitely contrary to mine).

You don't complain 4.x can't run 5.x binaries, do you?:)

-- 
DoubleF
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.
-- Bert Whitney


pgp0.pgp
Description: PGP signature


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Juan Rodriguez Hervella
On Wednesday 21 January 2004 17:26, Sergey 'DoubleF' Zaharchenko wrote:
 On Wed, 21 Jan 2004 15:52:25 +0100

 Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
  On Wednesday 21 January 2004 14:53, Sergey 'DoubleF' Zaharchenko wrote:
   On Wed, 21 Jan 2004 13:26:25 +0100
  
   Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
Hello, please send the reply to myself cause Im not
subscribe to the list
   
I've got a FreeBSD-5.1 installation in /dev/ad0s3,
but I usually run FreeBSD-4.9 from /dev/ad0s2.
  
   5.x uses UFS2 by default. 4.x does not understand UFS2. In short, you
   either re-newfs the 5.x partition to be UFS1, or you are short of luck
   this time.
 
  I can not believe you !,
 
  I guess there is (or there will be) some work-in-progress to have
  UFS2 support on FreeBSD-4.X systems.

 If only by you:(. I'd suggest you make your 5.x partition UFS1 and be
 satisfied with that - that's pretty much all you can do.

  Or are we following Windows way of life here ?

 If 5.x couldn't understand 4.x, that would be a bad thing. But forcing
 5.x to be absolutely compatible with 4.x is another bad thing.

 If you were forced to stay that compatible all the time, you wouldn't be
 able to do major architectural changes. If everyone thought the same
 way, an Athlon or a P4 would be a 80286, only MUCH faster (which it is
 for most olden DOS or Windows/16 programs, so your definition of
 `Windows way of life' is definitely contrary to mine).

 You don't complain 4.x can't run 5.x binaries, do you?:)

But the filesystem is a different thing, imho.

For example, if you use FreeBSD-4.X you can mount 
ext2,ntfs,msdos,cd9660,smbfs. if you use Linux, you
can mount ufs. what's the reason it is not possible to
make a program which understands the UFS2 filesystem
under FreeBSD-4.X ? Is there any tecnical barrier ? Even
if the filesystem was mounted read-only (like ntfs), 
that would fit me

Besides, is there any way to make my UFS2 filesystem go
back to UFS1 without losing the data ?

Thanks.
I




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Jerry McAllister
 
 On Wednesday 21 January 2004 17:26, Sergey 'DoubleF' Zaharchenko wrote:
  On Wed, 21 Jan 2004 15:52:25 +0100
 
  Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
   On Wednesday 21 January 2004 14:53, Sergey 'DoubleF' Zaharchenko wrote:
On Wed, 21 Jan 2004 13:26:25 +0100
   
Juan Rodriguez Hervella [EMAIL PROTECTED] probably wrote:
 Hello, please send the reply to myself cause Im not
 subscribe to the list

 I've got a FreeBSD-5.1 installation in /dev/ad0s3,
 but I usually run FreeBSD-4.9 from /dev/ad0s2.
   
5.x uses UFS2 by default. 4.x does not understand UFS2. In short, you
either re-newfs the 5.x partition to be UFS1, or you are short of luck
this time.
  
   I can not believe you !,
  
   I guess there is (or there will be) some work-in-progress to have
   UFS2 support on FreeBSD-4.X systems.
 
  If only by you:(. I'd suggest you make your 5.x partition UFS1 and be
  satisfied with that - that's pretty much all you can do.
 
   Or are we following Windows way of life here ?
 
  If 5.x couldn't understand 4.x, that would be a bad thing. But forcing
  5.x to be absolutely compatible with 4.x is another bad thing.
 
  If you were forced to stay that compatible all the time, you wouldn't be
  able to do major architectural changes. If everyone thought the same
  way, an Athlon or a P4 would be a 80286, only MUCH faster (which it is
  for most olden DOS or Windows/16 programs, so your definition of
  `Windows way of life' is definitely contrary to mine).
 
  You don't complain 4.x can't run 5.x binaries, do you?:)
 
 But the filesystem is a different thing, imho.
 
 For example, if you use FreeBSD-4.X you can mount 
 ext2,ntfs,msdos,cd9660,smbfs. if you use Linux, you
 can mount ufs. what's the reason it is not possible to
 make a program which understands the UFS2 filesystem
 under FreeBSD-4.X ? Is there any tecnical barrier ? Even
 if the filesystem was mounted read-only (like ntfs), 
 that would fit me

Because the development track is 5. and that is where new
things are going.  The 4. track gets necessary bug and
security fixes, etc now, but not any major new features.   
The 4. track will soon be completely replaced by 5..

jerry

 
 Besides, is there any way to make my UFS2 filesystem go
 back to UFS1 without losing the data ?

Just dump(8) it to a tape or other disk, create a new UFS2 file
system where the UFS2 now lives and then restore(8) the dump.


 
 Thanks.
 I
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Dinesh Nair

On Wed, 21 Jan 2004, Jerry McAllister wrote:

 Just dump(8) it to a tape or other disk, create a new UFS2 file system
 where the UFS2 now lives and then restore(8) the dump.

i'm sure you meant create a new UFS1 file system where the UFS2 now
lives. :)

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount a FreeBSD-5.1 partition from FreeBSD-4.9

2004-01-21 Thread Jerry McAllister
 
 
 On Wed, 21 Jan 2004, Jerry McAllister wrote:
 
  Just dump(8) it to a tape or other disk, create a new UFS2 file system
  where the UFS2 now lives and then restore(8) the dump.
 
 i'm sure you meant create a new UFS1 file system where the UFS2 now
 lives. :)

Yup.   My typing teacher would roll over in her grave except
she is still alive (she was really young then).

jerry

 
 Regards,   /\_/\   All dogs go to heaven.
 [EMAIL PROTECTED](0 0)http://www.alphaque.com/
 +==oOO--(_)--OOo==+
 | for a in past present future; do|
 |   for b in clients employers associates relatives neighbours pets; do   |
 |   echo The opinions here in no way reflect the opinions of my $a $b.  |
 | done; done  |
 +=+
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]