Re: problem with mount_ntfs-3g

2007-11-29 Thread Alejandro Pulver
On Tue, 27 Nov 2007 09:35:48 -0500
Aryeh M. Friedman [EMAIL PROTECTED] wrote:

  Then, I execute this command:
  mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
  but is also says:
  mount: /dev/ad6s10 : Operation not supported by device
 
  Is this a bug of mount?
 
 I get exactly the same thing on -current AMD64.
 
  uname -a:
  FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30
  CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
 
 

Can't reproduce in my machine, please try with the latest version
(attached as shell archive).

Best Regards,
Ale


signature.asc
Description: PGP signature


INDEX build failed for 5.x

2007-11-29 Thread Erwin Lansing
INDEX build failed with errors:
Generating INDEX-5 - please wait../libexec/ld-elf.so.1: Cannot open 
/lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.port.mk, line 1229: warning: echo 
/nonexistent/libglade-java/options returned non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 342: warning: echo   
returned non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 325: warning: echo  
returned non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 318: warning: test -x 
/nonexistentlocal/jdk1.4.2/bin/javac   echo 
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4  || true returned non-zero status
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 341: warning: echo  | 
/usr/bin/grep -q JAVA_PORT_LINUX_SUN_JDK_1_3   echo 
JAVA_PORT_LINUX_SUN_JDK_1_3 || true returned non-zero status
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 252: warning: echo 1.3 1.4 1.5 
1.6 1.3+ 1.4+ 1.5+ 1.6+ 1.1+ 1.2+ | /usr/bin/sed s/ /\\\|/g returned 
non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 319: warning: echo   
returned non-zero status
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 342: warning: echo   returned 
non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 254: warning: echo 1.2+ | 
LANG=C /usr/bin/tr   \n  | /usr/bin/grep -v  || true returned non-zero 
status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
[...]
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 353: warning: echo 
JAVA_PORT_NATIVE_FREEBSD_JDK_1_5 JAVA_PORT_NATIVE_FREEBSD_JDK_1_5 
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_6 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 
JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4 JAVA_PORT_NATIVE_BSDJAVA_JDK_1_3 
JAVA_PORT_LINUX_SUN_JDK_1_6 JAVA_PORT_LINUX_SUN_JDK_1_5 
JAVA_PORT_LINUX_SUN_JDK_1_4 JAVA_PORT_LINUX_SUN_JDK_1_3 
JAVA_PORT_LINUX_BLACKDOWN_JDK_1_4  | /usr/bin/awk '{ print $1 }' returned 
non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 264: warning: echo  | LANG=C 
/usr/bin/tr   \n  | /usr/bin/grep -v  || true returned non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 272: warning: echo native linux 
| /usr/bin/sed s/ /\\\|/g returned non-zero status
/libexec/ld-elf.so.1: Cannot open /lib/libncurses.so.7
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 319: warning: echo   returned 
non-zero status
=== games/crafty-open-enormous failed
/a/erwin/tindex/ports/Mk/bsd.java.mk, line 274: warning: echo native | 
LANG=C /usr/bin/tr   \n  | /usr/bin/grep -v  || true returned non-zero 
status
*** Error code 1
/libexec/ld-elf.so.1: Cannot open /lib/libedit.so.6
/a/erwin/tindex/ports/Mk/bsd.port.mk, line 1229: warning: echo 
/nonexistent/posix/options returned non-zero status
*** Error code 1

Stop in /a/erwin/tindex/ports.
*** Error code 1

Stop in /a/erwin/tindex/ports.
1 error

Committers on the hook:


Most recent CVS update was:
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with mount_ntfs-3g

2007-11-29 Thread Alejandro Pulver
On Thu, 29 Nov 2007 19:42:00 -0300
Alejandro Pulver [EMAIL PROTECTED] wrote:

 On Tue, 27 Nov 2007 09:35:48 -0500
 Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 
   Then, I execute this command:
   mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
   but is also says:
   mount: /dev/ad6s10 : Operation not supported by device
  
   Is this a bug of mount?
  
  I get exactly the same thing on -current AMD64.
  
   uname -a:
   FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30
   CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
  
  
 
 Can't reproduce in my machine, please try with the latest version
 (attached as shell archive).
 

Sorry, it was stripped. It's available here:

ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar

Best Regards,
Ale


signature.asc
Description: PGP signature


Re: Cyrus_imap23

2007-11-29 Thread jekillen


On Nov 28, 2007, at 10:42 PM, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

jekillen wrote:


The question is, if I do not know the exact name of
a package, how can I do pkg_info on it.


   pkg_info -x foo

Where 'foo' is just a string to match in the package name. Eg.

% pkg_info -Ix apache
apache-2.2.6_2  Version 2.2 of Apache web server with prefork MPM.
apache-ant-1.7.0_1  Java- and XML-based build tool, conceptually 
similar to mak


Cheers,

Matthew


Thanks for the info;
Much appreciated
Jeff K

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


Re: problem with mount_ntfs-3g

2007-11-29 Thread Yi Wang
Thanks for your hard work!

But the latest version doesn't solve the problem either.

ls /var/db/pkg | grep ntfs
fusefs-ntfs-1.1120

uname -a
FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #1: Thu Nov 29 10:44:52
CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ULE  i386


On 11/30/07, Alejandro Pulver [EMAIL PROTECTED] wrote:
 On Thu, 29 Nov 2007 19:42:00 -0300
 Alejandro Pulver [EMAIL PROTECTED] wrote:

  On Tue, 27 Nov 2007 09:35:48 -0500
  Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 
Then, I execute this command:
mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
but is also says:
mount: /dev/ad6s10 : Operation not supported by device
   
Is this a bug of mount?
  
   I get exactly the same thing on -current AMD64.
   
uname -a:
FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30
CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
   
  
 
  Can't reproduce in my machine, please try with the latest version
  (attached as shell archive).
 

 Sorry, it was stripped. It's available here:

 ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar

 Best Regards,
 Ale




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


Re: problem with mount_ntfs-3g

2007-11-29 Thread Suhaib .

 - Original Message -
 From: Alejandro Pulver [EMAIL PROTECTED]
 To: Aryeh M. Friedman [EMAIL PROTECTED]
 Subject: Re: problem with mount_ntfs-3g
 Date: Thu, 29 Nov 2007 20:16:14 -0300


 On Thu, 29 Nov 2007 19:42:00 -0300
 Alejandro Pulver [EMAIL PROTECTED] wrote:

  On Tue, 27 Nov 2007 09:35:48 -0500
  Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 
Then, I execute this command:
mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
but is also says:
mount: /dev/ad6s10 : Operation not supported by device
   
Is this a bug of mount?
I get exactly the same thing on -current AMD64.
   
uname -a:
FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30
CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
   
   Can't reproduce in my machine, please try with the latest version
  (attached as shell archive).
 

 Sorry, it was stripped. It's available here:

 ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar

 Best Regards,
 Ale
  signature.asc 


I had the same problem on RELENG_7 and made a minor edit to mount 
for ntfs-3g to work. However,I have not had the time to investigate 
whether or not it is the correct solution, see the comment about 
nmount() in mount.c

To try out the change apply the attached patch file from /usr/src, 
then cd to /usr/src/sbin/mount and run make. A quick test...

# mount -t ntfs-3g -o ro /dev/da8s1 /mnt
mount: /dev/da8s1 : Operation not supported by device

# /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt


--
Suhaib

-- 
___
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze


mount.c.patch
Description: Binary data
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

INDEX now builds successfully on 5.x

2007-11-29 Thread Erwin Lansing

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


Re: Cyrus_imap23

2007-11-29 Thread jekillen


On Nov 28, 2007, at 9:09 PM, Scot Hetzel wrote:


On 11/28/07, Kellen [EMAIL PROTECTED] wrote:





This brings up another question. But first
let me explain a little. I tried pkg_info Cyrus-imap23
and got the response that no package by that name
was installed and could not be found, Well, of course
that is probably not the exact name and the exact name
is expected. So I just cd'd to the Cyrus-imap23 dir in
ports and did pkg_info with no parameter and got a
long list of stuff, including a lot of X11 and X windows
stuff.
The question is, if I do not know the exact name of
a package, how can I do pkg_info on it.


It is quite simple to do a pkg_info on a port you don't know the exact 
name:


cd /usr/ports/mail/Cyrus-imap23
pkg_info `make -V PKGNAME`

or look in /var/db/pkg for the ports that have already been installed.


A corollary question is: How do I find out exactly how
much configuration a port has applied once a port
is installed. Apache with php; with or without ssl, might be a typical
example.


The port maintainers try to create the ports so that you have minimal
amount of work to configure the ports.  But you still need to review
the configuration files installed for each port to ensure they are
appropriate for you system.


Thus, there is a lot of configuration steps to get Cyrus
up and running with Postfix, ClamAV, Amavis new, Spamassassin,
PAM, SASL, mysql and all that. How do I find out how much 
configuration

a port has done in a case like this.


Just break the task into steps that need to be accomplished to reach 
your goal:


assuming your using mysql to contain users:
1. configure postfix to send/receive mail for your domain
2. configure mysql server
3. setup pam_mysql
4. configure cyrus-sasl to authenticate users from mysql
5. configure cyrus-imapd
6. configure postfix to deliver messages to cyrus-imapd, test message 
delivery

7. configure ClamAV
8. configure Amavis
9. configure postfix to have Amavis scan messages, test message 
delivery

10. configure Spamassassion
11. configure postfix to scan messages for spam with Spamassassion,
test message delivery.
12. monitor mail delivery until your satisfied that it is working 
properly.



I did add Cyrus-imap23 and am
wondering if it also installed Cyrus SASl. It did create the Cyrus 
user

and mail group; I found that out when I went to create the Cyrus user
and mail group myself. I do not see a separate port for Cyrus SASL.


There is a separate port for Cyrus-sasl2:

/usr/ports/security/cyrus-sasl2

Scot



Thanks for the info
Much appreciated.
I got a copy of the new Absolute FreeBSD, and will be digging into it 
soon.

Jeff K

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


Re: problem with mount_ntfs-3g

2007-11-29 Thread Yi Wang
the patch seem has a little problem. The file version does not match
7.0-beta3. But we can patch it manually.

The patch works perfectly.

% sudo /usr/obj/usr/src/sbin/mount/mount -t ntf /dev/ad6s10 /media/g
mount: exec mount_ntf not found in /sbin:/usr/sbin: No such file
or directory

Hope someone commit this.

Thanks for everybody!


On 11/30/07, Yoshihiro Ota [EMAIL PROTECTED] wrote:
 This a bit off the topic; however, I pointed out the problem of this mount_XXX
 behaviour quite long time ago.  It currently maintains a list of NON-supported
 FS by nmount(2).  Instead, it's better to maintain a list of SUPPORTED FS by 
 nmount.

 In the current scheme, mount has to be aware of all the FSs that nmount(2) 
 cannot
 support.  In other words, if one attempts to add a new FS, he/she has to 
 modify
 mount(8) program.  That doesn't sound right, does it?

 I attached the patch, again, if anyone is interested in commiting this fix.

 Thanks,
 Hiro

 On Fri, 30 Nov 2007 11:18:08 +0800
 Yi Wang [EMAIL PROTECTED] wrote:

  Yes, I think it does the trick.
 
  some words from mount(8):
 
  The default behavior of mount is to pass the -t option directly to the
  nmount(2) system call in the fstype option.
  However, for the following file system types: cd9660, mfs, msdosfs,
  nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs,
  mount will not call nmount(2) directly and will instead attempt to
  execute a program in /sbin/mount_XXX where XXX is replaced by the file
  system type name.
 
  according to this, your patch should works fine.
 
  I didn't test it yet because I delete /usr/obj before. So I'm build world 
  now.
 
  I'll post the result when it finish.
 
  On 11/30/07, Suhaib . [EMAIL PROTECTED] wrote:
  
- Original Message -
From: Alejandro Pulver [EMAIL PROTECTED]
To: Aryeh M. Friedman [EMAIL PROTECTED]
Subject: Re: problem with mount_ntfs-3g
Date: Thu, 29 Nov 2007 20:16:14 -0300
   
   
On Thu, 29 Nov 2007 19:42:00 -0300
Alejandro Pulver [EMAIL PROTECTED] wrote:
   
 On Tue, 27 Nov 2007 09:35:48 -0500
 Aryeh M. Friedman [EMAIL PROTECTED] wrote:

   Then, I execute this command:
   mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
   but is also says:
   mount: /dev/ad6s10 : Operation not supported by device
  
   Is this a bug of mount?
   I get exactly the same thing on -current AMD64.
  
   uname -a:
   FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 
   12:18:30
   CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
  
  Can't reproduce in my machine, please try with the latest version
 (attached as shell archive).

   
Sorry, it was stripped. It's available here:
   
ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar
   
Best Regards,
Ale
 signature.asc 
  
  
   I had the same problem on RELENG_7 and made a minor edit to mount
   for ntfs-3g to work. However,I have not had the time to investigate
   whether or not it is the correct solution, see the comment about
   nmount() in mount.c
  
   To try out the change apply the attached patch file from /usr/src,
   then cd to /usr/src/sbin/mount and run make. A quick test...
  
   # mount -t ntfs-3g -o ro /dev/da8s1 /mnt
   mount: /dev/da8s1 : Operation not supported by device
  
   # /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt
  
  
   --
   Suhaib
  
   --
   ___
   Surf the Web in a faster, safer and easier way:
   Download Opera 9 at http://www.opera.com
  
   Powered by Outblaze
  
  
 
 
  --
  Regards,
  Wang Yi
  ___
  freebsd-ports@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-ports
  To unsubscribe, send any mail to [EMAIL PROTECTED]




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


Re: problem with mount_ntfs-3g

2007-11-29 Thread Yi Wang
test passed!


On 11/30/07, Yi Wang [EMAIL PROTECTED] wrote:
 Yes, I think it does the trick.

 some words from mount(8):

 The default behavior of mount is to pass the -t option directly to the
 nmount(2) system call in the fstype option.
 However, for the following file system types: cd9660, mfs, msdosfs,
 nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs,
 mount will not call nmount(2) directly and will instead attempt to
 execute a program in /sbin/mount_XXX where XXX is replaced by the file
 system type name.

 according to this, your patch should works fine.

 I didn't test it yet because I delete /usr/obj before. So I'm build world now.

 I'll post the result when it finish.

 On 11/30/07, Suhaib . [EMAIL PROTECTED] wrote:
 
   - Original Message -
   From: Alejandro Pulver [EMAIL PROTECTED]
   To: Aryeh M. Friedman [EMAIL PROTECTED]
   Subject: Re: problem with mount_ntfs-3g
   Date: Thu, 29 Nov 2007 20:16:14 -0300
  
  
   On Thu, 29 Nov 2007 19:42:00 -0300
   Alejandro Pulver [EMAIL PROTECTED] wrote:
  
On Tue, 27 Nov 2007 09:35:48 -0500
Aryeh M. Friedman [EMAIL PROTECTED] wrote:
   
  Then, I execute this command:
  mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
  but is also says:
  mount: /dev/ad6s10 : Operation not supported by device
 
  Is this a bug of mount?
  I get exactly the same thing on -current AMD64.
 
  uname -a:
  FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 
  12:18:30
  CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
 
 Can't reproduce in my machine, please try with the latest version
(attached as shell archive).
   
  
   Sorry, it was stripped. It's available here:
  
   ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar
  
   Best Regards,
   Ale
signature.asc 
 
 
  I had the same problem on RELENG_7 and made a minor edit to mount
  for ntfs-3g to work. However,I have not had the time to investigate
  whether or not it is the correct solution, see the comment about
  nmount() in mount.c
 
  To try out the change apply the attached patch file from /usr/src,
  then cd to /usr/src/sbin/mount and run make. A quick test...
 
  # mount -t ntfs-3g -o ro /dev/da8s1 /mnt
  mount: /dev/da8s1 : Operation not supported by device
 
  # /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt
 
 
  --
  Suhaib
 
  --
  ___
  Surf the Web in a faster, safer and easier way:
  Download Opera 9 at http://www.opera.com
 
  Powered by Outblaze
 
 


 --
 Regards,
 Wang Yi



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


Re: problem with mount_ntfs-3g

2007-11-29 Thread Yoshihiro Ota
This a bit off the topic; however, I pointed out the problem of this mount_XXX
behaviour quite long time ago.  It currently maintains a list of NON-supported
FS by nmount(2).  Instead, it's better to maintain a list of SUPPORTED FS by 
nmount.

In the current scheme, mount has to be aware of all the FSs that nmount(2) 
cannot
support.  In other words, if one attempts to add a new FS, he/she has to modify
mount(8) program.  That doesn't sound right, does it?

I attached the patch, again, if anyone is interested in commiting this fix.

Thanks,
Hiro

On Fri, 30 Nov 2007 11:18:08 +0800
Yi Wang [EMAIL PROTECTED] wrote:

 Yes, I think it does the trick.

 some words from mount(8):
 
 The default behavior of mount is to pass the -t option directly to the
 nmount(2) system call in the fstype option.
 However, for the following file system types: cd9660, mfs, msdosfs,
 nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs,
 mount will not call nmount(2) directly and will instead attempt to
 execute a program in /sbin/mount_XXX where XXX is replaced by the file
 system type name.
 
 according to this, your patch should works fine.
 
 I didn't test it yet because I delete /usr/obj before. So I'm build world now.
 
 I'll post the result when it finish.
 
 On 11/30/07, Suhaib . [EMAIL PROTECTED] wrote:
 
   - Original Message -
   From: Alejandro Pulver [EMAIL PROTECTED]
   To: Aryeh M. Friedman [EMAIL PROTECTED]
   Subject: Re: problem with mount_ntfs-3g
   Date: Thu, 29 Nov 2007 20:16:14 -0300
  
  
   On Thu, 29 Nov 2007 19:42:00 -0300
   Alejandro Pulver [EMAIL PROTECTED] wrote:
  
On Tue, 27 Nov 2007 09:35:48 -0500
Aryeh M. Friedman [EMAIL PROTECTED] wrote:
   
  Then, I execute this command:
  mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
  but is also says:
  mount: /dev/ad6s10 : Operation not supported by device
 
  Is this a bug of mount?
  I get exactly the same thing on -current AMD64.
 
  uname -a:
  FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 
  12:18:30
  CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
 
 Can't reproduce in my machine, please try with the latest version
(attached as shell archive).
   
  
   Sorry, it was stripped. It's available here:
  
   ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar
  
   Best Regards,
   Ale
signature.asc 
 
 
  I had the same problem on RELENG_7 and made a minor edit to mount
  for ntfs-3g to work. However,I have not had the time to investigate
  whether or not it is the correct solution, see the comment about
  nmount() in mount.c
 
  To try out the change apply the attached patch file from /usr/src,
  then cd to /usr/src/sbin/mount and run make. A quick test...
 
  # mount -t ntfs-3g -o ro /dev/da8s1 /mnt
  mount: /dev/da8s1 : Operation not supported by device
 
  # /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt
 
 
  --
  Suhaib
 
  --
  ___
  Surf the Web in a faster, safer and easier way:
  Download Opera 9 at http://www.opera.com
 
  Powered by Outblaze
 
 
 
 
 -- 
 Regards,
 Wang Yi
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Index: mount.c
===
RCS file: /home/ncvs/src/sbin/mount/mount.c,v
retrieving revision 1.92
diff -u -r1.92 mount.c
--- mount.c	14 Nov 2006 01:07:42 -	1.92
+++ mount.c	1 Feb 2007 05:25:55 -
@@ -133,18 +133,19 @@
 	 */
 	unsigned int i;
 	const char *fs[] = {
-	cd9660, mfs, msdosfs, nfs, nfs4, ntfs,
-	nwfs, nullfs, portalfs, smbfs, udf, umapfs,
-	unionfs,
+	ufs,
+	ext2fs,
+	devfs, fdescfs, procfs, linprocfs, linsysfs,
+	std,
 	NULL
 	};
 
 	for (i = 0; fs[i] != NULL; ++i) {
 		if (strcmp(vfstype, fs[i]) == 0)
-			return (1);
+			return (0);
 	}
 	
-	return (0);
+	return (1);
 }
 
 static int
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: problem with mount_ntfs-3g

2007-11-29 Thread Yi Wang
Yes, I think it does the trick.

some words from mount(8):

The default behavior of mount is to pass the -t option directly to the
nmount(2) system call in the fstype option.
However, for the following file system types: cd9660, mfs, msdosfs,
nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs,
mount will not call nmount(2) directly and will instead attempt to
execute a program in /sbin/mount_XXX where XXX is replaced by the file
system type name.

according to this, your patch should works fine.

I didn't test it yet because I delete /usr/obj before. So I'm build world now.

I'll post the result when it finish.

On 11/30/07, Suhaib . [EMAIL PROTECTED] wrote:

  - Original Message -
  From: Alejandro Pulver [EMAIL PROTECTED]
  To: Aryeh M. Friedman [EMAIL PROTECTED]
  Subject: Re: problem with mount_ntfs-3g
  Date: Thu, 29 Nov 2007 20:16:14 -0300
 
 
  On Thu, 29 Nov 2007 19:42:00 -0300
  Alejandro Pulver [EMAIL PROTECTED] wrote:
 
   On Tue, 27 Nov 2007 09:35:48 -0500
   Aryeh M. Friedman [EMAIL PROTECTED] wrote:
  
 Then, I execute this command:
 mount -t ntfs-3g -o ro /dev/ad6s10 /media/g
 but is also says:
 mount: /dev/ad6s10 : Operation not supported by device

 Is this a bug of mount?
 I get exactly the same thing on -current AMD64.

 uname -a:
 FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30
 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

Can't reproduce in my machine, please try with the latest version
   (attached as shell archive).
  
 
  Sorry, it was stripped. It's available here:
 
  ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar
 
  Best Regards,
  Ale
   signature.asc 


 I had the same problem on RELENG_7 and made a minor edit to mount
 for ntfs-3g to work. However,I have not had the time to investigate
 whether or not it is the correct solution, see the comment about
 nmount() in mount.c

 To try out the change apply the attached patch file from /usr/src,
 then cd to /usr/src/sbin/mount and run make. A quick test...

 # mount -t ntfs-3g -o ro /dev/da8s1 /mnt
 mount: /dev/da8s1 : Operation not supported by device

 # /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt


 --
 Suhaib

 --
 ___
 Surf the Web in a faster, safer and easier way:
 Download Opera 9 at http://www.opera.com

 Powered by Outblaze




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


Re: How to get portinstall to 'shut up' so I can run it in background

2007-11-29 Thread Clint Olsen
On Nov 27, Wes Morgan wrote:
 Why not just run the build inside a screen session? Getting disconnected 
 would have no effect on it then.

Thanks to Wes and Matthew for a terrific suggestion.  Screen just ain't for
80's work :)

-Clint
-- 
Clint Olsen. -- .  
clint at NULlsen dot net .'  ,-. `.
 ;_,' (   ;
I am Dick Lexic of Borg.  Prepare to be ass-laminated. `.``;'
-- Styx Allum  ` -- '  
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]