cannot format USB flash to UFS
windows formatted FAT32 working ok
FreeBSD
Other urls found in this thread:
docs.freebsd.org
adminbyaccident.com
adminbyaccident.com
twitter.com
bump
does it have to be ufs?
How in fuck did you get your USB to come up as da1s1a
speaking of which..
$ ifconfig |grep -B1 $(hostname -i) |head -1
wlp0s26u1u6u2: flags=4163 mtu 1500
>wlp0s26u1u6u2
Ah yes, wlp0s26u1u6u2. Just be careful you don't use wlp0s26u1u6u1 or wlp0s27u1u6u2 instead or your computer might explode. Wtf is wrong with eth1?
Thanks for letting me know.
bsdconfig
>eth1
$ ifconfig |head -1
eno1: flags=4099 mtu 1500
i don't even..
docs.freebsd.org
> da
SCSI or USB disk
> 1
first disk
> s1
Slice 1 of the disk (primary partition in short)
>a
Partition a of the slice (logical partition in short)
> wlp0s26u1u6u2
I don't know what he did to have this interface name.
The name is based on the network driver, in that case wlp0
forgot pic
I have no idea what FreeBSD is or does sorry.
Are you sure there is actually a subpartition a?
You probably meant
newfs /dev/da1s1
Let me know if you are a retard or not
>using the worst BSD
root@hdd:~ # newfs /dev/da1s1
newfs: /dev/da1s1: failed to open disk for writing
root@hdd:~ #
root@hdd:~ # gpart list da1
Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 62333951
first: 63
entries: 4
scheme: MBR
Providers:
1. Name: da1s1
Mediasize: 31913410560 (30G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 1048576
Mode: r0w0e0
efimedia: HD(1,MBR,0x90909090,0x800,0x3b71800)
rawtype: 6
length: 31913410560
offset: 1048576
type: fat16
index: 1
end: 62332927
start: 2048
Consumers:
1. Name: da1
Mediasize: 31914983424 (30G)
Sectorsize: 512
Mode: r0w0e0
root@hdd:~ #
what is "Mode: r0w0e0" and how to change it?
root@hdd:~ # sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
root@hdd:~ # glabel label -v sunhdd /dev/da1s1
glabel: Can't store metadata on /dev/da1s1: Operation not permitted.
root@hdd:~ #
repartition the disk with gpart or fdisk
the only i can do- format the disk with windows as fat32
also this should solve the r0w0e0 problem adminbyaccident.com