-
rtprio
rm -rf /usr/ports/*/*/work
-
rwp
rtprio, That's good too! But here is something to consider. That is internal to the command line shell.
-
rwp
When the command line shell needs to grow memory it will grow.
-
rwp
And in some file system cases using */*/* types of expansion will match all of those and can grow quite large.
-
rwp
After having grown the command line shell never returns memory to the OS. It is only released when the shell itself exits.
-
rwp
It's not something I will even care about on my 16GB RAM workstation. But back in the day on smaller systems it could be pretty memory piggy.
-
rwp
Maybe sh -c 'echo rm -rf /usr/ports/*/*/work' would be better because then the memory growth is in that shell which runs and exits. Maybe? :-)
-
rtprio
yeah, it would depend on how many work directories there would be.
-
cryptonector
question: does FreeBSD resolve any-name-here.localhost to the loopback address?
-
sphex
cryptonector: only if the DNS server does it AFAIK. resolutions based on /etc/hosts won't do that.
-
cryptonector
sphex: thanks, I figured as much, though it could have been a feature of the C library itself, or the name service switch
-
saltd
hello, getting error "files/792b947a9cb216d3ced502cbfad92c60de607a2efed22d9fbac37bb6a4595b0a.gz not found -- snapshot corrupt." while executing "portsnap fetch extract"
-
saltd
25g free
-
» saltd Errors resolved: 1 Answerers: 0 Scheme: self
-
Remilia
-
VimDiesel
Title: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.
-
Remilia
should probably have looked for it in the freebsd.org lists archives but too lazy
-
BSD-77
It *REALLY* irritates me that Linus got the market share that the BSD's *should* have gotten. All because AT&T was throwing a big fit of alleged code in FreeBSD. NOW thanks to that, a superiour *nix lost tons of commercial support, for an OS that's glued together!!
-
saltd
Remilia i changed /var/db directory for temp files to /tmp and it gots the snapshot. but of course this is not a good case
-
nerozero
hello, is there a way to prevent running script more then once by using already existing tools, without writing extra script ?
-
saltd
nerozero hello, is there a way to prevent running script more then once by using already existing tools, without writing extra script
-
nerozero
saltd, ?
-
yuripv
saltd: use daemon(8) with -p option may be?
-
yuripv
sorry, nerozero ^^^
-
nerozero
yuripv, my issue is that cron stacking nextcloud cron processes
-
nerozero
I could write a script which stores a pid into a file and then checking file existance and pid
-
yuripv
daemon(8) does that for you
-
nerozero
yuripv, hm... ok, may be ...
-
saltd
yuripv: checking your access madat or y rules ...
-
nerozero
the nice thing that it could replace su command... I could supply user account to it
-
nerozero
yuripv, thanks it worked
-
nerozero
but when i'm passing command and args in a quotes it doesn't find the executable ... weird
-
nerozero
something like this doesn't seems to work daemon -p /var/run/my.pid "/usr/local/bin/php -f /usr/local/www/nextcloud/cron.php"
-
yuripv
why do you need the quotes?
-
meandrain
hi, any idea on how to remove clang from nanobsd image (when building nanobsd image) ?
-
yuripv
meandrain: related setting in src.conf(5) do not help?
-
parv
"src.conf(5)" list various variables to affect a build; "WITHOUT_CLANG" is one of those
-
meandrain
yuripv: I'll look into that, thanx for the hint
-
nerozero
yuripv, i was afraid command line arguments will not be parsed correctly but, it was parsed correctly. Thanks one more time !
-
andmars
ahoi, I don't get why freebsd won't let me mount my fat32 usb harddrive. With "mount -v -t msdosfs /dev/da0s1 /mnt/
-
andmars
I get "Invalid argument"
-
meka
andmars: what does "gpart show da0" says?
-
nerozero
andmars, show please output of : gpart show
-
nerozero
you can also use mount_msdosfs
-
yuripv
nerozero: when you quote it like that, the entire quoted string is taken as a filename to pass to exec call, and there's no such file "/usr/local/bin/php -f /usr/local/www/nextcloud/cron.php" :)
-
andmars
nerozero: gpart show shows the drive (da0 fat32lba)
-
andmars
nerozero: and mount_msdosfs also yields "Invalid argument"
-
nerozero
andmars, show the entire output
-
nerozero
if it is only da0 then try: mount_msdosfs /dev/da0 /path/to/mount
-
andmars
nerozero: /dev/da0 still "Invalid argument"
-
nerozero
yourfate, now I get it, the daemon splits commands into 2 parts, the executable and args .... tnx
-
nerozero
please show entire output of the: gpart show
-
andmars
nerozero: can't get it over...different machine
-
nerozero
use termbin then
-
nerozero
gpart show | nc termbin.com 9999
-
nerozero
post the url
-
andmars
-
nerozero
then use partition 1
-
nerozero
mount_msdosfs /dev/da0p1 /path/to/mount
-
nerozero
you can use autocomplete ( tab )
-
andmars
nerozero: there is not /dev/da0p1 only /dev/da0s1
-
nerozero
slice ? hm ...
-
andmars
nerozero: with a usb-stick it's p instead of s
-
nerozero
can you access this drive from any other machine ?
-
andmars
nerozero: from my arch linux, yes
-
nerozero
could you please show: file -s /dev/da0s1 | nc termbin.com 9999
-
andmars
-
nerozero
could you please show then what is already mounted?
-
nerozero
mount | nc termbin.com 9999
-
andmars
nerozero: well, I'll get another usb-stick (which I can mount no problem in freebsd) and do my backup with this...kinda had it with this external harddrive. Big thanks for your efforts though :-)
-
nerozero
you can do backup over ssh
-
nerozero
and with rsync
-
nerozero
on the remote machine
-
andmars
nerozero: yes, but the remote machine is what I want to migrate from arch to freebsd
-
nerozero
in case of zfs ( which you got ) you can send entire snapshot over ssh
-
nerozero
and you doing backup for ?
-
nerozero
moving files ?
-
nerozero
send it over the network
-
andmars
nerozero: you mean I can send my files from my arch machine over to my freebsd laptop?
-
nerozero
sure yes
-
andmars
well that changes things a lot
-
nerozero
install openssh-server on arch to connect to arch
-
nerozero
or you should already have openssh running on bsd
-
nerozero
or configure it from rc.conf
-
nerozero
you can do whatever you like over ssh, sky is the limit
-
andmars
nerozero: gonna read the arch wiki about that now...thank you very much
-
nerozero
I do recommend ssh-copy-id to your client machine, then you will authenticate automatically
-
nerozero
install sshfs - and you can mount things as filesystem over ssh :)
-
nerozero
btw read about: ssh -Y things :D
-
nerozero
you can also forward X over ssh
-
nerozero
(never tried cross platform but, who knows )
-
» meena mumbles something about rsync
-
» saltd decrypting ...
-
meandrain
I am trying to build nanobsd image on freebsd 13.1 and I get this error:
pastebin.mozilla.org/nYBwR4Sq Any hint what to do ?
-
VimDiesel
Title: Mozilla Community Pastebin/nYBwR4Sq (Bash)
-
meandrain
It worked ok with FreeBSD 13.0, 12.x, 11.x
-
meandrain
I am using i386 branch of FreeBSD 13.1
-
dch
anybody used BigBlueButton recently? doesn't work at all for me on current + firefox
-
mason
meandrain: Can you exercise mdconfig manually?
-
meandrain
I can but I dont know how to do all those commands nanobsd does
-
mason
meandrain: I'm guessing that "creating" line is hiding an mdconfig invocation behind it, and that the call is failing but ignored.
-
mason
meandrain: Might be possible to pull the invocation out of the scripting.
-
meandrain
the thing is the image is created, I'll try to mount in first to see if it is empty or not
-
meandrain
mason: thanx, I'll try your suggestion
-
meandrain
mason: I've monted the image, it seems the data is there so the error in the nanobsd log file might be another command that is not needed ?
-
meandrain
instead of /dev/md0s3 the root partition is /dev/md0s1a
-
mason
hrm
-
mason
might still be worth a bug report if it's getting that wrong
-
meandrain
I'll try to burn the image and see if it boots, then file a bug report
-
meandrain
-
VimDiesel
Title: nanobsd error while performing installworld: "No such file or directory" | The FreeBSD Forums
-
saltd
VimDiesel this is windows support channel, ask for such questions on FreeBSD official channels
-
yuripv
har har har?
-
saltd
scramble scramble
-
skeemer
hello all, question about freebsd compatibility with my hardware i have a GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] will it work on it?
-
skeemer
also is there a sort of user repository on freebsd?
-
skeemer
i mean a repo similar to AUR ?
-
skeemer
where any user can basically upload software?
-
mason
-
VimDiesel
Title: Graphics/Intel-GPU-Matrix - FreeBSD Wiki
-
dch
skeemer: the ports tree is like this. you send a patch in, it gets a slight massage, now everybody has it
-
dch
not quite like AUR
-
skeemer
dch, what do you mean by "it gets a slight massage" ?
-
skeemer
dch, why not quite like aur ?
-
dch
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
dch
most new contributions need a little bit of tidying up before they get committed
-
dch
some more than others, depending on contributors general familiarity with FreeBSD and ports
-
skeemer
dch, how quick is the process for good enough ports?
-
dch
skeemer: depends. in my personal experience, a few days on average, some things sit for ages if $LIFE gets in the way of volunteers.
-
dch
some port areas have active irc or other channels and stuff goes through fast if you ask in there
-
dch
skeemer: you should try!
-
dch
there's a #freebsd-ports channel on libera too
-
koobs
morning
-
wez
koobs: It is
-
koobs
wez: lovely
-
wez
quite, it has finally stopped raining :D
-
koobs
yay