-
CrtxReavr
I have a file created from a ufs2 volume with dd and if I run file(1) against it, it reports:
-
CrtxReavr
home.img: new-fs dump file (ufs2, little endian), This dump Sat Mar 21 14:26:16 2020, Previous dump Thu Jan 1 00:00:00 1970, Volume 1, Level zero, type: tape header, Label none, Filesystem /home, Device /dev/da0p7, Host skorpion.citadel.trioptimum.com
-
CrtxReavr
How do I mount it?
-
CrtxReavr
When I try, it tells me "block device required"
-
CrtxReavr
When I specify 't ufs' it prints the usage info.
-
jmnbtslsQE
CrtxReavr: that looks like a file created with dump, not created with dd. in which case i think the tool you need for that is restore
-
jmnbtslsQE
if it were created with dd, you would be able to mount it by making a device out of it with mdconfig -f and then mounting
-
CrtxReavr
hmm
-
CrtxReavr
jmnbtslsQE, would 'mdconfig -f' create a copy of the file?
-
jmnbtslsQE
it would just expose the file in a device node under dev, as if it were a disk, so then you can do things that you can do with disks such as mounting
-
jmnbtslsQE
and then it tells you the device name, such as md0. so you'd operate on /dev/md0 for example. but i don't think that will work in this case, because your file is not a filesystem (it's the output from the dump command)
-
CrtxReavr
so I ran 'sudo mdconfig -f home.img' and it printed 'md0'
-
CrtxReavr
Now I've tried 'sudo mount /dev/md0 /mnt' and 'sudo mount -t ufs /dev/md0 /mnt'
-
CrtxReavr
Both report mount: /dev/md0: Invalid fstype: Invalid argument
-
CrtxReavr
I was created with dd, not dump.
-
jmnbtslsQE
it's not a file system, so you won't be able to mount it. the file(1) string you provided is consistent with the output from dump
-
jmnbtslsQE
i haven't used dump/restore much, but it looks like you can do something like: restore -rf home.img , and it will copy the contents it into your current directory
-
CrtxReavr
I really think it's consistent with what I'd get if I ran 'file -s' against a partion.
-
jmnbtslsQE
i invite you to try it on an actual ufs filesystem in one of your partitions and compare
-
CrtxReavr
-
jmnbtslsQE
heh
-
jmnbtslsQE
well yes, that md0 is created from that file, so they will be identical
-
jmnbtslsQE
if you've got a ufs filesystem on a partition somewhere, if you run file -s you will get some different output.
-
CrtxReavr
Well, I do see the difference in output. . . though there is a lot of overlap.
-
CrtxReavr
I don't have the disk space on that box to try a restore.
-
CrtxReavr
Thanks though.
-
jmnbtslsQE
OK
-
Yaazkal
Hello, I have raidz on a pool and I'll like to make a backup to an external hard drive. Do I need to create an snapshot first or is it enough to `zfs send -R internal_pool | zfs recv -F external_hdd` ?
-
rtprio
i think you must send a snapshot
-
Yaazkal
rtprio: ok, thanks
-
jb1277976
Anyone up for trolubeshooting sound issues ?
-
jb1277976
im losing my mind over here.. usb audio works perfect i would like internal speakers and mic working.. i think my speakers/mic are intergrated into my graphics card dunno
-
rtprio
have you identified your non-usb sound device?
-
CrtxReavr
On boot, I have to wait until dhcp6c configures my internal intefaces via DHCPv6-PD before I can start bind.
-
CrtxReavr
What's the best way to delay bind's start?
-
sidh
Greetings
-
rtprio
won't bind redectect the interfaces?
-
tuaris
-
rwp
CrtxReavr, Normally the various dhcp daemons will bind to the wildcard * address when binding to a port. Normally even if the main network interfaces are down the loopback interface is up allowing this to happen. Then later when the main interface comes online everything continues to work.
-
rwp
CrtxReavr, Is the dhcp6c daemon binding to specified addresses? Is that the problem?
-
rwp
tuaris, That link gave me "PrivateBin requires a modern browser to work. Firefox, Opera, Chrome..." while using Firefox on FreeBSD.
-
tuaris
lol, weird
-
rwp
It appears to be blocking FreeBSD user agents. That's unfriendly.
-
tuaris
It's privatebin from the ports, hmm
-
ivy
rwp: no, i got the same with Firefox on Windows. it suggested using https, but the site's certificate issuer isn't trusted by Firefox
-
rwp
I tried it in emacs-eww (my irc client) and got this message "JavaScript is required for PrivateBin to work. Sorry for the inconvenience."
-
rwp
tuaris, I don't really need to look as I will guess it must do so to satify alignment. It's pretty normal to require 1 megabyte alignment.
-
tuaris
I see, must be a new thing on 14?
-
rwp
Hmm... TIL that FreeBSD pkgs firefox has changed the User-Agent to be "Linux" rather than the prvious "FreeBSD" which I used to have to override in order to be able log into chase.com. I guess either a failed customization or a choice to go with the masses I don't know.
-
shbrngdo
Crtxeavr - I remember experimenting with a USB ethernet and RC has amechanism for delaying certain parts of the network startup... maybe something like THAT?
-
shbrngdo
check out netwait_enable and named_wait
-
shbrngdo
CrtxReavr I mean - stupid keyboard xcannot type/spell
-
rtprio
tuaris: what the shit is up with that pastebin
-
rtprio
complains there's no ssl, then doesn't present a valid certificate
-
shbrngdo
probably pooched their letsencrypt updates
-
rtprio
nope, they made up a CA
-
rtprio
and expired
-
shbrngdo
yeah I've done that but not for public things
-
ZedHedTed
made it up? like self-signing it?
-
rtprio
yeah, it's self-signed