System hangs but ping when remounting read-only

2013-04-18 Thread David Demelier
Hello folks, I have a machine that runs on a compact flash so I try to mount read-only as much as possible, but when I need to do some maintainance I remount read-write with mount -u -w / It works, but when I try to remount read only the prompt never get back using mount -u -r / and the ssh

Disk Enclosure Zoning / gmultipath

2013-04-18 Thread Outback Dingo
Okay... 4U Disk Enclosure, has 2 physical compute nodes, each physical compute nodes has 2 LSI 9211-8i controllers, so thats 4 total controllers across 2 nodes the box is enclosure is zoned and FreeBSD can see the following nodeA 16 daX devices 16 sesX,passX devices NodeB 16 daX devices 16 ses

Re: Profiling a dlopened library

2013-04-18 Thread Charles Swiger
Hi-- On Apr 18, 2013, at 11:21 AM, Niklaus wrote: >How do i profile a library which is dlopened from an executable. > The executable and the library are compiled with -g using gcc . Can > somone tell me tool that would profile it at runtime. For gprof-style profiling, you'll need to build wi

Re: sata/ata device permission for user

2013-04-18 Thread Polytropon
On Thu, 18 Apr 2013 03:41:11 -0700 (PDT), Beeblebrox wrote: > >> But the group permissions are --- (none). > D'oh! > Well, that made a difference and I can query the cd0 device with cdda2wav as > my user now. > > I still can't mount a data CD however. You need write access to the cd, pass and xpt

Profiling a dlopened library

2013-04-18 Thread Niklaus
Hi, How do i profile a library which is dlopened from an executable. The executable and the library are compiled with -g using gcc . Can somone tell me tool that would profile it at runtime. Regards, Nik ___ freebsd-questions@freebsd.org mailing list

Re: scripting zfs send & receive, but the script never exits cleanly

2013-04-18 Thread Volodymyr Kostyrko
18.04.2013 19:35, Brian Gold: Hi all. Quick question for you. I've got a pair of freebsd 9 systems running zfs. i've got my primary system doing ZFS SEND each night to my secondary system for backups. I'm using a script I wrote to automate the process. I'm passing the zfs send & receive through g

scripting zfs send & receive, but the script never exits cleanly

2013-04-18 Thread Brian Gold
Hi all. Quick question for you. I've got a pair of freebsd 9 systems running zfs. i've got my primary system doing ZFS SEND each night to my secondary system for backups. I'm using a script I wrote to automate the process. I'm passing the zfs send & receive through gnetcat as a buffer which increas

Re: pwd.db/spwd.db file corupption when having unsafe system poweroff

2013-04-18 Thread takCoder
hi again, real thanks to all of you; for really complete and clear answers.. it's amazing to have a clear view of what's on, when you need to deal with it. :) as a quick conclusion, for now: 1- i inserted a shell file to /usr/local/etc/rc.d/ which runs pwd_mkdb /etc/master.passwd and tested it..

Re: sata/ata device permission for user

2013-04-18 Thread Beeblebrox
>> What's the output of: sysctl vfs.usermount vfs.usermount: 1 I can mount USB devices... - 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp580

Re: sata/ata device permission for user

2013-04-18 Thread Ruben de Groot
On Thu, Apr 18, 2013 at 03:41:11AM -0700, Beeblebrox typed: > >> But the group permissions are --- (none). > D'oh! > Well, that made a difference and I can query the cd0 device with cdda2wav as > my user now. > > I still can't mount a data CD however. What's the output of: sysctl vfs.usermount

Re: RSync exclusion

2013-04-18 Thread Paul Macdonald
In this /files folder, amongst others, I have another folder called photos: /files/photos What I now would like to do is sync the /files folder with an exclusion on the /files/photos folder Reason for that is that this /photos subfolder contains 12 gb on photos, which I don't want to have in

Re: RSync exclusion

2013-04-18 Thread Daniel O'Callaghan
On 18/04/2013 9:30 PM, Jos Chrispijn wrote: rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ Just a thought, but have you looked at rsnapshot? http://www.rsnapshot.org/ http://www.freshports.org/sysutils/rsnapshot/ It uses rsync, but manages a directory tree with hard links to u

RSync exclusion

2013-04-18 Thread Jos Chrispijn
I have a local folder called /files/ In my daily backup event I create as per day a backkup folder that contains this /files folder including all its sub folders --- cut --- rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ In this /files folder, amongst others, I have another f

Challenge Voile & Golf Pays de Lorient

2013-04-18 Thread challenge . voile-golf_
Madame, Monsieur, Participez au 1er Challenge Voile & Golf le 7 et 8 juin 2013 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-que

sata/ata device permission for user

2013-04-18 Thread Beeblebrox
>> But the group permissions are --- (none). D'oh! Well, that made a difference and I can query the cd0 device with cdda2wav as my user now. I still can't mount a data CD however. - 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in

How to use acpi_dock?

2013-04-18 Thread gabor
Hi! I'd like to know, how can somebody use the acpi_dock kernel module? Do I have to load it from loader.conf, or it's enough from rc.conf? On a HP laptop, with the acpi_hp module loaded, I can see the state of docking in the dev.acpi_hp.0.is_docked sysctl. But it doesn't matter, if I kldloaded

ZFS on MBR does not boot at all

2013-04-18 Thread David Demelier
Hello, I would like to use ZFS over MBR for multiboot purposes. I've followed that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it does not boot at all. The loader does not show up after choosing FreeBSD in the boot0 loader. The _ prompt appears but nothing starts. I've found man

Re: sata/ata device permission for user

2013-04-18 Thread Polytropon
On Thu, 18 Apr 2013 00:32:09 -0700 (PDT), Beeblebrox wrote: > >> The user also needs access to the corresponding pass device which is shown > by "camcontrol devlist". He also needs access to /dev/xpt0 I think. Correct, that matches my settings. :-) >at scbus6 target 0 lun 0 (cd0,pass3) >

sata/ata device permission for user

2013-04-18 Thread Beeblebrox
>> The user also needs access to the corresponding pass device which is shown by "camcontrol devlist". He also needs access to /dev/xpt0 I think. at scbus6 target 0 lun 0 (cd0,pass3) crw--- 1 root operator 0x48 Apr 18 07:08 pass0 crw--- 1 root operator 0x49 Apr 18 07:08 pass1 cr

Re: Fwd: how access inside from outside when nat is done from inside to outside

2013-04-18 Thread saeedeh motlagh
hi sam i do not know what is the exactly correct manner in freebsd, but it think based on definition for NAT, you should not be able to access inside systems from outside unless you have port direction. On Tue, Apr 16, 2013 at 11:35 AM, s m wrote: > thanks Danny, but i'm using pf to define rule

Re: sata/ata device permission for user

2013-04-18 Thread Tijl Coosemans
On 2013-04-15 07:49, Beeblebrox wrote: > EDIT: I had already placed in /etc/devfs.conf this entry some time ago: > > # Allow members of group operator to mount cdrom > own /dev/cd0 root:operator > perm/dev/cd0 0660 > > Not allowing mount despite all of these adjustments (being