Re: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Gustavo De Nardin
On 24 August 2010 06:53, Thomas Mueller mueller6...@bellsouth.net wrote:
 What is the best choice for a file system that can be read, and safely 
 written to, by Linux, NetBSD and FreeBSD?

I've been trying NTFS(-3g). It's been going well, with even occasional
Windows thrown in the mix. But it is very slow, mostly, I believe, due
to being an userspace implementation. And I do keep backups.


 With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
 mount Linux ext2fs partition from NetBSD.

I've tested ext2/3 in the past, found it very risky to mix OSs (Linux
and FreeBSD only, though). FreeBSD's Ext2 seemed very lacky regarding
new FS features. I wouldn't risk it.


 There is the obvious possibility of using msdos (FAT32); I could run FreeDOS 
 on such a partition as well as using the partition to share data between 
 Linux, NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems 
 getting long file names straight, and lack of case sensitivity.  But maybe 
 FAT32 is the safest choice?

IMHO NTFS should be better, also, NTFS-3G has an (opensource
friendly?) company behind it:
http://www.tuxera.com/community/ntfs-3g-download/


 Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS 
 partition, but I see from a very recent thread on this list, subject Re: 
 External HD, that writing to NTFS partition is very dangerous, and I figure 
 that would be also true for NetBSD and Linux, and any other 
 non-MS-Windows-NT-line OS that might have support for NTFS.

I haven't seen recent horror stories about NTFS use on Linux, since
the userspace/fuse implementations. Haven't had any problemas myself
too. Except for a hiccup: one of the implementations (can't remember
which) would semi-silently ignore files/paths for which it couldn't
parse the charset, that it, it didn't copy the files/dirs, also didn't
error, just spit some mumbling in dmesg (this was on Linux also). So
beware of your FS charset.

As Joshua Isom mentioned, there's also UDF. But IIRC FreeBSD wasn't
able to write on it when I checked. Also slow compared to native FSs
(same league or worse than the userspace NTFSs). I'd love to go with
UDF, if only it had better support/performance.

And don't underestimate your backups.

-- 
(nil)
___
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: Lingua franca file system Linux-NetBSD-FreeBSD?

2010-08-24 Thread Gustavo De Nardin
On 24 August 2010 20:48, Gustavo De Nardin gustav...@gmail.com wrote:
 On 24 August 2010 06:53, Thomas Mueller mueller6...@bellsouth.net wrote:
 What is the best choice for a file system that can be read, and safely 
 written to, by Linux, NetBSD and FreeBSD?

 I've been trying NTFS(-3g). It's been going well, with even occasional
 Windows thrown in the mix. But it is very slow, mostly, I believe, due
 to being an userspace implementation. And I do keep backups.

I thought I must correct myself: the problem is not exaclt it being
slow, but rather using a lot of CPU. On non fast machines, you may
easily be bound by the CPU, not I/O.


 With NetBSD through 5.1_RC3, I got unsupported inode size when trying to 
 mount Linux ext2fs partition from NetBSD.

 I've tested ext2/3 in the past, found it very risky to mix OSs (Linux
 and FreeBSD only, though). FreeBSD's Ext2 seemed very lacky regarding
 new FS features. I wouldn't risk it.


 There is the obvious possibility of using msdos (FAT32); I could run FreeDOS 
 on such a partition as well as using the partition to share data between 
 Linux, NetBSD and FreeBSD, and FreeDOS too.  Drawback is some problems 
 getting long file names straight, and lack of case sensitivity.  But maybe 
 FAT32 is the safest choice?

 IMHO NTFS should be better, also, NTFS-3G has an (opensource
 friendly?) company behind it:
 http://www.tuxera.com/community/ntfs-3g-download/


 Linux, NetBSD and FreeBSD are supposed to be able to read and write NTFS 
 partition, but I see from a very recent thread on this list, subject Re: 
 External HD, that writing to NTFS partition is very dangerous, and I figure 
 that would be also true for NetBSD and Linux, and any other 
 non-MS-Windows-NT-line OS that might have support for NTFS.

 I haven't seen recent horror stories about NTFS use on Linux, since
 the userspace/fuse implementations. Haven't had any problemas myself
 too. Except for a hiccup: one of the implementations (can't remember
 which) would semi-silently ignore files/paths for which it couldn't
 parse the charset, that it, it didn't copy the files/dirs, also didn't
 error, just spit some mumbling in dmesg (this was on Linux also). So
 beware of your FS charset.

 As Joshua Isom mentioned, there's also UDF. But IIRC FreeBSD wasn't
 able to write on it when I checked. Also slow compared to native FSs
 (same league or worse than the userspace NTFSs). I'd love to go with
 UDF, if only it had better support/performance.

 And don't underestimate your backups.

 --
 (nil)




-- 
(nil)
___
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: Crontab for different ime zones

2009-05-23 Thread Gustavo De Nardin
2009/5/24 GT catch@marketmentat.com:
 Late entry to this thread, but...

 I thought I had found an answer to this; at present I think I might have
 been mistaken.

 My crontab has about a dozen jobs that need to run in
 TZ=America/New_York, and another dozen that ideally want
 TZ=Australia/Sydney... the server default is America/Chicago.

[snip]

    TZ=Australia/Sydney
    * 13 * * * date  /home/mysite/public_html/tmp/log.txt 21

 cron will NOT run the script... I bet it will wait until 13:00 CHICAGO
 time.

 I have a feeling that I am missing something relatively simple - at
 which point my dream of a super-cron will be realised and the stupidity
 of DST can be ignored (as it ought to be... ). I also bet that someone
 else has worked this out already, somewhere in the internets tubes...
 but i have been unable to find it.

I don't think the regular cron works like that. Check out
ports/sysutils/fcron (man 5 fcrontab .. OPTIONS .. timezone ..).

-- 
(nil)
___
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: ssh-copy-id

2007-07-14 Thread Gustavo De Nardin

On 13/07/07, Pollywog [EMAIL PROTECTED] wrote:

Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what
is the best way to copy a public key to an account on another host?  Some
Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their
OpenSSH packages.


Well dunno about best way, but I used to do something like this..:
ssh $remote 'mkdir -m 600 .ssh  cat - .ssh/authorized_keys'
~/.ssh/id_rsa.pub

But of course ssh-copy-id is much smarter.

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


gconcat on existing filesystem

2007-03-04 Thread Gustavo De Nardin

Hello.

Is it expected that 'gconcat create ...' on an existing device with
populated filesystem keeps all existing data? That is, is it expected
behavior that something like 'umount /dev/ad0s3', 'gconcat create data
/dev/ad0s3', 'mount /dev/concat/data /mnt' works, or is it just luck?

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


Re: [WISH] Linux kernel as drop-in replacement in FreeBSD?

2006-02-07 Thread Gustavo De Nardin
Hello.

On 07/02/06, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Tue, Feb 07, 2006 at 10:48:05PM +0100, cpghost wrote:
  since Linux' support for some hardware is better than FreeBSD's,
  it would be nice to have an *optional* way of running a FreeBSD
  system (userland, including all third party programs) on top
  of the Linux kernel.
 
 There's a debian project to do this, but it's not likely anything that
 will be merged into FreeBSD (let alone available as a port).

It is my understanding that the Debian project is the opposite
(running GNU/Linux userland on top of a FreeBSD kernel) of what he
asked: http://www.debian.org/ports/kfreebsd-gnu/.

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


Re: DNS service with a SQL backend

2005-07-20 Thread Gustavo De Nardin
On 20/07/05, Bruno Gallant [EMAIL PROTECTED] wrote:
 I looked around the ports to find powerdns, but I don't know if it's
 good or not.

There is also dns/bind9-dlz (http://bind-dlz.sourceforge.net/).
Supports many database backends. (I never used it, though.)


 Is there a port or something already available that can convert DNS
 data stored in sql into the proper format for BIND, or another
 software with all included?

Don't you mean the other way (BIND - SQL)?

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


Re: why CDROM operations cause system to be slow and HD operations do not

2005-07-13 Thread Gustavo De Nardin
On 13/07/05, Yuri [EMAIL PROTECTED] wrote:
 When I read something from CDROM my system gets visibly slow and HD
 reads/writes do not have the same effect.

By default:
hw.ata.ata_dma: 1--- affects HD
hw.ata.atapi_dma: 0  --- affects CD

So:
# atacontrol mode 0
Master = UDMA100   --- HD
Slave  = BIOSPIO
# atacontrol mode 1
Master = BIOSPIO   --- CD
Slave  = PIO4

Put 'hw.ata.atapi_dma=1' in /boot/loader.conf to get the CDROM using
DMA on the next boot; use atacontrol to turn DMA mode at runtime.

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


Re: SSH and gigabit NICs

2005-07-08 Thread Gustavo De Nardin
On 08/07/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Unfortunately there seems to be no way to turn off the encryption for
 SSH, which would be the easiest test.

Well, looking at /usr/src/crypto/openssh/cipher.c, there is a none
in struct Cipher. But specifying 'none' in Ciphers in sshd_config, I
get Bad SSH2 cipher spec 'none'. trying to start sshd.

Does anyone know if/how the none Cipher is really available? I need
ssh only for authentication when transfering backups, and encryption
makes a difference in transfer speed on slow machines...

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


Re: SSH and gigabit NICs

2005-07-08 Thread Gustavo De Nardin
On 07/07/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Does anyone have a clue what might be going on?

Dunno, but you might take a look at /usr/ports/security/hpn-ssh/:

--- pkg-descr ---
High Performance Enabled SSH/SCP
from the Pittsburgh Supercomputing Center

hpn-ssh is a version of OpenSSH modified to support high-performance
bulk transfers (such as with scp or rsync).  These modifications are
required because:

  SCP and the underlying SSH protocol is network performance limited by
  statically defined internal flow control buffers. These buffers often
  end up acting as a brake on the network throughput of SCP especially
  on long and wide paths. Modifying the ssh code to allow the flow
  control buffers to be defined at run time eliminates this bottleneck.

WWW: http://www.psc.edu/networking/projects/hpn-ssh/

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


Re: Using unix mail with maildir format

2005-07-05 Thread Gustavo De Nardin
On 04/07/05, Vince [EMAIL PROTECTED] wrote:
 Mave a look at the nail port mail/nail
 It can/does have a mail type interface and reads maildir.

Thanks, that's the MUA I was looking for for a long while. :]

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


Re: Pine

2005-05-19 Thread Gustavo De Nardin
2005/5/19, Charles Lamb [EMAIL PROTECTED]:
 
 What is a good alternative to Pine?  It would seem it is nolonger
 available for freebsd?

There's Cone (/usr/ports/mail/cone/). I found it similar to Pine. Much
easier to use than Mutt.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which is the best PDF utility ?

2005-04-26 Thread Gustavo De Nardin
Hi.

2005/4/26, edward [EMAIL PROTECTED]:
 Just wanted to know which is, according to you, the best utility to read
 PDF files. I notice the Acrobat7 port is mentioned as broken in the
 notes. Which program (not necessarily Adobe) would be the best
 alternative for everyday PDF reading ? Oh, almost forgot, I use KDE.

So, haven't you tried Kpdf from KDE 3.4? It's the best X-windows PDF
reader I've used.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting FreeBSD-5.3 from NTLDR

2005-01-30 Thread Gustavo De Nardin
On Sun, 30 Jan 2005 10:47:41 +0400, Rakhesh Sasidharan
[EMAIL PROTECTED] wrote:
 Are there any issues in booting FreeBSD using NTLDR? My machine has
 Windows XP, Fedora Core 3, and FreeBSD-5.3, and while I know I can use
 GRUB to boot FreeBSD, I want to try booting it using NTLDR. Just for
 kicks -- its something I haven't tried so far. :))

  I recommend using BootPart: http://www.winimage.com/bootpart.htm.

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


Re: boot up notification

2005-01-14 Thread Gustavo De Nardin
Jim Pazarena wrote:
 I would like one of my servers to send me an email when
 it boots. I envision a script in rc.conf to do this.
 
 Is there an easier way, or an automatic system which can do this?

  You could set up a cronjob to run at '@reboot':
$ crontab -l
@reboot echo | mail -s The eagle has landed root

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