Re: NTFS-3G not mounting the partition during boot

2007-08-10 Thread Novembre
On 8/8/07, Novembre <[EMAIL PROTECTED]> wrote:
>
>
>
> On 8/7/07, Rakhesh Sasidharan <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Starting ntfsmount.
> > > /etc/rc: DEBUG: run_rc_command: _doit:
> > /usr/local/bin/ntfs-3g  /dev/ad0s1
> > > /mnt/w
> > > indows
> > > fuse: failed to exec mount program: No such file or directory
> > > --
> > >
> > > I don't exactly know what it means by "fuse: failed to exec mount
> > program:
> > > No such file or directory" since /usr/local/bin/ntfs-3g exists,
> > /dev/ad0s1
> > > is my Windows 2000 partition, and I have created /mnt/windows myself.
> >
> > Why is the mount point /mnt/windows broken over two lines? If that's the
> > actual output from fuse (and not broken coz of some wrapping while
> > emailing) then that could be the problem.
> >
> > Regards,
> > Rakhesh
> >
>
>
> The line is broken, since it had reached the end of line. It just wrapped
> the rest of the line into the next line. I don't think it's the actual
> output from fusefs. Here's an interesting thing though:
>
> # cat /var/log/messages
> ...
> Aug  8 23:37:10 homedesktop root: /etc/rc: INFO: checkyesno:
> ntfsmount_enable is set to YES.
> Aug  8 23:37:10 homedesktop root: /etc/rc: INFO: run_rc_command: _doit:
> /usr/local/bin/ntfs-3g  /dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8
> Aug  8 23:37:11 homedesktop ntfs-3g[923]: Version 1.710
> Aug  8 23:37:11 homedesktop ntfs-3g[923]: Mounted /dev/ad0s1 (Read-Write,
> label "", NTFS 3.0)
> Aug  8 23:37:11 homedesktop ntfs-3g[923]: Cmdline options:
> locale=en_US.UTF-8
> Aug  8 23:37:11 homedesktop ntfs-3g[923]: Mount options:
> noatime,silent,allow_other,fsname=/dev/ad0s1
> ...
>
> So it seems the mount process was successful?! Indeed, /dev/fuse0 was
> created as well...
> Then why do I see the following message when the system boots?
> -
> fuse: failed to exec mount program: No such file or directory
> -
>
> I'm not sure if this is something to be worried about or not, but there
> are two spaces between "ntfs-3f" and "/dev/ad0s1" when the command runs. I
> have set up the startup script as mentioned before, so I'm not sure what's
> happening here as well...
>
> Thanks
>


I didn't get any replies, so I'll send this again. Hopefully, someone will
help.
The problem is explained above...

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


Re: NTFS-3G not mounting the partition during boot

2007-08-08 Thread Novembre
On 8/7/07, Rakhesh Sasidharan <[EMAIL PROTECTED]> wrote:
>
>
> > Starting ntfsmount.
> > /etc/rc: DEBUG: run_rc_command: _doit:
> /usr/local/bin/ntfs-3g  /dev/ad0s1
> > /mnt/w
> > indows
> > fuse: failed to exec mount program: No such file or directory
> > --
> >
> > I don't exactly know what it means by "fuse: failed to exec mount
> program:
> > No such file or directory" since /usr/local/bin/ntfs-3g exists,
> /dev/ad0s1
> > is my Windows 2000 partition, and I have created /mnt/windows myself.
>
> Why is the mount point /mnt/windows broken over two lines? If that's the
> actual output from fuse (and not broken coz of some wrapping while
> emailing) then that could be the problem.
>
> Regards,
> Rakhesh
>


The line is broken, since it had reached the end of line. It just wrapped
the rest of the line into the next line. I don't think it's the actual
output from fusefs. Here's an interesting thing though:

# cat /var/log/messages
...
Aug  8 23:37:10 homedesktop root: /etc/rc: INFO: checkyesno:
ntfsmount_enable is set to YES.
Aug  8 23:37:10 homedesktop root: /etc/rc: INFO: run_rc_command: _doit:
/usr/local/bin/ntfs-3g  /dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8
Aug  8 23:37:11 homedesktop ntfs-3g[923]: Version 1.710
Aug  8 23:37:11 homedesktop ntfs-3g[923]: Mounted /dev/ad0s1 (Read-Write,
label "", NTFS 3.0)
Aug  8 23:37:11 homedesktop ntfs-3g[923]: Cmdline options:
locale=en_US.UTF-8
Aug  8 23:37:11 homedesktop ntfs-3g[923]: Mount options:
noatime,silent,allow_other,fsname=/dev/ad0s1
...

So it seems the mount process was successful?! Indeed, /dev/fuse0 was
created as well...
Then why do I see the following message when the system boots?
-
fuse: failed to exec mount program: No such file or directory
-

I'm not sure if this is something to be worried about or not, but there are
two spaces between "ntfs-3f" and "/dev/ad0s1" when the command runs. I have
set up the startup script as mentioned before, so I'm not sure what's
happening here as well...

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


Re: NTFS-3G not mounting the partition during boot

2007-08-07 Thread Rakhesh Sasidharan



Starting ntfsmount.
/etc/rc: DEBUG: run_rc_command: _doit: /usr/local/bin/ntfs-3g  /dev/ad0s1
/mnt/w
indows
fuse: failed to exec mount program: No such file or directory
--

I don't exactly know what it means by "fuse: failed to exec mount program:
No such file or directory" since /usr/local/bin/ntfs-3g exists, /dev/ad0s1
is my Windows 2000 partition, and I have created /mnt/windows myself.


Why is the mount point /mnt/windows broken over two lines? If that's the 
actual output from fuse (and not broken coz of some wrapping while 
emailing) then that could be the problem.


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


Re: NTFS-3G not mounting the partition during boot

2007-08-07 Thread Novembre
On 8/7/07, Novembre <[EMAIL PROTECTED]> wrote:
>
>
>
> On 8/6/07, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
> >
> > Novembre wrote:
> > > rcvar=`set_rcvar`
> > That should be
> > rcvar=${name}_enable
> >
> > Because of this, your script did not run because the rc system didn't
> > detect it correctly.
> >
> > Try setting
> > rc_debug="YES"
> > and/or
> > rc_info="YES"
> > in /etc/rc.conf
> >
> > to see more of whats happening.
> >
> > > command="ntfs-3g /dev/ad0s1 /mnt/windows && ntfs-3g /dev/ad0s1
> > > /mnt/windows -o locale=en_US.UTF-8"
> > Also $command is special, you should use another variable
> > $command_args (which is also special) for the arguments/options.
> >
> > Of course, you can circument these if you know what you are doing.
> >
> > When in doubt, look at other rc scripts like apache22's or others that
> > might seem like they would do a lot.
> >
> > Finally, in /etc/rc.subr is _very_
> >
> >
> > --
> > 
> > Philip M. Gollucci ( [EMAIL PROTECTED]) 323.219.4708
> > Senior System Admin - Riderway, Inc. http://riderway.com
> > 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
> >
> > Work like you don't need the money,
> > love like you'll never get hurt,
> > and dance like nobody's watching.
> >
>
>
>
> Hi,
>
> I did not write this script myself. I was searching the net for a solution
> to this problem, and I found a thread on ntfs-3g forums where somebody had
> posted this script. Apparently, it had worked for him and some other people.
> I just copied and pasted the script. But since I wanted to know more about
> startup scripts, I looked at the manual page for rc.d, and a sample script
> there looked exacly liked this one. That's why I thought that the script
> that I have is going to work as well.
> I made the changes and am going to reboot the machine now. If they work,
> i'll post the results...
>
> Thanks a lot :)
>
>

Okay, here's an update. I changed the script to the following
--
#!/bin/sh
#
# PROVIDE: ntfsmount
# REQUIRE: fusefs
#

. /etc/rc.subr

name="ntfsmount"
rcvar=${name}_enable
command="/usr/local/bin/ntfs-3g"
command_args="/dev/ad0s1 /mnt/windows"

load_rc_config $name

: ${ntfsmount_enable="NO"}

run_rc_command "$1"
--

and have also put rc_debug="YES" and rc_info="YES" in /etc/rc.conf, and the
result is the following
--
/etc/rc: DEBUG: checkyesno: ntfsmount_enable is set to YES.
Starting ntfsmount.
/etc/rc: DEBUG: run_rc_command: _doit: /usr/local/bin/ntfs-3g  /dev/ad0s1
/mnt/w
indows
fuse: failed to exec mount program: No such file or directory
--

I don't exactly know what it means by "fuse: failed to exec mount program:
No such file or directory" since /usr/local/bin/ntfs-3g exists, /dev/ad0s1
is my Windows 2000 partition, and I have created /mnt/windows myself.

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


Re: NTFS-3G not mounting the partition during boot

2007-08-07 Thread Novembre
On 8/6/07, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
>
> Novembre wrote:
> > rcvar=`set_rcvar`
> That should be
> rcvar=${name}_enable
>
> Because of this, your script did not run because the rc system didn't
> detect it correctly.
>
> Try setting
> rc_debug="YES"
> and/or
> rc_info="YES"
> in /etc/rc.conf
>
> to see more of whats happening.
>
> > command="ntfs-3g /dev/ad0s1 /mnt/windows && ntfs-3g /dev/ad0s1
> > /mnt/windows -o locale=en_US.UTF-8"
> Also $command is special, you should use another variable
> $command_args (which is also special) for the arguments/options.
>
> Of course, you can circument these if you know what you are doing.
>
> When in doubt, look at other rc scripts like apache22's or others that
> might seem like they would do a lot.
>
> Finally, in /etc/rc.subr is _very_
>
>
> --
> 
> Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
> Senior System Admin - Riderway, Inc. http://riderway.com
> 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
>
> Work like you don't need the money,
> love like you'll never get hurt,
> and dance like nobody's watching.
>



Hi,

I did not write this script myself. I was searching the net for a solution
to this problem, and I found a thread on ntfs-3g forums where somebody had
posted this script. Apparently, it had worked for him and some other people.
I just copied and pasted the script. But since I wanted to know more about
startup scripts, I looked at the manual page for rc.d, and a sample script
there looked exacly liked this one. That's why I thought that the script
that I have is going to work as well.
I made the changes and am going to reboot the machine now. If they work,
i'll post the results...

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


Re: NTFS-3G not mounting the partition during boot

2007-08-06 Thread Philip M. Gollucci

Novembre wrote:

rcvar=`set_rcvar`

That should be
rcvar=${name}_enable

Because of this, your script did not run because the rc system didn't 
detect it correctly.


Try setting
rc_debug="YES"
and/or
rc_info="YES"
in /etc/rc.conf

to see more of whats happening.

> command="ntfs-3g /dev/ad0s1 /mnt/windows && ntfs-3g /dev/ad0s1
> /mnt/windows -o locale=en_US.UTF-8"
Also $command is special, you should use another variable
$command_args (which is also special) for the arguments/options.

Of course, you can circument these if you know what you are doing.

When in doubt, look at other rc scripts like apache22's or others that 
might seem like they would do a lot.


Finally, in /etc/rc.subr is _very_


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"