Re: urxvt mouse selection / links troubles

2013-01-23 Thread David Demelier
On 11/01/2013 15:12, Guy Brand wrote:
 Fabian Keil (freebsd-lis...@fabiankeil.de) on 11/01/2013 at 14:18 wrote:
 
 Hi
 
 I use rxvt-unicode for years, but these days I'm having trouble when
 selecting link texts, what does not work anymore :

 ...
 
 URxvt*font: xft:DejaVu Sans Mono:pixelsize=11
 URxvt*modifier:alt
 URxvt*urlLauncher: firefox
 
 The changelog of 9.16 says there is an incompatible change from version
 9.15: urlLauncher resource has been renamed to url-launcher.
 

Thanks! Didn't see this one, it works again :)

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


Re: urxvt mouse selection / links troubles

2013-01-11 Thread Fabian Keil
David Demelier demelier.da...@gmail.com wrote:

 I use rxvt-unicode for years, but these days I'm having trouble when
 selecting link texts, what does not work anymore :
 
 o clicking on the text to open the browser, using URxvt*urlLauncher: firefox
 o trouble when selecting text (sometimes it does not copy to clipboard)
 o trouble when selecting text bis, a large part of terminal is selected
 while I only tried to select a link.
 
 This is my config :
 
 URxvt*font: xft:DejaVu Sans Mono:pixelsize=11
 URxvt*modifier:alt
 URxvt*urlLauncher: firefox
 URxvt*matcher.button: 1
 URxvt*cursorColor: #ff
 URxvt*cursorBlink: false
 URxvt*intensityStyles: true
 URxvt*shading: 20
 URxvt*perl-ext-common: default,matcher
 URxvt*title: Terminal
 
 
 In this screenshot http://markand.malikania.fr/pics/selection.png I've
 tried to select the WWW link so I clicked near the http:// beginning and
 moving to the end of the link, and you can see what have been selected.

I'm seeing similar issues since the upgrade to rxvt-unicode-9.16.
However I changed some options at the same time, currently using:

fk@r500 ~ $cat /var/db/ports/rxvt-unicode/options 
# This file is auto-generated by 'make config'.
# Options for rxvt-unicode-9.16
_OPTIONS_READ=rxvt-unicode-9.16
_FILE_COMPLETE_OPTIONS_LIST=256_COLOR BACKSPACE_KEY COMBINING DELETE_KEY 
GDK_PIXBUF IMLOCALE_FIX ISO14755 MOUSEWHEEL NEXT_SCROLLBAR NOTIFY PERL 
RXVT_SCROLLBAR SMART_RESIZE UNICODE3 XIM XTERM_SCROLLBAR
OPTIONS_FILE_UNSET+=256_COLOR
OPTIONS_FILE_SET+=BACKSPACE_KEY
OPTIONS_FILE_SET+=COMBINING
OPTIONS_FILE_SET+=DELETE_KEY
OPTIONS_FILE_SET+=GDK_PIXBUF
OPTIONS_FILE_SET+=IMLOCALE_FIX
OPTIONS_FILE_SET+=ISO14755
OPTIONS_FILE_SET+=MOUSEWHEEL
OPTIONS_FILE_SET+=NEXT_SCROLLBAR
OPTIONS_FILE_UNSET+=NOTIFY
OPTIONS_FILE_UNSET+=PERL
OPTIONS_FILE_SET+=RXVT_SCROLLBAR
OPTIONS_FILE_SET+=SMART_RESIZE
OPTIONS_FILE_SET+=UNICODE3
OPTIONS_FILE_SET+=XIM
OPTIONS_FILE_SET+=XTERM_SCROLLBAR

I haven't tried tracking the problem down yet.

Fabian


signature.asc
Description: PGP signature


Re: urxvt mouse selection / links troubles

2013-01-11 Thread Guy Brand
Fabian Keil (freebsd-lis...@fabiankeil.de) on 11/01/2013 at 14:18 wrote:

Hi

  I use rxvt-unicode for years, but these days I'm having trouble when
  selecting link texts, what does not work anymore :
  
...

  URxvt*font: xft:DejaVu Sans Mono:pixelsize=11
  URxvt*modifier:alt
  URxvt*urlLauncher: firefox

The changelog of 9.16 says there is an incompatible change from version
9.15: urlLauncher resource has been renamed to url-launcher.

-- 
bug

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


urxvt mouse selection / links troubles

2013-01-10 Thread David Demelier
Hello,

I use rxvt-unicode for years, but these days I'm having trouble when
selecting link texts, what does not work anymore :

o clicking on the text to open the browser, using URxvt*urlLauncher: firefox
o trouble when selecting text (sometimes it does not copy to clipboard)
o trouble when selecting text bis, a large part of terminal is selected
while I only tried to select a link.

This is my config :

URxvt*font: xft:DejaVu Sans Mono:pixelsize=11
URxvt*modifier:alt
URxvt*urlLauncher: firefox
URxvt*matcher.button: 1
URxvt*cursorColor: #ff
URxvt*cursorBlink: false
URxvt*intensityStyles: true
URxvt*shading: 20
URxvt*perl-ext-common: default,matcher
URxvt*title: Terminal


In this screenshot http://markand.malikania.fr/pics/selection.png I've
tried to select the WWW link so I clicked near the http:// beginning and
moving to the end of the link, and you can see what have been selected.

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


Re: Unresolvable links

2012-05-03 Thread Conrad J. Sabatier
On Fri, 27 Apr 2012 21:59:08 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:

 Arising from a very useful link posted by Warren Block in another
 thread:
 
 http://forums.freebsd.org/showpost.php?p=163415postcount=17 ,
 
 I have been running libchk. It now gives the following (relevant)
 output:
 
 Unresolvable link(s) found in: /usr/local/lib/libreoffice/program/
 configmgr.uno.so
 
   libxmlreader.so
 
 Unresolvable link(s) found
 in: /usr/local/lib/firefox/sdk/lib/libxul.so
 
   libmozsqlite3.so
 
 Unresolvable link(s) found in: /usr/local/lib/firefox/components/
 libmozgnome.so
 
   libmozalloc.so
 
   libxpcom.so
 
 Unresolvable link(s) found in: /usr/local/lib/firefox/components/
 libdbusservice.so
 
   libmozalloc.so
 
   libxpcom.so
 
 Unresolvable link(s) found in: /usr/local/lib/firefox/components/
 libbrowsercomps.so
 
   libmozalloc.so
 
   libxul.so
 
   libxpcom.so
 
 All these shared object files are present in one lib or another, so
 my suspicion is that somehow the 'parent' shared objects are looking
 for them in the wrong place.
 
 Any ideas on fixing this please?

Unresolved symbol warning are normal for the mozilla stuff, since they
use their own non-standard library paths.  Just disregard them.

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Unresolvable links

2012-04-27 Thread Walter Hurry
Arising from a very useful link posted by Warren Block in another thread:

http://forums.freebsd.org/showpost.php?p=163415postcount=17 ,

I have been running libchk. It now gives the following (relevant) output:

Unresolvable link(s) found in: /usr/local/lib/libreoffice/program/
configmgr.uno.so

libxmlreader.so

Unresolvable link(s) found in: /usr/local/lib/firefox/sdk/lib/libxul.so

libmozsqlite3.so

Unresolvable link(s) found in: /usr/local/lib/firefox/components/
libmozgnome.so

libmozalloc.so

libxpcom.so

Unresolvable link(s) found in: /usr/local/lib/firefox/components/
libdbusservice.so

libmozalloc.so

libxpcom.so

Unresolvable link(s) found in: /usr/local/lib/firefox/components/
libbrowsercomps.so

libmozalloc.so

libxul.so

libxpcom.so

All these shared object files are present in one lib or another, so my 
suspicion is that somehow the 'parent' shared objects are looking for 
them in the wrong place.

Any ideas on fixing this please?

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


Links the command line browser

2012-04-05 Thread Fbsd8
My mouse works as expected for copy and paste function on the xterm 
console. But when I launch the links command line browser the mouse 
pointer is OVER active. I move the mouse a hair and the pointer on the 
links browser screen moves 2 inches. Is there some way in links to 
control the mouse pointer sensitivity?

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


Re: Links the command line browser

2012-04-05 Thread Chad Perrin
On Thu, Apr 05, 2012 at 09:33:43AM -0400, Fbsd8 wrote:
 My mouse works as expected for copy and paste function on the xterm
 console. But when I launch the links command line browser the
 mouse pointer is OVER active. I move the mouse a hair and the
 pointer on the links browser screen moves 2 inches. Is there some
 way in links to control the mouse pointer sensitivity?

I haven't used links in a long time, so I'm not sure, but it sounds
like there is.

You may want to have a look at other console based browsers as
alternatives, if links does not behave as you prefer.  Have you tried
w3m or one of its enhanced brethren?

/usr/ports/www/w3m
/usr/ports/www/w3m-img
/usr/ports/www/w3m-m17n
/usr/ports/www/w3m-m17n-img

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Links the command line browser

2012-04-05 Thread Peter Vereshagin
Hello.

2012/04/05 09:33:43 -0400 Fbsd8 fb...@a1poweruser.com = To FreeBSD Questions 
:
F My mouse works as expected for copy and paste function on the xterm 
F console. But when I launch the links command line browser the mouse 
F pointer is OVER active. I move the mouse a hair and the pointer on the 
F links browser screen moves 2 inches. Is there some way in links to 
F control the mouse pointer sensitivity?

If you use www/links port from X11 then you may want to use the '-g' switch for
it. It makes the links to launch in a separate x11 window without (well...
mostly) problems with mouse pointer.

Of course you are welcome to try the www/links-hacked port especially if that
is your case.

Anyway www/elinks port possess far more features for ttyvX/xterm than
www/links, it's a rather nice tool, too.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


broken links found on your web site

2011-01-12 Thread Jane Formoso
Hello,

I just came from visiting your website (
http://www.freebsd.org/fr/gallery/pgallery.html)
and found a few links that aren't working and thought you should know:

404 Not Found - http://www.peacesex.com
404 Not Found - http://www.whizkidtech.net/cgi-bin/tutorial/
404 Not Found - http://c36196-a.frmt1.sfba.home.com/~alexw/

While you are in fixing these links would you add a link to my web site as
well?
My site is: http://www.couponsaver.org - 15,000+ coupons and promotional
codes.

 Thanks and talk to you soon!

Jane (in snowy Cleveland, Ohio)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD SMP website stale links update?

2010-12-12 Thread Venkatesh Srinivas

Hi,

http://www.freebsd.org/smp/ has a few stale links:

* Hiten Pandya's SMP synchronization rules
points to: http://storm.uk.freebsd.org/~hiten/smp_synch_rules.html ;
it should perhaps point to 
http://people.freebsd.org/~hmp/stuff/docs/smp_synch_rules.html ?


5 July 2000
* Jake Burkholder put an updated patch here
points to an inaccessible http://people.freebsd.org/~jake/smpng.diff
I've been able to track down a copy and have posted it at
http://acm.jhu.edu/~me/smpng.diff ; perhaps it should have a home on 
freebsd.org?


3 August 2000
'Patches with functional heavy-weight thread for i386...' pointed at
http://people.freebsd.org/~grog/patches4.gz , also not accesible;
I've put a copy at http://acm.jhu.edu/~me/patches4.gz ; should this too 
find a permananent home?


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


Prevent symbolic links in pure-ftp!

2010-09-27 Thread Phan Quoc Hien
hi!

How to prevent symbolic links in pure-ftp for security issuse?

User can access outsite chroot by create symlink: ln -s / abc = and user
 can change dir to /


Anyone can solve this problem?
Thanks.

-- 
Mr.Hien
E-mail: phanquoch...@gmail.com
Website: www.mrhien.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Prevent symbolic links in pure-ftp!

2010-09-27 Thread Joshua Isom

On 9/27/2010 12:00 PM, Phan Quoc Hien wrote:

hi!

How to prevent symbolic links in pure-ftp for security issuse?

User can access outsite chroot by create symlink: ln -s / abc =  and user

can change dir to /



Anyone can solve this problem?
Thanks.



man 8 jail

Jails limit file system access, device access, and kernel access.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Prevent symbolic links in pure-ftp!

2010-09-27 Thread Dick Hoogendijk

 On 27-9-2010 21:07, Joshua Isom wrote:

On 9/27/2010 12:00 PM, Phan Quoc Hien wrote:

hi!

How to prevent symbolic links in pure-ftp for security issuse?

User can access outsite chroot by create symlink: ln -s / abc =  and 
user

can change dir to /



Anyone can solve this problem?
Have you read the manual for pure-ftpd? Symbolic link following can be 
turned off completely if you so wish, but I do not want to do your 
homework. Sorry.

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


Re: livefs hard links

2010-07-08 Thread Anonymous
Warren Block wbl...@wonkity.com writes:

 The FreeBSD livefs ISO filesystem hides hard links, so they can't be
 accurately copied.

Use `tar cf - | tar xf -' to copy them.


 Is relinking nearly everything in /rescue enough, or are there other
 former hard links waiting to pop up?

There are some hardlinks in /bin, /sbin, /usr/bin, /usr/sbin dirs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: livefs hard links

2010-07-08 Thread Warren Block

On Thu, 8 Jul 2010, Anonymous wrote:


Warren Block wbl...@wonkity.com writes:


The FreeBSD livefs ISO filesystem hides hard links, so they can't be
accurately copied.


Use `tar cf - | tar xf -' to copy them.


That was my first thought, too.  Well, second thought, after 'rsync 
-aH'.


But the mounted ISO filesystem doesn't show hard links as hard links:

# ls -li /mnt/rescue
416796 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 [
399564 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atacontrol
399690 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atmconfig
399816 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 badsect
...

And rsync or tar never see a hard link to copy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: livefs hard links

2010-07-08 Thread Anonymous
Warren Block wbl...@wonkity.com writes:

 On Thu, 8 Jul 2010, Anonymous wrote:

 Warren Block wbl...@wonkity.com writes:

 The FreeBSD livefs ISO filesystem hides hard links, so they can't be
 accurately copied.

 Use `tar cf - | tar xf -' to copy them.

 That was my first thought, too.  Well, second thought, after 'rsync
 -aH'.

 But the mounted ISO filesystem doesn't show hard links as hard links:

 # ls -li /mnt/rescue
 416796 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 [
 399564 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atacontrol
 399690 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atmconfig
 399816 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 badsect
 ...

414 is the number of hardlinks. You can as well try to use iso9660
reader in libarchive, e.g.

  $ bsdtar xvf /dev/cd0 --include rescue/\*
  $ bsdtar xvf /path/to/blah.iso --include rescue/\*


 And rsync or tar never see a hard link to copy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: livefs hard links

2010-07-08 Thread Dan Nelson
In the last episode (Jul 08), Warren Block said:
 On Thu, 8 Jul 2010, Anonymous wrote:
  Warren Block wbl...@wonkity.com writes:
  The FreeBSD livefs ISO filesystem hides hard links, so they can't be
  accurately copied.
 
  Use `tar cf - | tar xf -' to copy them.
 
 That was my first thought, too.  Well, second thought, after 'rsync -aH'.
 
 But the mounted ISO filesystem doesn't show hard links as hard links:
 
 # ls -li /mnt/rescue
 416796 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 [
 399564 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atacontrol
 399690 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atmconfig
 399816 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 badsect
 ...

It looks like they're halfway hard links :)  The link count is 414 for all
those files so you know they are hardlinks, but because the inode number is
different, there's no way to match up which links correspond to the same
file.  Each of those files might be unique, just hardlinked to the same
names in 413 other identical subdirectories.  Unlikely, but possible :)
That's probably why tar and rsync can't recreate the links on the
destination.  

I don't think the ISO filesytem format even has the concept of inode
numbers, but according to
http://lists.freebsd.org/pipermail/freebsd-fs/2006-October/002338.html ,
mkisofs from the cdrtools port should create hardlinked files with the same
starting LBA number, and assuming FreeBSD's cd9660 driver uses that value
for its inode number, everything should work.  Either the ISOs aren't built
with mkisofs, or the driver doesn't use the LBA number for the inode number.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: livefs hard links

2010-07-08 Thread Warren Block

On Thu, 8 Jul 2010, Anonymous wrote:


But the mounted ISO filesystem doesn't show hard links as hard links:

# ls -li /mnt/rescue
416796 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 [
399564 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atacontrol
399690 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atmconfig
399816 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 badsect
...


414 is the number of hardlinks.


Yes, but I was (poorly) pointing out the differing inode numbers.


You can as well try to use iso9660 reader in libarchive, e.g.

 $ bsdtar xvf /dev/cd0 --include rescue/\*
 $ bsdtar xvf /path/to/blah.iso --include rescue/\*


Much better!  bsdtar recreates the hard links.  It has a problem with 
only one directory on the ISO:


# bsdtar xpf /tmp/FreeBSD-8.1-PRERELEASE-201006-i386-livefs.iso -C /tmp/freebsd/
bsdtar: Ignoring out-of-order file @340a6980 
(usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288  5138432
bsdtar: Ignoring out-of-order file @340a6980 
(usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288  5138432
bsdtar: Ignoring out-of-order file @340a6980 
(usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288  5138432
bsdtar: Ignoring out-of-order file @340a6a80 
(usr/include/c++/4.2/ext/pb_ds/detail/bin_search_tree_) 4878336  5138432
bsdtar: Ignoring out-of-order file @340a6b00 
(usr/include/c++/4.2/ext/pb_ds/detail/binary_heap_) 4880384  5138432
bsdtar: Ignoring out-of-order file @340a6b80 
(usr/include/c++/4.2/ext/pb_ds/detail/binomial_heap_) 4882432  5138432
...

Hard to tell if that's the ISO or a bug in libarchive.

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


livefs hard links

2010-07-07 Thread Warren Block
The FreeBSD livefs ISO filesystem hides hard links, so they can't be 
accurately copied.


Is relinking nearly everything in /rescue enough, or are there other 
former hard links waiting to pop up?

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


Re: perl links

2010-04-10 Thread Anton Yuzhaninov
On Sat, 10 Apr 2010 07:14:48 +0800, Aiza wrote:
A When installing perl i see 2 links between /usr/local/bin and /usr/bin. 
A Is this still required or is it something left over from when perl was 
A part of the base system?
A 
A symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
A symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5

most perl scripts begins with

#!/usr/bin/perl

this is common convention (also outside *BSD world)

-- 
WBR,
 Anton Yuzhaninov

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


Re: perl links

2010-04-10 Thread Randal L. Schwartz
 Anton == Anton Yuzhaninov cit...@citrin.ru writes:


Anton most perl scripts begins with

Anton #!/usr/bin/perl

Anton this is common convention (also outside *BSD world)

In fact, it's the recommendation from the original Camel book in 1990
(which I wrote, but the kids forget that :) that no matter where you
install Perl, you always link/symlink /usr/bin/perl so that scripts can
safely use shebang.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: perl links

2010-04-10 Thread parv
in message 86zl1btumw@red.stonehenge.com,
wrote Randal L. Schwartz thusly...

  Anton == Anton Yuzhaninov cit...@citrin.ru writes:


 Anton most perl scripts begins with

 Anton #!/usr/bin/perl

 Anton this is common convention (also outside *BSD world)

 In fact, it's the recommendation from the original Camel book in 1990
 (which I wrote, but the kids forget that :) that no matter where you
 install Perl, you always link/symlink /usr/bin/perl so that scripts can
 safely use shebang.

So, you are the guilty one.  By that logic, every software should
assume some location, so that people can have fun with link farm
maintainance.


  - parv

-- 

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


Re: perl links

2010-04-10 Thread Randal L. Schwartz
 parv == parv  p...@pair.com writes:

parv So, you are the guilty one.  By that logic, every software should
parv assume some location, so that people can have fun with link farm
parv maintainance.

Keep in mind, the scene has changed in 20 years. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: perl links

2010-04-10 Thread Charlie Kester

On Sat 10 Apr 2010 at 09:26:33 PDT Randal L. Schwartz wrote:

parv == parv  p...@pair.com writes:


parv So, you are the guilty one.  By that logic, every software should
parv assume some location, so that people can have fun with link farm
parv maintainance.

Keep in mind, the scene has changed in 20 years. :)


Has your advice on this point also changed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


perl links

2010-04-09 Thread Aiza
When installing perl i see 2 links between /usr/local/bin and /usr/bin. 
Is this still required or is it something left over from when perl was 
part of the base system?


symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: perl links

2010-04-09 Thread Chuck Swiger
On Apr 9, 2010, at 4:14 PM, Aiza wrote:
 When installing perl i see 2 links between /usr/local/bin and /usr/bin. Is 
 this still required or is it something left over from when perl was part of 
 the base system?
 
 symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
 symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5

This is to compensate for Perl scripts which assume they know where the path to 
the interpreter is, rather than using env

Regards,
-- 
-Chuck

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


Re: perl links

2010-04-09 Thread Erik Trulsson
On Sat, Apr 10, 2010 at 07:14:48AM +0800, Aiza wrote:
 When installing perl i see 2 links between /usr/local/bin and /usr/bin. 
 Is this still required or is it something left over from when perl was 
 part of the base system?
 
 symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl
 symlinking /usr/local/bin/perl5.8.9 and /usr/bin/perl5

It is still required (at least the first one.)  It is there to be
compatible with a very large number of existing Perl scripts which
assume that the Perl interpreter can be found as /usr/bin/perl 

This has nothing do to with when Perl was part of the base system - it
is a Perl convention which was established before FreeBSD (or Linux for
that matter) even existed.




-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-25 Thread Kalle Møller
Spot on.. My server is ipv6 ready.. (We are the hosting department of the
ISP if we should examine all ticket we get with.. Its the networks fault we
wouldn't do anything else :D )

And fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 is working fine.
So it must be that it tries ipv6 first.

Well thank you , I'm just gonna add the ipv6 interface after I've installed
vim.


On Sat, Jul 25, 2009 at 4:00 AM, Steve Bertrand st...@ibctech.ca wrote:

 Kalle Møller wrote:
  Well any other port works flawless. It's only the vim ports (other =
 screen
  sudo wget bash apache22 mysql-server subversion etc)
 
  And the ISP is not the problem - I works for them in the network
 department
  (its on a 10 G link :D )
 
  I just made a make distclean and make again
 
  = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
  = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
  fetch: transfer timed out
  = Attempting to fetch from
 http://mirrors.24-7-solutions.net/pub/vim/unix/.
  vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
  00m00s
 
  This takes 2-3 min And the 24-7 site only have to around 190  the
 last
  40 needs to wait for both primary and 24-7 to timeout before the 3rd site
  delivers

 I don't know which network department you work in at your ISP, but in
 this ISP's network department, we *never* disclaim the possibility of
 having an issue until the problem has been resolved, and we know
 *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive
 to blind claims that it's not our fault ;)

  Looked a little deeper... It seems like I can
 
  wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
  But i cannont
 
  fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
  wget goes smoothly but fetch times out

 Both work here:

 # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 7.2.002   100% of 1462  B 9327 kBps

 # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 [...snip...]
 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462]

 However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch
 and wget time-out when trying to reach it over IPv6. eg:

 # wget -6 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 --2009-07-24 22:02:13--  http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 Resolving ftp.vim.org... 2001:610:1:80aa:192:87:102:42,
 2001:610:1:80aa:192:87:102:43
 Connecting to ftp.vim.org|2001:610:1:80aa:192:87:102:42|:80... connected.
 HTTP request sent, awaiting response...
 ^C

 Are you IPv6 ready? If not, do you have v6 enabled in some fashion that
 could be interfering with proper Internet communication?

 Steve











-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-25 Thread Mel Flynn
On Saturday 25 July 2009 02:29:30 Kalle Møller wrote:
 Spot on.. My server is ipv6 ready.. (We are the hosting department of the
 ISP if we should examine all ticket we get with.. Its the networks fault we
 wouldn't do anything else :D )

 And fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002 is working
 fine. So it must be that it tries ipv6 first.

/usr/ports/Mk/bsd.port.mk states:
# FETCH_ARGS- Arguments to ftp/http fetch command.
# Default: -ApRr

Override it in /etc/make.conf:
FETCH_ARGS=-4ApRr

Or one could set it in your shell environment for the duration that IPv6 is 
not working.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


vim port have a lot of broken links ??

2009-07-24 Thread Kalle Møller
When I try to install vim from ports it tries 4-5 sites which all have to
time out... and with a 200 files.. thats a lot of timeouts.. Who should I
poke to, so the mirrors would be updated ??

-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-24 Thread Bob Hall
On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote:
 When I try to install vim from ports it tries 4-5 sites which all have to
 time out... and with a 200 files.. thats a lot of timeouts.. Who should I
 poke to, so the mirrors would be updated ??
 
 -- 
 
 Med Venlig Hilsen

Hi Kalle,

If several servers are timing out, there's a good chance that the
problem is at your end. Either you or your ISP might be having a
problem. If you haven't changed anything (hardware, software,
configuration, ISP), then the problem is likely to be temporary.

If the problem is a spike in activity that's overburdoning the servers,
the following may help:
/usr/ports/ports-mgmt/fastest-sites

Med venlige hilser til deg ogsaa.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-24 Thread Kalle Møller
Well any other port works flawless. It's only the vim ports (other = screen
sudo wget bash apache22 mysql-server subversion etc)

And the ISP is not the problem - I works for them in the network department
(its on a 10 G link :D )

I just made a make distclean and make again

= vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
= Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
fetch: transfer timed out
= Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
00m00s

This takes 2-3 min And the 24-7 site only have to around 190  the last
40 needs to wait for both primary and 24-7 to timeout before the 3rd site
delivers


Looked a little deeper... It seems like I can

wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

But i cannont

fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

wget goes smoothly but fetch times out




On Sat, Jul 25, 2009 at 1:11 AM, Bob Hall rjh...@gmail.com wrote:

 On Fri, Jul 24, 2009 at 09:13:43PM +0200, Kalle Mller wrote:
  When I try to install vim from ports it tries 4-5 sites which all have to
  time out... and with a 200 files.. thats a lot of timeouts.. Who should I
  poke to, so the mirrors would be updated ??
 
  --
 
  Med Venlig Hilsen

 Hi Kalle,

 If several servers are timing out, there's a good chance that the
 problem is at your end. Either you or your ISP might be having a
 problem. If you haven't changed anything (hardware, software,
 configuration, ISP), then the problem is likely to be temporary.

 If the problem is a spike in activity that's overburdoning the servers,
 the following may help:
 /usr/ports/ports-mgmt/fastest-sites

 Med venlige hilser til deg ogsaa.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: vim port have a lot of broken links ??

2009-07-24 Thread Steve Bertrand
Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)
 
 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )
 
 I just made a make distclean and make again
 
 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
 vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
 00m00s
 
 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers

I don't know which network department you work in at your ISP, but in
this ISP's network department, we *never* disclaim the possibility of
having an issue until the problem has been resolved, and we know
*exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive
to blind claims that it's not our fault ;)

 Looked a little deeper... It seems like I can
 
 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
 But i cannont
 
 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 
 wget goes smoothly but fetch times out

Both work here:

# fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
7.2.002   100% of 1462  B 9327 kBps

# wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
[...snip...]
2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462]

However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch
and wget time-out when trying to reach it over IPv6. eg:

# wget -6 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

--2009-07-24 22:02:13--  http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
Resolving ftp.vim.org... 2001:610:1:80aa:192:87:102:42,
2001:610:1:80aa:192:87:102:43
Connecting to ftp.vim.org|2001:610:1:80aa:192:87:102:42|:80... connected.
HTTP request sent, awaiting response...
^C

Are you IPv6 ready? If not, do you have v6 enabled in some fashion that
could be interfering with proper Internet communication?

Steve










smime.p7s
Description: S/MIME Cryptographic Signature


Re: vim port have a lot of broken links ??

2009-07-24 Thread Steve Bertrand
Steve Bertrand wrote:
 Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)

 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )

 I just made a make distclean and make again

 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
 vim-7.2.tar.bz2   100% of 7034 kB  254 kBps
 00m00s

 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers
 
 I don't know which network department you work in at your ISP, but in
 this ISP's network department, we *never* disclaim the possibility of
 having an issue until the problem has been resolved, and we know
 *exactly* _what_ it was, and _where_ it was (yes, I'm a little sensitive
 to blind claims that it's not our fault ;)
 
 Looked a little deeper... It seems like I can

 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 But i cannont

 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 wget goes smoothly but fetch times out
 
 Both work here:
 
 # fetch -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 7.2.002   100% of 1462  B 9327 kBps
 
 # wget -4 http://ftp.vim.org/pub/vim/patches/7.2/7.2.002
 [...snip...]
 2009-07-24 21:52:01 (113 MB/s) - `7.2.002.1' saved [1462/1462]
 
 However, it seems as though ftp.vim.org is IPv6 enabled, but both fetch
 and wget time-out when trying to reach it over IPv6.

To elaborate, the ftp.vim.org is reachable via IPv6:

# ping6 ftp.vim.org
PING6(56=40+8+8 bytes) 2607:f118::b6 -- 2001:610:1:80aa:192:87:102:42
16 bytes from 2001:610:1:80aa:192:87:102:42, icmp_seq=0 hlim=55
time=113.550 ms
^C

So that means that the issue is likely due to the FTP application's
interaction with v6 at the network layer that is the issue.

I've found this to be common, and very acceptable as IPv6 adoption moves
forward.

I'd suspect that your machine is trying v6 first, and failing after a
timeout.

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: vim port have a lot of broken links ??

2009-07-24 Thread Mel Flynn
On Friday 24 July 2009 17:37:37 Kalle Møller wrote:
 Well any other port works flawless. It's only the vim ports (other = screen
 sudo wget bash apache22 mysql-server subversion etc)

 And the ISP is not the problem - I works for them in the network department
 (its on a 10 G link :D )

 I just made a make distclean and make again

 = vim-7.2.tar.bz2 doesn't seem to exist in /tmp/ports/distfiles/vim.
 = Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
 fetch: transfer timed out
 = Attempting to fetch from
 http://mirrors.24-7-solutions.net/pub/vim/unix/. vim-7.2.tar.bz2   
100% of 7034 kB  254 kBps 00m00s

 This takes 2-3 min And the 24-7 site only have to around 190  the last
 40 needs to wait for both primary and 24-7 to timeout before the 3rd site
 delivers


 Looked a little deeper... It seems like I can

 wget http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 But i cannont

 fetch http://ftp.vim.org/pub/vim/patches/7.2/7.2.002

 wget goes smoothly but fetch times out

Check your environment for the HTTP_PROXY value, aside from IPv6 like Steve 
said.
Additionally, you can sort various master sites to your preferences:
- /usr/ports/Mk/bsd.sites.mk lists various master sites for ports that have 
many.
- In there we see:
  .if !defined(IGNORE_MASTER_SITE_VIM)
MASTER_SITE_VIM+= \
http://ftp.vim.org/pub/vim/unix/ \
http://mirrors.24-7-solutions.net/pub/vim/unix/ \
  ... etc ..
- So we can put in /etc/make.conf:
IGNORE_MASTER_SITE_VIM=yes
MASTER_SITE_VIM=list_of_sites_that_work_best

I regularly change this master sites based on geographical location.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Copy directory tree as hard links...

2009-07-13 Thread Modulok
What is the easiest way to copy a directory tree as hard links?

Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD
cp(1) manual page says to use pax or tar, but how do I get the ability
to rename the file without first creating a destination file? I don't
want an archive, just regular directory tree sitting right next to the
original, but with a new name ... consisting of of hard links back to
the original. For example on linux I could do something like:

$ ls
foo/

$ cp -al foo bar

The result would be a new copy of foo, which takes up no additional
space, as all files share the same inodes. Is there an easy way to do
this on FreeBSD?

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


Re: Copy directory tree as hard links...

2009-07-13 Thread Matthew Seaman

Modulok wrote:

What is the easiest way to copy a directory tree as hard links?

Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD
cp(1) manual page says to use pax or tar, but how do I get the ability
to rename the file without first creating a destination file? I don't
want an archive, just regular directory tree sitting right next to the
original, but with a new name ... consisting of of hard links back to
the original. For example on linux I could do something like:

$ ls
foo/

$ cp -al foo bar

The result would be a new copy of foo, which takes up no additional
space, as all files share the same inodes. Is there an easy way to do
this on FreeBSD?


cpio(1)

Unfortunately the man page is pretty useless, and you have to hunt through
the info page instead.  But something like this should do what you want:

   # cd /some/dir
   # find . -depth -type f -print0 | cpio -0pdl /other/dir

It's the 'l' (link) option that achieves the desired effect. Note: this should
link only files but it will create a parallel structure of sub-directories, so
it will use up a bit of space.

Actually, now I peruse the man page, pax(1) has very similar functionality,
and you could do something like this:

   # pax -rwl /some/dir /other/dir

You might also consider using nullfs mounts. In /etc/fstab:

   /some/dir /other/dir nullfs rw 0 0

See mount_nullfs(8).

Cheers,

Matthew
--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Copy directory tree as hard links...

2009-07-13 Thread Mel Flynn
On Monday 13 July 2009 00:17:14 Matthew Seaman wrote:
 Modulok wrote:
  What is the easiest way to copy a directory tree as hard links?
 
  Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD
  cp(1) manual page says to use pax or tar, but how do I get the ability
  to rename the file without first creating a destination file? I don't
  want an archive, just regular directory tree sitting right next to the
  original, but with a new name ... consisting of of hard links back to
  the original. For example on linux I could do something like:
 
  $ ls
  foo/
 
  $ cp -al foo bar
 
  The result would be a new copy of foo, which takes up no additional
  space, as all files share the same inodes. Is there an easy way to do
  this on FreeBSD?

 cpio(1)

snip

 You might also consider using nullfs mounts. In /etc/fstab:

 /some/dir /other/dir nullfs rw 0 0

 See mount_nullfs(8).

There's one important difference there:
rm bar/baz disconnects the hardlink, while with nullfs both foo/baz and 
bar/baz are gone (assuming rw mount). unionfs would replicate the hardlink 
behavior with quite a few caveats.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copy directory tree as hard links...

2009-07-13 Thread Ivan Voras

Modulok wrote:

What is the easiest way to copy a directory tree as hard links?

Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD


It's also present in FreeBSD:

 -lCreate hard links to regular files in a hierarchy instead of 
copy-

   ing.

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


Re: Copy directory tree as hard links...

2009-07-13 Thread Modulok
Ivan,

Evidently that was introduced in 6.2-RELEASE:

The cp(1) utility now supports a -l option, which causes it to create
hardlinks to the source files instead of copying them.

Thanks for posting and subsequently drawing my attention to it.

Time to upgrade I suppose :)
-Modulok-

On 7/13/09, Ivan Voras ivo...@freebsd.org wrote:
 Modulok wrote:
 What is the easiest way to copy a directory tree as hard links?

 Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD

 It's also present in FreeBSD:

   -lCreate hard links to regular files in a hierarchy instead of
 copy-
 ing.

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

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


links for hal and hplip

2009-06-23 Thread Andrew Gould
For those of you, like myself, struggling with hal and printing
(separate issues), check out the links below.

You will note that the freebsd gnome page is at freebsd.org, but the
freebsd kde page is at freebsd.kde.org.  The hplip information at the
kde site is not specific to kde.  The hal faq at the gnome page has
some information that is not specific to gnome.


gnome:  http://www.freebsd.org/gnome
hal:http://www.freebsd.org/gnome/docs/halfaq.html
kde:   http://freebsd.kde.org
hplip:  http://freebsd.kde.org/howtos/hplip.php


Best of luck,

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


Re: Links Exhange Invitation Letter

2009-05-22 Thread Stanley Lee
Dear Webmaster,

I am seeking out possible link partners that our visitors would be interesting 
in visiting. I could say that I visited your website and really liked the 
article that was written about treadmills. Your website seems like it has many 
excellent articles  that I've found your website to be a very good fit for our 
visitors. I have already gone ahead and added your link to our website at:
http://www.suntechpro.com

I am contacting you to see if it is ok to have done so. Also, I would like to 
ask if you
mind linking back to us? If so, please use the linking details below and send 
me the
location of our link on your website.

Here is our linking details:
Title: USB Bluetooth | NDSL PSP Wii | DSTTi | Card Reader | iPod | iPhone | 
cable adpater | Computer accessory supplier.
Description: iPhone  iPod  PSP  NDSL  Wii DSTTI CardReader and USB bluetooth 
Device
URL: http://www.suntechpro.com

We've got several PR6 to 9 websites, so we expect this site to become at least a
PR4-5 within 1 month and will eventually become a 6 or 7 in 2-3 months.

I hope this can be a way for us to benefit our visitors with excellent content. 

Hope to hear from you soon.

Best Regards,
Stanley Lee
www.suntechpro.com


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


links vs real directories

2009-03-16 Thread John Almberg
I always thought that links to real directories were pretty much the  
same as real directories, but I've just discovered a situation where  
they are not and I'm wondering if I'm doing something wrong...


I have a Ruby on Rails application running on a FreeBSD server. All  
Rails apps use the same directory structure, that consists of an  
application directory, plus a number of subdirectories. One of these  
sub directories is called 'config'.


I would like to move this config directory out of the main Rails app  
directory, and then add a link from the app directory to the moved  
config directory.


so:

app -- config

will become

app -- config(link) -- config

Basically, what I'm doing is:

cd ~/app # now in directory with real 'config' dir
mv config ~/shared/config
ln -s ~/shared/config config

That moves the directory and creates a functional link to it (I  
tested it), but Rails doesn't like it and refuses to run the app. The  
permissions are correct, I believe:


[mas...@on:current] ls -l
total 34
... snip ...
drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
master/shared/config

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At least  
not the way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set  
me straight, I'd appreciate it.


Thank: John
 
___

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


Re: links vs real directories

2009-03-16 Thread Erik Trulsson
On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:
 I always thought that links to real directories were pretty much the  
 same as real directories, but I've just discovered a situation where  
 they are not and I'm wondering if I'm doing something wrong...

A *soft* link to a directory entry (be it a directory or a file or something
else) is not quite equivalent to the original entry since they are easily
distinguished and some programs do treat softlinks differently from other 
targets.

A hardlink to a file is exactly equivalent to the original (since the original
directory entry is itself a hardlink).  The system does not however allow
you to create hardlinks to directories since it is far too easy to
make Very Bad Things happen that way.


 
 I have a Ruby on Rails application running on a FreeBSD server. All  
 Rails apps use the same directory structure, that consists of an  
 application directory, plus a number of subdirectories. One of these  
 sub directories is called 'config'.
 
 I would like to move this config directory out of the main Rails app  
 directory, and then add a link from the app directory to the moved  
 config directory.
 
 so:
 
 app -- config
 
 will become
 
 app -- config(link) -- config
 
 Basically, what I'm doing is:
 
 cd ~/app # now in directory with real 'config' dir
 mv config ~/shared/config
 ln -s ~/shared/config config
 
 That moves the directory and creates a functional link to it (I  
 tested it), but Rails doesn't like it and refuses to run the app. The  
 permissions are correct, I believe:
 
 [mas...@on:current] ls -l
 total 34
 ... snip ...
 drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
 drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
 lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
 master/shared/config
 drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
 etc...
 
 
 So, I guess a link is NOT exactly equivalent to a directory. At least  
 not the way I am doing it.
 
 I'm guessing I'm making a real newbie mistake, so if anyone can set  
 me straight, I'd appreciate it.
 
 Thank: John
   

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:22 AM, John Almberg wrote:

I always thought that links to real directories were pretty much  
the same as real directories, but I've just discovered a situation  
where they are not and I'm wondering if I'm doing something wrong...


I have a Ruby on Rails application running on a FreeBSD server. All  
Rails apps use the same directory structure, that consists of an  
application directory, plus a number of subdirectories. One of  
these sub directories is called 'config'.


I would like to move this config directory out of the main Rails  
app directory, and then add a link from the app directory to the  
moved config directory.


so:

app -- config

will become

app -- config(link) -- config

Basically, what I'm doing is:

cd ~/app # now in directory with real 'config' dir
mv config ~/shared/config
ln -s ~/shared/config config

That moves the directory and creates a functional link to it (I  
tested it), but Rails doesn't like it and refuses to run the app.  
The permissions are correct, I believe:


[mas...@on:current] ls -l
total 34
... snip ...
drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
master/shared/config

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At  
least not the way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set  
me straight, I'd appreciate it.


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


A little more information on this... from the Rails log, I can see  
that a Ruby script in the config directory cannot load ('require') a  
needed file because it can't find it:


/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  
`gem_original_require': no such file to load -- application  
(MissingSource File)


It looks like this require statement is using a relative path, like  
'../path/to/file'. Does '..' not work properly with a soft link? In  
other words, '..', should mean ~/app, but since the config directory  
is really in '~/shared', perhaps '..' translates to '~/shared'? That  
would cause the problem finding the file.


Is there a way around this problem?

Digging in man ls, right now..

-- John

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


Re: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:


On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

I always thought that links to real directories were pretty much the
same as real directories, but I've just discovered a situation where
they are not and I'm wondering if I'm doing something wrong...


A *soft* link to a directory entry (be it a directory or a file or  
something
else) is not quite equivalent to the original entry since they are  
easily
distinguished and some programs do treat softlinks differently from  
other

targets.


I can see that, now... If I create a soft link to ~/shared/config,  
and then cd into the directory, when I type 'ls ..', I get the  
listing for ~/shared, not ~/app.


Bummer...

I've just dug through man ln, and don't see any obvious solution.  
Since this must be a problem for anyone who wants to do something  
like this, I guess I am taking the wrong approach, altogether.


Will have to re-think this

smell of burning rubber commences...

-- John

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


Re: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:47 AM, John Almberg wrote:



On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:


On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

I always thought that links to real directories were pretty much the
same as real directories, but I've just discovered a situation where
they are not and I'm wondering if I'm doing something wrong...


A *soft* link to a directory entry (be it a directory or a file or  
something
else) is not quite equivalent to the original entry since they are  
easily
distinguished and some programs do treat softlinks differently  
from other

targets.


I can see that, now... If I create a soft link to ~/shared/config,  
and then cd into the directory, when I type 'ls ..', I get the  
listing for ~/shared, not ~/app.


Bummer...

I've just dug through man ln, and don't see any obvious solution.  
Since this must be a problem for anyone who wants to do something  
like this, I guess I am taking the wrong approach, altogether.


Will have to re-think this

smell of burning rubber commences...


Okay! I guess I wasn't the first to have this problem...

lndir (in ports) solves the problem by creating a set of soft links  
for all the files in the 'linked' directory. Kinda kludgy, but it works.


-- John

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


Re: links vs real directories

2009-03-16 Thread Erik Trulsson
On Mon, Mar 16, 2009 at 11:47:23AM -0400, John Almberg wrote:
 
 On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:
 
  On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:
  I always thought that links to real directories were pretty much the
  same as real directories, but I've just discovered a situation where
  they are not and I'm wondering if I'm doing something wrong...
 
  A *soft* link to a directory entry (be it a directory or a file or  
  something
  else) is not quite equivalent to the original entry since they are  
  easily
  distinguished and some programs do treat softlinks differently from  
  other
  targets.
 
 I can see that, now... If I create a soft link to ~/shared/config,  
 and then cd into the directory, when I type 'ls ..', I get the  
 listing for ~/shared, not ~/app.

Yes, because '..' is a hardlink to the parent directory, and 'cd' does not
know how you got to ~/shared/config so it does not know anything about the
softlink used to get theere.


 
 Bummer...
 
 I've just dug through man ln, and don't see any obvious solution.  
 Since this must be a problem for anyone who wants to do something  
 like this, I guess I am taking the wrong approach, altogether.
 
 Will have to re-think this
 
 smell of burning rubber commences...
 
 -- John
 

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: links vs real directories

2009-03-16 Thread Chris Rees
2009/3/16 John Almberg jalmb...@identry.com:

 On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:

 On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

 I always thought that links to real directories were pretty much the
 same as real directories, but I've just discovered a situation where
 they are not and I'm wondering if I'm doing something wrong...

 A *soft* link to a directory entry (be it a directory or a file or
 something
 else) is not quite equivalent to the original entry since they are easily
 distinguished and some programs do treat softlinks differently from other
 targets.

 I can see that, now... If I create a soft link to ~/shared/config, and then
 cd into the directory, when I type 'ls ..', I get the listing for ~/shared,
 not ~/app.

 Bummer...

 I've just dug through man ln, and don't see any obvious solution. Since this
 must be a problem for anyone who wants to do something like this, I guess I
 am taking the wrong approach, altogether.

 Will have to re-think this

 smell of burning rubber commences...

 -- John

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


When we're talking in a technical sense, we should probably use the
correct terms. The 'official' and more descriptive name for a softlink
is a symbolic link.

Symbolic links are an absolute nightmare for security purposes, and
many programs (especially ones set to run suid) choke on them. This
could be intentional

Since RoR is free software, you could dive in and edit where it looks
for in the source code, or look for a compile-time option. Try

/dir/to/port's/work/directory # ./configure --help


Chris

--
R $h !  $- ! $+      $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: links vs real directories

2009-03-16 Thread Bill Moran
In response to John Almberg jalmb...@identry.com:
 
 A little more information on this... from the Rails log, I can see  
 that a Ruby script in the config directory cannot load ('require') a  
 needed file because it can't find it:
 
 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  
 `gem_original_require': no such file to load -- application  
 (MissingSource File)
 
 It looks like this require statement is using a relative path, like  
 '../path/to/file'. Does '..' not work properly with a soft link? In  
 other words, '..', should mean ~/app, but since the config directory  
 is really in '~/shared', perhaps '..' translates to '~/shared'? That  
 would cause the problem finding the file.

That's a common problem with soft links and interpreted languages.

 Is there a way around this problem?

Generally, you have to fix this in the application itself.  I'm not a
Ruby expert, but I can list some of the methods that solve the problem
in PHP:

1 If Ruby has a config value for including library files (often called a
  search path), configure it  to the correct paths and tell Ruby to
  include the file name with the configured path information.
2 Write a wrapper around the requirement function that normalizes the path
  so that it works.
3 Ditch the softlink altogether and require files by absolute path.

The first one is probably the most desirable, although I've had good
success using PHP's __autoload() to accomplish #2.  Don't know if there's
an equivalent in Ruby.

In any event, if you're explicitly including files by relative path, you'll
have to stop doing that.  It's a bad idea in any event.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: links vs real directories

2009-03-16 Thread Wojciech Puchar

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At least not the 
way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set me 
straight, I'd appreciate it.


IMHO you did everything properly, this program must actually check if it's 
link.

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


Re: Re: installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links

2009-02-20 Thread Gregory W. MacPherson
The problem is that both of the files:

/usr/share/locale/nb_NO.ISO8859-1/LC_TIME

and 

/usr/share/locale/no_NO.ISO8859-1/LC_TIME

... are symbolic links ... to each other.

The solution is to remove one symlink and replace it with a real file as 
shown below:

rm -f /usr/share/locale/no_NO.ISO8859-1/LC_TIME
touch /usr/share/locale/no_NO.ISO8859-1/LC_TIME

Now /usr/share/locale/nb_NO.ISO8859-1/LC_TIME is a symbolic link and
/usr/share/locale/no_NO.ISO8859-1/LC_TIME is a real (albeot zero length)
file.

And, yes, someone ought to fix this in CVS.

-- Greg

 On Saturday 31 January 2009 07:09:39 Anton Shterenlikht wrote:
  I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the
 manual.
  make buildworld, make buildkernel, make installkernel, reboot,
  make installworld fails with
 
  install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
  symbolic links
 
 Can you provide output of:
 ls -l /usr/share/locale/nb_NO.IS8859-1/LC_TIME
 
 -- 
 Mel
 
 Problem with today's modular software: they start with the modules
 and never get to the software part.

-- 
Gregory W. MacPherson
Global Network Exploitation Specialist, CISSP
http://www.datasieve.net/greg/

In the beginning of a change, the patriot is a scarce man and brave,
hated and scorned. When his cause succeeds however, the timid join him,
for then it costs nothing to be a patriot. -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links

2009-02-02 Thread Anton Shterenlikht
On Sat, Jan 31, 2009 at 08:00:58AM -0900, Mel wrote:
 On Saturday 31 January 2009 07:09:39 Anton Shterenlikht wrote:
  I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the manual.
  make buildworld, make buildkernel, make installkernel, reboot,
  make installworld fails with
 
  install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
  symbolic links
 
 Can you provide output of:
 ls -l /usr/share/locale/nb_NO.IS8859-1/LC_TIME

# ls -l /usr/share/locale/nb_NO.ISO8859-1/LC_TIME
-r--r--r--  1 root  wheel  365 31 Jan 16:26 /usr/share/locale/nb_NO.ISO8859-1/LC
_TIME
#

HOwever, in the meantime, I just deleted all locale/nb* during installworld
stage to get past that error. I'm not sure that what I got in the end
under locale/nb* is what you'd expect.

thank you
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links

2009-01-31 Thread Anton Shterenlikht
I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the manual.
make buildworld, make buildkernel, make installkernel, reboot,
make installworld fails with

install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
symbolic links
*** Error code 71

Stop in /usr/src/share/timedef.
*** Error code 1

What's the problem?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: installworld fails - nb_NO.ISO8859-1/LC_TIME: too many levels of symbolic links

2009-01-31 Thread Mel
On Saturday 31 January 2009 07:09:39 Anton Shterenlikht wrote:
 I'm upgrading from 7.1-prerelease to 7.1-stable. I followed the manual.
 make buildworld, make buildkernel, make installkernel, reboot,
 make installworld fails with

 install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels of
 symbolic links

Can you provide output of:
ls -l /usr/share/locale/nb_NO.IS8859-1/LC_TIME

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Would you like to trade links?

2008-12-27 Thread Annie Simanski
Hi,

I visited your site www.freebsd.org and I'm interested in swapping 
links with you. I can add your link to a category specific page on 
our site ibrain.org, in exchange for a link back from the home or 
internal page of your site. 

If you're interested, please reply to this email with your link 
details and the URL of your links page below:

Anchor Text (example: Atlanta employment agency): 
URL: 
Description: 
Links Page:

Once I hear back from you with the following information, I'll send 
you a reply regarding our link details. Remember, we need all of the 
information above in order to post your link. I look forward to 
hearing from you.

Best regards,
Annie Simanski
Account Manager
ibrain.org

Ref: 12-26

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


installworld fails - err code 71 - too many levels of symbolic links

2008-10-21 Thread Anton Shterenlikht
(also posted to freebsd-current)

I'm rebuilding the world on i386 FBSD 8.0-currnet following the manual.
I cvsup'ed the source on 20-OCT-2008, made buildworld, built kernel,
installed kernel, rebooted into single user mode, and tried to installworld.
I got:

install: /usr/share/locale/nb_NO.ISO8859-1/LC_TIME: Too many levels
of symbolic links
*** Error code 71

Stop in /usr/srs/share/timedef.
*** Error code 1


What am I doing wrong?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


two links

2008-02-10 Thread Suprema Informática Ltda - Leandro

Good morning,

I need active two links of internet, but i don´t know do this.
I have 3 interfaces

internet 1 adsl gateway = 172.168.0.254   -   ip interface = 172.168.0.253
internet 2 adsl gateway = 192.168.1.254   -   ip interface = 192.168.1.253

interface to lan internal = 10.0.0.254

My default gateway is 172.168.0.254.

I need active the second link (192.168.1.254) only access port 22, just 
port 22.



Freebsd 6.3 + ipfw


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


Re: two links

2008-02-10 Thread David Alanis

I use pf I am sure they are how to's out there for ipfw.

http://www.bsdguides.org/guides/freebsd/networking/ho_router_pf.php

I hope if you decide to go with pf this link will give you the basics  
to get started:


David

Quoting Suprema Informática Ltda - Leandro [EMAIL PROTECTED]:


Good morning,

I need active two links of internet, but i don´t know do this.
I have 3 interfaces

internet 1 adsl gateway = 172.168.0.254   -   ip interface = 172.168.0.253
internet 2 adsl gateway = 192.168.1.254   -   ip interface = 192.168.1.253

interface to lan internal = 10.0.0.254

My default gateway is 172.168.0.254.

I need active the second link (192.168.1.254) only access port 22, just
port 22.


Freebsd 6.3 + ipfw


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





This message was sent using IMP, the Internet Messaging Program.

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


Re: two links

2008-02-10 Thread Paul A. Procacci

Suprema Informática Ltda - Leandro wrote:

Good morning,

I need active two links of internet, but i don´t know do this.
I have 3 interfaces

internet 1 adsl gateway = 172.168.0.254   -   ip interface = 
172.168.0.253
internet 2 adsl gateway = 192.168.1.254   -   ip interface = 
192.168.1.253


interface to lan internal = 10.0.0.254

My default gateway is 172.168.0.254.

I need active the second link (192.168.1.254) only access port 22, 
just port 22.



Freebsd 6.3 + ipfw


Thanks for all.t
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
First explictly allow transmission on the interface in question, and 
deny everything else.  Additionally, you probably want to keep state 
within the ruleset as well.


ipfw add some_num allow tcp from any to me 22 in via interface
ipfw add some_num+2 deny tcp from any to me 22
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two links

2008-02-10 Thread Wojciech Puchar

22.


Freebsd 6.3 + ipfw


man ipfw


to be exact - read about fwd command. you have to make a rule that 
anything that comes from second link's your local address is routed 
through your second link router.



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


two links

2008-02-08 Thread Suprema Informática Ltda - Leandro

Good morning,

I need active two links of internet, but i don´t know do this.
I have 3 interfaces

internet 1 adsl gateway = 172.168.0.254   -   ip interface = 172.168.0.253
internet 2 adsl gateway = 192.168.1.254   -   ip interface = 192.168.1.253

interface to lan internal = 10.0.0.254

My default gateway is 172.168.0.254.

I need active the second link (192.168.1.254) only access port 22, just 
port 22.



Freebsd 6.3 + ipfw

Sorry my english.

Thanks for all.

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


mkisofs,cd9660 and hard links

2007-03-24 Thread Wojciech Puchar
i did copy of small server (taking about 3GB space) to DVD with growisofs 
-R and using --exclude to not copy /dev etc..


worked fine.

and recovered fine, but taking much more space, because all hardlinks are 
now separate files.


it looks like cd9660 filesystem doesn't see hardlinked files as 
hardlinked, but as separate ones.


is there any program to fix it like comparing all very similar files on 
disk and hardlinking them?

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


Re: mkisofs,cd9660 and hard links

2007-03-24 Thread Vince

Wojciech Puchar wrote:
i did copy of small server (taking about 3GB space) to DVD with 
growisofs -R and using --exclude to not copy /dev etc..


worked fine.

and recovered fine, but taking much more space, because all hardlinks 
are now separate files.


it looks like cd9660 filesystem doesn't see hardlinked files as 
hardlinked, but as separate ones.


is there any program to fix it like comparing all very similar files 
on disk and hardlinking them?
Not that i'm aware of but someone else may. Maybe next time you could 
store the files on the DVD in a tar file which keeps hardlink information.


Vince



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


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


Re: mkisofs,cd9660 and hard links

2007-03-24 Thread Sergio Lenzi
I notice too the hard link problem.. 
For me the problem happens when I try to read the
CD or DVD into the hard disk

In the CD the hard links exists, but when I copy into the hard disk,
the hard links vanishes...

I think that the problem relies in the iso9660 logic.. because the same
CD works fine using the tar in a 5.4 system


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


Re: mkisofs,cd9660 and hard links

2007-03-24 Thread James Long
 Date: Sat, 24 Mar 2007 20:15:50 +0100 (CET)
 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: mkisofs,cd9660 and hard links
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
 
 i did copy of small server (taking about 3GB space) to DVD with growisofs 
 -R and using --exclude to not copy /dev etc..
 
 worked fine.
 
 and recovered fine, but taking much more space, because all hardlinks are 
 now separate files.
 
 it looks like cd9660 filesystem doesn't see hardlinked files as 
 hardlinked, but as separate ones.
 
 is there any program to fix it like comparing all very similar files on 
 disk and hardlinking them?

My brief analysis of this is that there's only so much that can be
done, at least programmatically.  Your DVD copy does not contain 
sufficient information to differentiate between hardlinks, apparently, 
and may not allow you to determine where softlinks used to exist, 
either.  And then there may be some files that were simply two copies 
of the same content, and should not be construed as linked files.

That said, I have done similar tasks (like deleting duplicate copies 
of files stored on two machines) by writing a shell script to 
calculate a checksum of each file on disk, then sorting the output 
based on the checksum.  Where you find duplicate checksum values, you 
likely have files that could be hard-linked to each other.  It would 
require some manual vetting of the identified duplicates to determine
whether the files are supposed to be hardlinks, symlinks or simply two 
discrete files with the same content.

This can be time-consuming for large filesystems, but for 3 Gigs,
you can just start it and walk away until it's done.

This example is rather clumsy, and if someone can show me how to do 
this without having to pipe the output into sh, I'd be edified to know 
that.  On the other hand, I often like to construct xarg lines like
this so I can see and inspect the commands that will be executed,
before actually committing to piping it into the shell.

find / -type f -print0 | xargs -0 -Ixx -n1 echo echo \$\(sha256 -q \xx\\) 
\xx\ | sh  md5-list.out

Then use awk/sort/uniq/grep to find duplicate checksums, and determine
which files have identical checksum values.  Manually examine those 
files to determine whether they should be hardlinks, symlinks, or
remain as separate files.

Note that this necessarily excludes directories, which could be 
symlinks of other directories, such as /etc/namedb vs. 
/var/named/etc/namedb.


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


Please trade links with our web site

2007-02-10 Thread Don Hammond
Hi,

I visited your www.freebsd.org web site.

DonOmite is dedicated to helping other web businesses get on their feet and to 
this aim we look for websites that will help our customers and visitors to 
achieve their goals and dreams. 

Please trade links with our web site. We extend this invitation because we 
really like your web site. 

Our visitors will enjoy your web site, because it matches our Themes. Our goal 
is to create a quality guide to other web sites that have great quality 
content, such as yours.

We only link and conduct business using professional standards, as set forth in 
the book: Common Sense Web Marketing. To thank you for linking with our web 
site, it would be my pleasure to send you a copy of the book, absolutely free 
(170 pages).

To save you time, we have already listed your web site in our directory. 

The following is a link to the 'Free Stuff' location that includes your web 
site in our Link Directory:
http://www.donomite.com/links/freestuff.html

Titles, descriptions and HTML code to add our link to your web site: 
http://

To edit your listing in our directory:
http://www.donomite.com/links/ThemeIndex.html

Regards
Don Hammond
[EMAIL PROTECTED]
http://www.donomite.com/


..

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


Re: FreeBSD and 2 ADSL links

2006-10-06 Thread Josh Paetzel
On Thursday 05 October 2006 20:22, J65nko wrote:
 On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:
  hi!
 
  Brazilian I and do not say English, I forgive for any error!
 
  I have a FreeBSD Server (5.4). This server links ADSL has two,
  and I need to balance the load between them, e also case one
  stops the other keeps the connection.

 You can do this with pf, see
 http://openbsd.org/faq/pf/pools.html#outgoing and
 http://openbsd.org/faq/pf/carp.html

Using pools is sort of a poor man's load balancing.  It's more of a 
round-robin approach to using more than one link.  It's not going to 
allow you to do a single transfer using the aggregated bandwidth of 
both links.

-- 
Thanks,

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


FreeBSD and 2 ADSL links

2006-10-05 Thread Thiago Rocha

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.

My system is thus:
==
rl0  IP=192.168.2.254/24 / GW for machines in this net is
192.168.2.254- (this is localnet NIC)
rl1  IP= 10.0.0.2/30 / GW for this net is 10.0.0.1 -  (adsl1)
sis0 -- IP= 10.0.1.2/30 / GW for fhis net is 10.0.1.1 -  (adsl2)
#

I have two NATD process, see below:
===

318  ??  Ss 0:00.39 /sbin/natd -f /etc/natd.conf -p 8668 -n rl1
1815  ??  Ss 0:00.65 /sbin/natd -f /etc/natd1.conf -p 8669 -n sis0
#

And my firewall :


ipfw add 10 divert 8668 all from any to 10.0.0.2 via rl1
ipfw add 11 divert 8669 all from any to 10.0.1.2 in via sis0
ipfw add 12 prob 0.5 divert 8668 all from any to any out via rl1
ipfw add 13 divert 8669 all from any to any out via rl1

ipfw add 30 fwd 10.0.0.1 all from 10.0.0.2 to any
ipfw add 30 fwd 10.0.1.1 all from 10.0.1.2 to any
#
and my default route is: 10.0.0.1, I need to make the balancing between
these interfaces.

when I apply these rules nothing I function. I I followed a manual in the
Internet (
http://wiki.luizgustavo.pro.br/doku.php?id=artigos_freebsd:balancelinks),
but without success.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and 2 ADSL links

2006-10-05 Thread Peter A. Giessel


On 2006/10/05 13:59, Thiago Rocha seems to have typed:
 hi!
 
 Brazilian I and do not say English, I forgive for any error!
 
 I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
 balance the load between them, e also case one stops the other keeps the
 connection.

I don't believe that you will be able to load balance two connections
without assistance from your ISP.  You could split the traffic between
two interfaces, but you can't truly load balance.  One of the many
threads on this topic can be found here:
http://lists.freebsd.org/pipermail/freebsd-isp/2004-June/002219.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and 2 ADSL links

2006-10-05 Thread J65nko

On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.



You can do this with pf, see
http://openbsd.org/faq/pf/pools.html#outgoing and
http://openbsd.org/faq/pf/carp.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Symbolic Links in /dev of a jail

2006-09-01 Thread Anish Mistry
In my quest to get asterisk+iaxmodem+hylafax working together in a 
jail I've run into one final roadblock.  I can't seem to figure out 
how to create a symbolic link (ln -s doesn't work) in /dev in the 
jail environment while in the jailed environment.   When trying to 
create a link with ln I receive:
ln -s somedev targetdev
ln: targetdev: Operation not permitted
Adding a link entry to devfs.conf in the jail fails too since it 
receives the same error.  I can create a link in the jailed /dev from 
the host environment, so there seems to be some restriction on 
creating links in /dev while in the jail.  The reason I need to be 
able to do this is that iaxmodem needs to create a /dev/ttyIAX device 
to point to the correct ttyp0 device when it starts in the jail.

Any suggestions would be appreciated.

Thanks,

-- 
Anish Mistry


pgpbxH1LOZx4H.pgp
Description: PGP signature


Re: multiple links with single ln command

2006-06-28 Thread Giorgos Keramidas
On 2006-06-27 14:14, sara lidgey [EMAIL PROTECTED] wrote:
 Hi All,

 I've read the man page for ln but can't find a way to do this.  I want
 to create multiple links to a single directory with one command.
 Consider the following example.  I have a directory structure like
 this:

 test/a/
 test/b/
 test/c/

 I want to create a symbolic link called clink in test/a/ and test/b/
 which points to test/c/

 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink

 Can it be done with a single command?

I don't think so.  The closest you can come to ``a single command''
would be a loop:

$ for dirname in a b ; do ln -s test/c test/$dirname/clink ; done

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


Re: multiple links with single ln command

2006-06-28 Thread sara lidgey
Thanks for all the ideas.  They are very helpful.
-S

Brian O'Shea [EMAIL PROTECTED] wrote: It can be done with a shell for-loop:

$ mkdir a b c
$ for dir in a b ; do (cd $dir ; ln -s ../c clink) ; done

But this is technically not a single command, and it assumes that
you are using the Bourne Shell (/bin/sh) or a Bourne-compatible shell
(ksh, zsh, bash, etc.).  If you are a csh or tcsh user, may God help
you. (I mean look up the syntax in the appropriate man page.)

-brian

--- sara lidgey  wrote:
 
 Hi All,
 
 I've read the man page for ln but can't find a way to do this.  I want to
 create multiple links to a single directory with one command.  Consider the
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?
 
 thanks.  sorry if this is a no-brainer,
 S



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada Messenger with 
Voice
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multiple links with single ln command

2006-06-27 Thread sara lidgey
Hi All,

I've read the man page for ln but can't find a way to do this.  I want to 
create multiple links to a single directory with one command.  Consider the 
following example.  I have a directory structure like this:
test/a/
test/b/
test/c/
 I want to create a symbolic link called clink in test/a/ and test/b/ which 
points to test/c/

The only way I know to do this is with two commands:
ln -s test/c test/a/clink
ln -s test/c test/b/clink

Can it be done with a single command?

thanks.  sorry if this is a no-brainer,
S


-
Now you can have a huge leap forward in email: get the new Yahoo! Mail. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multiple links with single ln command

2006-06-27 Thread Brian O'Shea
Unfortunately, it is impossible with the current syntax of the
ln command.  It does allow you to specify multiple sources as
arguments though, with a final argument naming a target directory
in which to create the links to the source files.  For example:

$ mkdir test
$ mkdir test/a
$ mkdir test/b
$ mkdir test/c
$ mkdir links
$ cd ./links
$ ln -s ../test/* .
$ ls -l
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 a - ../test/a
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 b - ../test/b
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 c - ../test/c

However, this is not exactly what you are trying to do in your
example; you are trying to create multiple target links with the
same name in different directories.  Unfortunately, because the ln
command's syntax allows you to specify multiple source files, it
would be ambiguous to try to make it also allow you to specify
multiple targets.

Hope that helps.
-brian

--- sara lidgey [EMAIL PROTECTED] wrote:

 Hi All,
 
 I've read the man page for ln but can't find a way to do this.  I want to
 create multiple links to a single directory with one command.  Consider the
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?
 
 thanks.  sorry if this is a no-brainer,
 S
 
   
 -
 Now you can have a huge leap forward in email: get the new Yahoo! Mail. 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multiple links with single ln command

2006-06-27 Thread Paul Chvostek
Hiya.

On Tue, Jun 27, 2006 at 02:14:22PM -0400, sara lidgey wrote:
 
 I've read the man page for ln but can't find a way to do this.  I want to 
 create multiple links to a single directory with one command.  Consider the 
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which 
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?

No.  Well, it depends on what you consider a single command.  :)

Consider that your command line uses fileglob expansion to determine the
full command line *before* the command is run.  The notation you're
looking at is this:

ln [-fhinsv] source_file ... target_dir

which means the `ln` command takes a left-hand-side (the source,
possibly multiple sources) and a right-hand-side (the target).

But you're asking to go the other way around, with a single source being
created in multiple targets.  If you have ALOT of these links to make,
or need to do this on an regular basis, I suggest making a small script
that does what you want; perhaps something like this:

  #!/bin/sh
  if [ $# -lt 2 ]; then
echo Usage: altln source_file target_dir ...
exit 1
  fi
  source_file=$1; shift
  for target_dir in $*; do
ln -svi $source_file $target_dir
  done

... which you can run with a command line like:

# ls -F test/
a/  b/  c/
# altln ../c test/a test/b
# ls -l test/*/*
lrwxr-xr-x  1 root  wheel  4 Jun 27 17:28 test/a/c - ../c
lrwxr-xr-x  1 root  wheel  4 Jun 27 17:28 test/b/c - ../c
#

(Bear in mind that the symbolic link you create will be evaluated
relative to ITS location, not your cwd when you create the link.)

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/

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


Re: multiple links with single ln command

2006-06-27 Thread Brian O'Shea
It can be done with a shell for-loop:

$ mkdir a b c
$ for dir in a b ; do (cd $dir ; ln -s ../c clink) ; done

But this is technically not a single command, and it assumes that
you are using the Bourne Shell (/bin/sh) or a Bourne-compatible shell
(ksh, zsh, bash, etc.).  If you are a csh or tcsh user, may God help
you. (I mean look up the syntax in the appropriate man page.)

-brian

--- sara lidgey [EMAIL PROTECTED] wrote:
 
 Hi All,
 
 I've read the man page for ln but can't find a way to do this.  I want to
 create multiple links to a single directory with one command.  Consider the
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?
 
 thanks.  sorry if this is a no-brainer,
 S



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Exchange of Links

2006-05-13 Thread webmaster at lyricstrax.com
Hello freebsd-questions@freebsd.org  at linux.org.tw

I'm David Gregory the marketing director of Lyricstrax.com.  We have a 
collection of categorized links to music, education, and retail related 
resources on our web site. Your site would be a valuable addition to our 
growing listings. You can find a link to your web site here at:
http://www.lyricstrax.com/00971/links.html 

If you want to link back to us (always appreciated), just insert a link with 
the 
Title: lyricstrax
URL: http://www.lyricstrax.com 
on your web site: and let us know which CATEGORY you want to be listed in so we 
can mark your site as a  permanent link  on Lyricstrax.com and add you to our 
MAIN  LINKS section that is connected to our HOME PAGE,  in addition to your 
current listing .

You can email us at [EMAIL PROTECTED] Good luck on the continued growth of your 
website.









If you do not want to receive any further emails contact us at [EMAIL PROTECTED]






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


Exchange of Links

2006-05-13 Thread webmaster at lyricstrax.com
Hello freebsd-questions@freebsd.org  at linux.org.tw

I'm David Gregory the marketing director of Lyricstrax.com.  We have a 
collection of categorized links to music, education, and retail related 
resources on our web site. Your site would be a valuable addition to our 
growing listings. You can find a link to your web site here at:
http://www.lyricstrax.com/01003/links.html 

If you want to link back to us (always appreciated), just insert a link with 
the 
Title: lyricstrax
URL: http://www.lyricstrax.com 
on your web site: and let us know which CATEGORY you want to be listed in so we 
can mark your site as a  permanent link  on Lyricstrax.com and add you to our 
MAIN  LINKS section that is connected to our HOME PAGE,  in addition to your 
current listing .

You can email us at [EMAIL PROTECTED] Good luck on the continued growth of your 
website.

Special Note: This is NOT A LINK FARM all temporary directories are removed in 
time and only those who respond receive a permanent link located at the bottom 
of the lyricstrax home page.








If you do not want to receive any further emails contact us at [EMAIL PROTECTED]






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


Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Don O'Neil
Hi all...

Ok... More info for the puzzle.

 I'm trying to move a file system from one disk to another, and when I do
this:

tar cf - /source/* | ( cd /destination  tar xfv - )

It copies all the files, but the symbolic links are copied as files of 0
length, rather than re-established as links.

BUT

When I just:

tar -cf file.tar /source/*

And then:

tar -xf file.tar

Then the symbolic links are made correctly Any reason why this should
work and not the piped version for 'all in one' copying?

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


Re: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Philip Hallstrom

Hi all...

Ok... More info for the puzzle.

I'm trying to move a file system from one disk to another, and when I do
this:

tar cf - /source/* | ( cd /destination  tar xfv - )

It copies all the files, but the symbolic links are copied as files of 0
length, rather than re-established as links.

BUT

When I just:

tar -cf file.tar /source/*

And then:

tar -xf file.tar

Then the symbolic links are made correctly Any reason why this should
work and not the piped version for 'all in one' copying?


If it's an actual filesystem why not use dump/restore?

Otherwise I'm not sure, but you might also want to add in -pS to handle 
permissions and sparse files as well...


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


RE: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Don O'Neil
Well... I'm moving it from one file system to another of different sizes,
that's the main reason. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip Hallstrom
Sent: Thursday, May 11, 2006 10:35 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right
- More info

 Hi all...

 Ok... More info for the puzzle.

 I'm trying to move a file system from one disk to another, and when I 
 do
 this:

 tar cf - /source/* | ( cd /destination  tar xfv - )

 It copies all the files, but the symbolic links are copied as files of 
 0 length, rather than re-established as links.

 BUT

 When I just:

 tar -cf file.tar /source/*

 And then:

 tar -xf file.tar

 Then the symbolic links are made correctly Any reason why this 
 should work and not the piped version for 'all in one' copying?

If it's an actual filesystem why not use dump/restore?

Otherwise I'm not sure, but you might also want to add in -pS to handle
permissions and sparse files as well...

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


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


Re: Copying a file system w/ tar - symbolic links not copied right

2006-05-11 Thread Jerry McAllister
 
  Hi all...
 
  Ok... More info for the puzzle.
 
  I'm trying to move a file system from one disk to another, and when I do
  this:
 
  tar cf - /source/* | ( cd /destination  tar xfv - )
 
  It copies all the files, but the symbolic links are copied as files of 0
  length, rather than re-established as links.
 
  BUT
 
  When I just:
 
  tar -cf file.tar /source/*
 
  And then:
 
  tar -xf file.tar
 
  Then the symbolic links are made correctly Any reason why this should
  work and not the piped version for 'all in one' copying?
 
 If it's an actual filesystem why not use dump/restore?

Ditto on dump/restore.
It is the clean and reliable way to do it.
The complete filesystem will be recreated in the new location
with all links, permission, etc intact.

jerry

 
 Otherwise I'm not sure, but you might also want to add in -pS to handle 
 permissions and sparse files as well...
 
 -philip
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-11 Thread Kevin Kinsey

Olivier Nicole wrote:

 I'm trying to move a file system from one disk to another, and when I do
this:


I think that the way to go is:

tar cf - /source/* | ( cd /destination  tar xfvBp - )

Note the Bp at the end of the extract tar.

olivier


Is that for BSD tar, or gtar (GNU)?  We still haven't decided
which is offering the problem, and I don't find -B
described in bsdtar(1), although I can see why you'd want
it in gtar, perhaps.

Nonetheless, the tests I made with both tars didn't seem
to have this problem.  Can Don confirm whether this only occurs
if /source/ is a filesystem mount point?  (Also, which tar
are you using?

KDK

--
Computer programs expand so as to fill the core available.

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


RE: Copying a file system w/ tar - symbolic links not copied right.

2006-05-11 Thread Don O'Neil
I've tried both the BSD and GNU tars, I get the same results on both. It's
very strange. 

When I add the B option, no different I used:

tar cf - /array01/* | ( cd /mnt/disk01  tar xfvBp - )

Maybe this is something specific to 4.11? 

Here's what happens:

Source file: 

lrwxrwxrwx1 root  wheel21 Feb 19 03:05 apache.log -
/var/shc/apache/logs/

Destination file created on the tar backup: 

--   1 root  wheel 0 May 11 11:02 apache.log 

Some have suggested using dump/restore. The problem with dump/restore is
that I can't do it across the network and the file systems need to match.
The whole point is to move these files/directories from one server to
another to a volume with a LOT more space on a RAID array.

-Original Message-
From: Kevin Kinsey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 10:54 AM
To: Olivier Nicole
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right.

Olivier Nicole wrote:
  I'm trying to move a file system from one disk to another, and when 
 I do
 this:
 
 I think that the way to go is:
 
 tar cf - /source/* | ( cd /destination  tar xfvBp - )
 
 Note the Bp at the end of the extract tar.
 
 olivier

Is that for BSD tar, or gtar (GNU)?  We still haven't decided which is
offering the problem, and I don't find -B
described in bsdtar(1), although I can see why you'd want it in gtar,
perhaps.

Nonetheless, the tests I made with both tars didn't seem to have this
problem.  Can Don confirm whether this only occurs if /source/ is a
filesystem mount point?  (Also, which tar are you using?


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


RE: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Philip Hallstrom

Well... I'm moving it from one file system to another of different sizes,
that's the main reason.


Dump won't care about that...

dd would, but dd isn't right for this anyway...

I'd give dump a try.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip Hallstrom
Sent: Thursday, May 11, 2006 10:35 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right
- More info


Hi all...

Ok... More info for the puzzle.

I'm trying to move a file system from one disk to another, and when I
do
this:

tar cf - /source/* | ( cd /destination  tar xfv - )

It copies all the files, but the symbolic links are copied as files of
0 length, rather than re-established as links.

BUT

When I just:

tar -cf file.tar /source/*

And then:

tar -xf file.tar

Then the symbolic links are made correctly Any reason why this
should work and not the piped version for 'all in one' copying?


If it's an actual filesystem why not use dump/restore?

Otherwise I'm not sure, but you might also want to add in -pS to handle
permissions and sparse files as well...

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




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


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-11 Thread Jerry McAllister
 
 I've tried both the BSD and GNU tars, I get the same results on both. It's
 very strange. 
 
 When I add the B option, no different I used:
 
 tar cf - /array01/* | ( cd /mnt/disk01  tar xfvBp - )
 
 Maybe this is something specific to 4.11? 
 
 Here's what happens:
 
 Source file: 
 
 lrwxrwxrwx1 root  wheel21 Feb 19 03:05 apache.log -
 /var/shc/apache/logs/
 
 Destination file created on the tar backup: 
 
 --   1 root  wheel 0 May 11 11:02 apache.log 
 
 Some have suggested using dump/restore. The problem with dump/restore is
 that I can't do it across the network and the file systems need to match.
 The whole point is to move these files/directories from one server to
 another to a volume with a LOT more space on a RAID array.

I used to do it over the net regularly with dump/restore.
Just take advantage of the pipe ability.Since the other system
has so much room, just pipe the dump file over there and unroll
it with restore on the other machine as you please or just leave
it in a dump file if you don't want.

jerry


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


RE: Copying a file system w/ tar - symbolic links not copied right - More info

2006-05-11 Thread Don O'Neil
I will... Thanks to all for helping... Still weird what's happening though!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Philip Hallstrom
Sent: Thursday, May 11, 2006 12:29 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: RE: Copying a file system w/ tar - symbolic links not copied right
- More info

 Well... I'm moving it from one file system to another of different 
 sizes, that's the main reason.

Dump won't care about that...

dd would, but dd isn't right for this anyway...

I'd give dump a try.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Philip 
 Hallstrom
 Sent: Thursday, May 11, 2006 10:35 AM
 To: Don O'Neil
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Copying a file system w/ tar - symbolic links not copied 
 right
 - More info

 Hi all...

 Ok... More info for the puzzle.

 I'm trying to move a file system from one disk to another, and when I 
 do
 this:

 tar cf - /source/* | ( cd /destination  tar xfv - )

 It copies all the files, but the symbolic links are copied as files 
 of 0 length, rather than re-established as links.

 BUT

 When I just:

 tar -cf file.tar /source/*

 And then:

 tar -xf file.tar

 Then the symbolic links are made correctly Any reason why this 
 should work and not the piped version for 'all in one' copying?

 If it's an actual filesystem why not use dump/restore?

 Otherwise I'm not sure, but you might also want to add in -pS to 
 handle permissions and sparse files as well...

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



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


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


Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Don O'Neil
Hi all...

 I'm trying to move a file system from one disk to another, and when I do
this:

tar cf - /source/* | ( cd /destination  tar xfv - )

It copies all the files, but the symbolic links are copied as files of 0
length, rather than re-established as links.

What am I doing wrong here, or is my tar broken?

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


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Andy Greenwood

# man tar

specifically, the -L option

On 5/10/06, Don O'Neil [EMAIL PROTECTED] wrote:

Hi all...

 I'm trying to move a file system from one disk to another, and when I do
this:

tar cf - /source/* | ( cd /destination  tar xfv - )

It copies all the files, but the symbolic links are copied as files of 0
length, rather than re-established as links.

What am I doing wrong here, or is my tar broken?

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


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


RE: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Don O'Neil
My man says:

 -L number
 --tape-length numberChange tapes after writing number * 1024 bytes. 

Nothing about symbolic links Now there is an option --unlink-first and
--dereference... Both of which don't copy the links, but unlink or copy the
actual source file.

Don

-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 10, 2006 6:24 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Copying a file system w/ tar - symbolic links not copied right.

# man tar

specifically, the -L option

On 5/10/06, Don O'Neil [EMAIL PROTECTED] wrote:
 Hi all...

  I'm trying to move a file system from one disk to another, and when I 
 do
 this:

 tar cf - /source/* | ( cd /destination  tar xfv - )

 It copies all the files, but the symbolic links are copied as files of 
 0 length, rather than re-established as links.

 What am I doing wrong here, or is my tar broken?

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



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


RE: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Murray Taylor

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Andy Greenwood
 Sent: Thursday, 11 May 2006 11:24 AM
 To: Don O'Neil
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Copying a file system w/ tar - symbolic links 
 not copied right.
 
 # man tar
 
 specifically, the -L option
 
 On 5/10/06, Don O'Neil [EMAIL PROTECTED] wrote:
  Hi all...
 
   I'm trying to move a file system from one disk to another, 
 and when I 
  do
  this:
 
  tar cf - /source/* | ( cd /destination  tar xfv - )
 
  It copies all the files, but the symbolic links are copied 
 as files of 
  0 length, rather than re-established as links.
 
  What am I doing wrong here, or is my tar broken?
 

to preserve symlinks you need to use cpio   specifically the -p and -l
options

man cpio

It is a bit of a read 


Murray Taylor

Special Projects Engineer
Bytecraft Systems

P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
E: [EMAIL PROTECTED] 

--
Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
  Albert Einstein 
-- 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Kevin Kinsey

 On 5/10/06, Don O'Neil [EMAIL PROTECTED] wrote:

 tar cf - /source/* | ( cd /destination  tar xfv - )

 It copies all the files, but the symbolic links are copied as files of
 0 length, rather than re-established as links.

 What am I doing wrong here, or is my tar broken?


 From: Andy Greenwood [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, May 10, 2006 6:24 PM
 To: Don O'Neil

 # man tar

 specifically, the -L option


Don O'Neil wrote:

My man says:

 -L number
 --tape-length numberChange tapes after writing number * 1024 bytes. 


Nothing about symbolic links Now there is an option --unlink-first and
--dereference... Both of which don't copy the links, but unlink or copy the
actual source file.

Don




And again:

 What am I doing wrong here, or is my tar broken?

Heh, heh, could be.  Andy is referring to BSDtar, which
is tar(1) on later releases, and your -L option is from GNUtar,
which is tar(1) on, IIRC, 4.X and elder, and is now available in
ports as gtar.

As for what's really the problem, I can't say as I can tell.
On my 6.X box, everything works as expected.  For fun, I shelled
into a 4.11 box, and everything works as expected, both my tests
and your example.  Maybe your tar *is* broken.  Or, more likely,
we're both a tad dense ATM.

Kevin Kinsey

--
What foods these morsels be!

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


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Dan Nelson
In the last episode (May 10), Don O'Neil said:
 Hi all...
 
 I'm trying to move a file system from one disk to another, and when I
 do this:
 
 tar cf - /source/* | ( cd /destination  tar xfv - )
 
 It copies all the files, but the symbolic links are copied as files
 of 0 length, rather than re-established as links.
 
 What am I doing wrong here, or is my tar broken?

Sounds like your tar's broken.

([EMAIL PROTECTED]) /tmp/z ln -s testing link
([EMAIL PROTECTED]) /tmp/z md bsdtar gnutar
([EMAIL PROTECTED]) /tmp/z bsdtar cf - link | ( cd bsdtar  bsdtar xvf - )
x link
([EMAIL PROTECTED]) /tmp/z gtar cf - link | ( cd gnutar  gtar xvf - )
link
([EMAIL PROTECTED]) /tmp/z ls -l bsdtar gnutar
bsdtar:
total 4
drwxr-xr-x  2 dan  wheel  512 May 10 21:19 ./
drwxr-xr-x  4 dan  wheel  512 May 10 21:18 ../
lrwxr-xr-x  1 dan  wheel7 May 10 21:18 link@ - testing

gnutar:
total 4
drwxr-xr-x  2 dan  wheel  512 May 10 21:19 ./
drwxr-xr-x  4 dan  wheel  512 May 10 21:18 ../
lrwxr-xr-x  1 dan  wheel7 May 10 21:19 link@ - testing
([EMAIL PROTECTED]) /tmp/z bsdtar --version
bsdtar 1.01.020, libarchive 1.02.033
Copyright (C) 2003-2004 Tim Kientzle
([EMAIL PROTECTED]) /tmp/z gtar --version
tar (GNU tar) 1.13.25

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


Re: Copying a file system w/ tar - symbolic links not copied right.

2006-05-10 Thread Olivier Nicole
  I'm trying to move a file system from one disk to another, and when I do
 this:

I think that the way to go is:

tar cf - /source/* | ( cd /destination  tar xfvBp - )

Note the Bp at the end of the extract tar.

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


kde konqueror and sftp links?

2006-05-02 Thread Henrik Hudson
Hey List-

On my Gentoo box I can do  sftp://[EMAIL PROTECTED]  in the Konqueror URL and 
it prompts me for a password. On my BSD box (6.1-RC1) running KDE 3.5.2 from 
ports it just keeps throwing a authentication failed error. Any clue on how 
to get this working? It's a nice feature :)

sftp from the command line works fine.

Outside of the kmailrc, kontactrc and kwallet files the .kde dir is a clean 
install / config.

Thoughts?

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kde konqueror and sftp links?

2006-05-02 Thread Nikos Vassiliadis
On Tuesday 02 May 2006 10:40, Henrik Hudson wrote:
 Hey List-

 On my Gentoo box I can do  sftp://[EMAIL PROTECTED]  in the Konqueror URL
 and it prompts me for a password. On my BSD box (6.1-RC1) running KDE 3.5.2
 from ports it just keeps throwing a authentication failed error. Any clue
 on how to get this working? It's a nice feature :)

Same thing happens here. A work around could be (or not) fish://


 sftp from the command line works fine.

 Outside of the kmailrc, kontactrc and kwallet files the .kde dir is a clean
 install / config.

 Thoughts?

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


IT Directory Link Exchange - PR5 Links

2006-03-09 Thread Webko

Dear Website Owner,
   Greetings from Webko! We are a web development and internet marketing
 company from Byron Bay Australia. We've recently added some extra
 categories to our IT directory, your site
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-fre
  ebsd.html appears in the directory here:
 http://www.webko.com.au/lc/faqs_help_and_tutorials/27256/1

 The directory is serving several purposes.

 a. To bring useful information to our site visitors.  We have many
 site visitors that are interested in computing in general, and we
  would like to be able to recommend other sites to visit.

 b. Internet marketing is also a big plus for us both, and since we
   have related, but not identical target markets, we can help each other
 without directly competing.  Through an exchange of links both our
 sites will rank higher on search engines.

The page your site is listed on is new, but older pages have PR5(SEE
THIS EXAMPLE
[1]http://www.webko.com.au/lc/marketing_and_advertising/2104/1), we
expect all link pages to go pr5 next Google Update.
 If you log in and update your link you may:
(1) Add your link to as many as 3 categories, that's three links to
your site, and you can choose one of the pr5 pages to add your link
to.
(2) Upload your logo or other image.
   (3) By linking back to our site, your link is placed at the top of the
links page.

If you choose to add a link back to our site, please log in
here [2]http://www.webko.com.au/links_login.php and record where the
link back to our site can be found.
 * Your user log in name is [EMAIL PROTECTED]
 * Your Password is pszfs

   Our link details are:-
 * Title:  Web Design Australia
 * Description: Web Development Company from Byron Bay Australia
 * url: [3]http://www.webko.com.au
   or, you can use this code a href=http://www.webko.com.au;
   target=_blankWeb Design Australia/a Web Development Company
   from Byron Bay Australia.

Warm Regards
 Tim Worley
 Webmaster
 [4]http://www.webko.com.au

References

   1. http://www.webko.com.au/lc/marketing_and_advertising/2104/1
   2. http://www.webko.com.au/links_login.php
   3. http://www.webko.com.au/
   4. http://www.webko.com.au/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >