|
From: Paradise <par...@gm...> - 2004-10-24 09:46:54
|
Hello,
I have problem on using the cofs from newest version pre5 and monotone...
I cannot mount the cofs on D:
Anyone know the problem?
---------------------------------------------------------------------------------------
D:\coLinux>colinux-daemon.exe -c colinux.default.xml
Cooperative Linux Daemon, 0.6.2-pre5
Compiled on Sun Oct 24 16:44:05 2004
Linux version 2.6.8.1-co-0.6.2-pre5 (cantona@colinux) (gcc version 3.3.4 2004062
3 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #1 Sun Oct 24 17:07:11 HKT 20
04
64MB LOWMEM available.
On node 0 totalpages: 16384
DMA zone: 0 pages, LIFO batch:1
Normal zone: 16384 pages, LIFO batch:4
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=/dev/cobd/0 cofs0=\Dos\Devices\d:
-----------------------------------------------------------------------------------------
colinux root # mount -t cofs 0 /mnt/d
mount: wrong fs type, bad option, bad superblock on 0,
or too many mounted file systems
Thanks,
Paradise.
|
|
From: Ian B. <ib...@gm...> - 2004-10-24 12:54:30
|
On Sun, 24 Oct 2004 17:46:46 +0800, Paradise <par...@gm...> wrote:
> Kernel command line: root=/dev/cobd/0 cofs0=\Dos\Devices\d:
> -----------------------------------------------------------------------------------------
> colinux root # mount -t cofs 0 /mnt/d
> mount: wrong fs type, bad option, bad superblock on 0,
> or too many mounted file systems
The actual correct syntax is:
mount -t cofs <cofs#>:<rel path> <mountpoint> [-o <options>]
<cofs#> is the cofs device parameter you have in your kernel command
line (in this case cofs0); <rel path> is the relative path into cofs0
that you want to mount (if you want the whole thing, use a <rel path>
of /); <mountpoint> is where in your linux tree you want the mount and
[-o <options>] are any number of the optional parameters that Dan
outlined in his docs that you can use with cofs (including dmask'ing,
fmask'ing, uid'ing and gid'ing the files).
Hope this helps,
Ian
|
|
From: Paradise <par...@gm...> - 2004-10-24 14:27:02
|
Hi thanks for quick response.
':rel path' is optional stated on src/doc/cofs
and there is example " mount -t cofs 0 /mnt/windows"
I did the everything correctly that stated on cofs document already
this doesnt work too
colinux root # mount -t cofs cofs0:/ /mnt/d
mount: wrong fs type, bad option, bad superblock on cofs0:/,
or too many mounted file systems
maybe there is something wrong with the kernel, but I am using the
correct kernel from the snapshot or ' my compile version' , both do
not work..
On Sun, 24 Oct 2004 08:54:26 -0400, Ian Bonnycastle <ib...@gm...> wrote:
> On Sun, 24 Oct 2004 17:46:46 +0800, Paradise <par...@gm...> wrote:
> > Kernel command line: root=/dev/cobd/0 cofs0=\Dos\Devices\d:
> > -----------------------------------------------------------------------------------------
> > colinux root # mount -t cofs 0 /mnt/d
> > mount: wrong fs type, bad option, bad superblock on 0,
> > or too many mounted file systems
>
> The actual correct syntax is:
>
> mount -t cofs <cofs#>:<rel path> <mountpoint> [-o <options>]
>
> <cofs#> is the cofs device parameter you have in your kernel command
> line (in this case cofs0); <rel path> is the relative path into cofs0
> that you want to mount (if you want the whole thing, use a <rel path>
> of /); <mountpoint> is where in your linux tree you want the mount and
> [-o <options>] are any number of the optional parameters that Dan
> outlined in his docs that you can use with cofs (including dmask'ing,
> fmask'ing, uid'ing and gid'ing the files).
>
> Hope this helps,
>
> Ian
>
--
Regards,
Paradise
|
|
From: Ian B. <ib...@gm...> - 2004-10-24 15:53:11
|
On Sun, 24 Oct 2004 22:26:59 +0800, Paradise <par...@gm...> wrote:
> ':rel path' is optional stated on src/doc/cofs
> and there is example " mount -t cofs 0 /mnt/windows"
Ohh... ok... I didn't realize what the 0 there was representing.. I
get it now.
> this doesnt work too
> colinux root # mount -t cofs cofs0:/ /mnt/d
> mount: wrong fs type, bad option, bad superblock on cofs0:/,
> or too many mounted file systems
I've seen this error too, and I can't remember what I did to fix
it. It was like the filesystem wasn't recognized by the kernel. I do
know, though, that the latest snapshot *may* include it, but the
latest monotone build definitely includes it.
Ian
|
|
From: Paradise <par...@gm...> - 2004-10-24 19:57:57
|
hmm..wired....it is monotone version that I am using, and the kernel is enable cofs linux-config:CONFIG_COFUSE_FS=y On Sun, 24 Oct 2004 11:53:08 -0400, Ian Bonnycastle <ib...@gm...> wrote: > On Sun, 24 Oct 2004 22:26:59 +0800, Paradise <par...@gm...> wrote: > > ':rel path' is optional stated on src/doc/cofs > > and there is example " mount -t cofs 0 /mnt/windows" > > Ohh... ok... I didn't realize what the 0 there was representing.. I > get it now. > > > this doesnt work too > > colinux root # mount -t cofs cofs0:/ /mnt/d > > mount: wrong fs type, bad option, bad superblock on cofs0:/, > > or too many mounted file systems > > I've seen this error too, and I can't remember what I did to fix > it. It was like the filesystem wasn't recognized by the kernel. I do > know, though, that the latest snapshot *may* include it, but the > latest monotone build definitely includes it. > > Ian > -- Regards, Paradise |
|
From: Ringer <rin...@gm...> - 2004-10-25 01:21:07
|
The problem is that you have to pass this option via the command line. XML options are not supported for cofs. On Sun, 24 Oct 2004 17:46:46 +0800, Paradise <par...@gm...> wrote: > Hello, > > I have problem on using the cofs from newest version pre5 and monotone... > I cannot mount the cofs on D: > Anyone know the problem? > --------------------------------------------------------------------------------------- > D:\coLinux>colinux-daemon.exe -c colinux.default.xml > Cooperative Linux Daemon, 0.6.2-pre5 > Compiled on Sun Oct 24 16:44:05 2004 > > Linux version 2.6.8.1-co-0.6.2-pre5 (cantona@colinux) (gcc version 3.3.4 2004062 > 3 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #1 Sun Oct 24 17:07:11 HKT 20 > 04 > 64MB LOWMEM available. > On node 0 totalpages: 16384 > DMA zone: 0 pages, LIFO batch:1 > Normal zone: 16384 pages, LIFO batch:4 > HighMem zone: 0 pages, LIFO batch:1 > Built 1 zonelists > Kernel command line: root=/dev/cobd/0 cofs0=\Dos\Devices\d: > ----------------------------------------------------------------------------------------- > colinux root # mount -t cofs 0 /mnt/d > mount: wrong fs type, bad option, bad superblock on 0, > or too many mounted file systems > > Thanks, > Paradise. > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |