Re: mounting ext3 for rw

2010-01-10 Thread Ed Jobs
On Sunday 10 January 2010 08:24, Zoran Kolic wrote:
 Looking at GENERIC in 8.0, I don't see ext2 at all.
 Just as module. Probably could be added.

hmmm. indeed. there isn't the option in the default GENERIC.
must have been in one of the betas, and i kept it.

it is 
options EXT2FS

 Further reading and thinkering, I should be probably
 fine loading ext2fs module on amd64 8.0, then mounting
 it via:
 mount -t ext2fs /dev/da0s1 /storage

that's what i normally do...

 I also found a patch for branch 7, included in 8.
 If suffices, I'd go no further. If something happens,
 I will install e2fsprogs for fsck on bsd, rather than
 linux. Plug is still on the way, cannot try out all
 the stuff.
 Thank you for answer. Best reagards

glad to be of any help


-- 
Real programmers don't document. If it was hard to write, it should be hard 
to understand.


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


Re: mounting ext3 for rw

2010-01-09 Thread Ed Jobs
On Saturday 09 January 2010 08:40, Zoran Kolic wrote:
 I should probably kldload ext2fs.ko
 first to have support. 
the way i use it to mount them since it's a fuse-implementation, i use 
/usr/local/etc/rc.d/fusefs(or fuse, i don't remember) onestart

and it loads the fuse module. 

contrary to you, i didn't remove EXT2FS from my kernel, but i don't think that 
makes any difference.

-- 
Cocaine is nature's way of telling you you have too much money.


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


Re: mounting ext3 for rw

2010-01-09 Thread Zoran Kolic
 contrary to you, i didn't remove EXT2FS from my kernel

Looking at GENERIC in 8.0, I don't see ext2 at all.
Just as module. Probably could be added.

Further reading and thinkering, I should be probably
fine loading ext2fs module on amd64 8.0, then mounting
it via:
mount -t ext2fs /dev/da0s1 /storage
I also found a patch for branch 7, included in 8.
If suffices, I'd go no further. If something happens,
I will install e2fsprogs for fsck on bsd, rather than
linux. Plug is still on the way, cannot try out all
the stuff.
Thank you for answer. Best reagards

  Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: mounting ext3 for rw

2010-01-08 Thread Zoran Kolic
Late reply. Bussy week.
After more reading, I changed my mind and
decided to go with e2fsprogs to manage ext3
formatted usb hard drive. I still have no
sheevaplug and no hdd, but I like to prepare
everything and be ready for every surprise.
I always recompile kernel and have no ext2fs
in it. I should probably kldload ext2fs.ko
first to have support. But, I still do not
see the way to manage ext3 in a different way,
since in the list of apps of e2fsprogs does
not exist one to have it. What to do otherwise:
mount -t ext2fs /dev/da0s1 /storage
Or, did I misunderstand the way it works?
Maybe I should not load the module and use
something I'm still not aware of?
Best regards

Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


mounting ext3 for rw

2010-01-04 Thread Zoran Kolic
Hi all!
I prepare to make plug music server with usb connected hard drive,
formated ext3, since the system is ubuntu 9.04 as default. My
rips are back-uped on spare usb disk, formated as ufs. My idea is
to copy files from ufs to ext3 drive, using freebsd. I would
probably enconter inode problem, since modern linuces use inode
as 256, but bsd uses it as 128. I could use knoppix and format
is with -I 128 flag. In ports available is e2fsprogs package with
some utilities that might help. I could also take another approach
and use rsync to avoid all inode puzzles.
What would you recommend as the most reliable? Mounting ext3 as
ext2 poses the question of making it dirty and necessity to
fsck it first on linux system. Also, I found some posts of ina-
bility to have the job done this way on branch 7. I have 8.0
on the laptop I write this and (if memory serves me well) 7.1
on old desktop.
Best reagards

   Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: mounting ext3 for rw

2010-01-04 Thread Bruce Simpson

You could try this, but it needs patching for FreeBSD:
http://sourceforge.net/projects/ext2fuse/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: mounting ext3 for rw

2010-01-04 Thread Ed Jobs
On Monday 04 January 2010 17:58, Zoran Kolic wrote:
 Hi all!
 I prepare to make plug music server with usb connected hard drive,
 formated ext3, since the system is ubuntu 9.04 as default. My
 rips are back-uped on spare usb disk, formated as ufs. My idea is
 to copy files from ufs to ext3 drive, using freebsd. I would
 probably enconter inode problem, since modern linuces use inode
 as 256, but bsd uses it as 128. I could use knoppix and format
 is with -I 128 flag. In ports available is e2fsprogs package with
 some utilities that might help. I could also take another approach
 and use rsync to avoid all inode puzzles.
 What would you recommend as the most reliable? Mounting ext3 as
 ext2 poses the question of making it dirty and necessity to
 fsck it first on linux system. Also, I found some posts of ina-
 bility to have the job done this way on branch 7. I have 8.0
 on the laptop I write this and (if memory serves me well) 7.1
 on old desktop.
 Best reagards
 
Zoran
 
i have been using the e2fsprogs from the ports collection since 8.0-BETA2 
without any problems*, i think that it will work for you.

* the partition which i mounted was a 256 one too
-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


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


Re: mounting ext3 for rw

2010-01-04 Thread Zoran Kolic
Hi all!

 i have been using the e2fsprogs from the ports collection since 8.0-BETA2 
 without any problems*, i think that it will work for you.
 
 * the partition which i mounted was a 256 one too

K, I could install 8 on old box. Have you partitioned and formatted
the usb drive on freebsd? Or it was done on some linux distro?
Finally, after mounting, I will have to copy files to ext3 drive.
Does it work also flowlessly?
Since the sheevaplug could mount ext3, I have an option to
either rsync or scp to it directories recursive over ethernet
adapters and setting ip addresses. What do you think over this?
Best regards

Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: mounting ext3 for rw

2010-01-04 Thread Ed Jobs
On Monday 04 January 2010 18:55, Zoran Kolic wrote:
 K, I could install 8 on old box. Have you partitioned and formatted
 the usb drive on freebsd? Or it was done on some linux distro?
 Finally, after mounting, I will have to copy files to ext3 drive.
 Does it work also flowlessly?
 Since the sheevaplug could mount ext3, I have an option to
 either rsync or scp to it directories recursive over ethernet
 adapters and setting ip addresses. What do you think over this?
 Best regards
 
 Zoran
no, it wasn't formated on freebsd. i formatted it under the ArchLinux 
distribution. In addition, the partition was an ext3, not just an ext2. And i 
was able to read/write without any problems (at least i didn't notice any).

Also, the port installed the following files:
fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev 
so even if the journal somehow will get corrupted, it will be possible to fix 
it. (i think that i used the fsck.ext3 utility once, because a friend of mine 
unplugged the drive without unmounting it first and it worked perfectly)

ofc ymmv, but i think that it worths a shot.

on the last part of your question, i'm afraid that i haven't used sheevaplug, 
so i can't be of any assistance there.

hope i was helpful,
Ed

-- 
Real programmers don't document. If it was hard to write, it should be hard 
to understand.


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