Hello.
I would like to reformat one of my USB disks using the UFS1 file system. So,I tried to do that with this command :
but it says :
newfs: /dev/da2: failed to open disk for writing
also :
and :
it is very intertwined. I dislike very much all this unnecessary complexity. And do not try to claim that it is not true. It may not be true for you, because you are experienced, but for a newbie,to understand the underlying logic, in cases like these, it is not easy.
I would like to reformat one of my USB disks using the UFS1 file system. So,I tried to do that with this command :
Code:
root@marietto:/usr/home/marietto # newfs -O 1 /dev/da2
but it says :
newfs: /dev/da2: failed to open disk for writing
also :
Code:
root@marietto:/usr/home/marietto # fdisk -I /dev/da2
******* Working on device /dev/da2 *******
fdisk: Failed to write MBR. Try to use gpart(8).
and :
Code:
root@marietto:/usr/home/marietto # ls /dev/da2
/dev/da2
root@marietto:/usr/home/marietto # gpart destroy -F da2
gpart: Device busy
root@marietto:/usr/home/marietto # umount /mnt/da2p1
umount: unmount of /mnt/da2p1 failed: Device busy
root@marietto:/usr/home/marietto # ls /mnt/da2p1
=> 34 1953525101 da2 GPT (932G)
34 2014 - free - (1.0M)
2048 1953523087 1 freebsd-ufs (932G)
it is very intertwined. I dislike very much all this unnecessary complexity. And do not try to claim that it is not true. It may not be true for you, because you are experienced, but for a newbie,to understand the underlying logic, in cases like these, it is not easy.