Transfer files (to an iPad)

To make the filesystem you better use Windows. After , the mount will function.
I tried ""mkntfs" on freebsd, but it hangs ...
Otherwise use fat32 instead of ntfs.
 
Mr. De Vos, I want to thank you for sharing your knowledge with me! I carried out your SYNTAX as written three times and after the mount -t ntfs-3g /dev/da0p1 /mnt/usb, the same message of "Operation not supported by device" was shown. So my assumption is that the Flash Drive was programmed to only work on Tablets. That is an assumption formulated on the basis of total lack of knowledge & experience, but I have sent it back and this time ordered one that states clearly that it is for Desktops and Laptops. I'll let you know my experience when I try to mount the new Flash Drive with your SYNTAX shown in post #22.
Just use the commands shown in post #23... /usr/local/bin/ntfs-3g is a legit command that will do the mounting for you, given the correct flags without typos. Oh, and read the manpages.
 
If you do have access to a Windows-System you can use "iDevice Manager" or "iExplorer"

OTOH, i was under the impression, that if you have the Apple-Driver (which comes with iTunes) installed, you could just connect to Windows, and the "Photos"-Part of the Folder-tree on your Apple-Device turns up as a Drive in Windows-Explorer
 
Mr. De Vos, I want to thank you for sharing your knowledge with me! I carried out your SYNTAX as written three times and after the mount -t ntfs-3g /dev/da0p1 /mnt/usb, the same message of "Operation not supported by device" was shown. So my assumption is that the Flash Drive was programmed to only work on Tablets. That is an assumption formulated on the basis of total lack of knowledge & experience, but I have sent it back and this time ordered one that states clearly that it is for Desktops and Laptops. I'll let you know my experience when I try to mount the new Flash Drive with your SYNTAX shown in post #22.

Check `dmesg` for related messages.
 
I like to do this:
Code:
dmesg | grep da # this shows whether you need to use da0 or da1 in the mount command
gpart show da0 # or da1, depending on output from dmesg
ntfs-3g /dev/da0s1 /mnt/usb # instead of mount -t

TBH, the FreeBSD Handbook covers this, so I'd recommend reading it.
dmseg shown after I plug it in:
da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
da0: <vendor c product code 2.00> Removable Direct Access SPC-2 SCSI device
da0: Serial Number 1945551005782725618
da0: 40.000MB/s transfers
da0: 2000000MB (4096000000 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>

gpart show:
[root@randy ~]# gpart show
=> 40 976773088 ada0 GPT (466G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 972576768 3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)

=> 40 976773088 ada1 GPT (466G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 972576768 3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)

=> 63 4095999937 da0 MBR (1.9T)
63 1 - free - (512B)
64 4095999936 1 ntfs [active] (1.9T)

Message after entering: ntfs-3g /dev/da0 /mnt/randy (randy it the directory I made within mnt)
[root@randy ~]# ntfs-3g /dev/da0 /mnt/randy
NTFS signature is missing.
Failed to mount '/dev/da0': Invalid argument
The device '/dev/da0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

Message after entering:
root@randy ~]# mount -t ntfs-3g /dev/da0p1 /mnt/randy
mount: /dev/da0p1: Operation not supported by device

and
[root@randy ~]# mount -t ntfs-3g /dev/da0 /mnt/randy
mount: /dev/da0: Operation not supported by device


Since the new Flash Drive is a 2TB device will Windows actually be able to format it with a fat32 file?
 
Can you show the output of:
Code:
gpart show -p
gpart  show -l
[root@randy ~]# gpart show -p
=> 40 976773088 ada0 GPT (466G)
40 1024 ada0p1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 ada0p2 freebsd-swap (2.0G)
4196352 972576768 ada0p3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)

=> 40 976773088 ada1 GPT (466G)
40 1024 ada1p1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 ada1p2 freebsd-swap (2.0G)
4196352 972576768 ada1p3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)
=> 63 4095999937 da0 MBR (1.9T)
63 1 - free - (512B)
64 4095999936 da0s1 ntfs [active] (1.9T)

[root@randy ~]# gpart show -l
=> 40 976773088 ada0 GPT (466G)
40 1024 1 gptboot0 (512K)
1064 984 - free - (492K)
2048 4194304 2 swap0 (2.0G)
4196352 972576768 3 zfs0 (464G)
976773120 8 - free - (4.0K)

=> 40 976773088 ada1 GPT (466G)
40 1024 1 gptboot1 (512K)
1064 984 - free - (492K)
2048 4194304 2 swap1 (2.0G)
4196352 972576768 3 zfs1 (464G)
976773120 8 - free - (4.0K)

=> 63 4095999937 da0 MBR (1.9T)
63 1 - free - (512B)
64 4095999936 1 (null) [active] (1.9T)
 
[root@randy ~]# gpart show -p
=> 40 976773088 ada0 GPT (466G)
40 1024 ada0p1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 ada0p2 freebsd-swap (2.0G)
4196352 972576768 ada0p3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)

=> 40 976773088 ada1 GPT (466G)
40 1024 ada1p1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 ada1p2 freebsd-swap (2.0G)
4196352 972576768 ada1p3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)
=> 63 4095999937 da0 MBR (1.9T)
63 1 - free - (512B)
64 4095999936 da0s1 ntfs [active] (1.9T)

[root@randy ~]# gpart show -l
=> 40 976773088 ada0 GPT (466G)
40 1024 1 gptboot0 (512K)
1064 984 - free - (492K)
2048 4194304 2 swap0 (2.0G)
4196352 972576768 3 zfs0 (464G)
976773120 8 - free - (4.0K)

=> 40 976773088 ada1 GPT (466G)
40 1024 1 gptboot1 (512K)
1064 984 - free - (492K)
2048 4194304 2 swap1 (2.0G)
4196352 972576768 3 zfs1 (464G)
976773120 8 - free - (4.0K)

=> 63 4095999937 da0 MBR (1.9T)
63 1 - free - (512B)
64 4095999936 1 (null) [active] (1.9T)
In addition, here is:
rc.conf file
hostname="randy.bsd.net"
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
dumpdev="AUTO"
zfs_enable="YES"
kld_list="nvidia-modeset fusefs"
dbus_enable="YES"
linux_enable="YES"
bison_enable="YES"
cupsd_enable="YES"
usb_enable="YES"
webcamd_enable="YES"
fusefs_enable="YES"
autofs_enable="YES"
devfs_system_ruleset="localrules"
devfs_system_ruleset="system"
devfs_system_ruleset="devfsrules"
wlans_urtw0="wlan1"
ifconfig_wlan1="WPA DHCP"
wlans_rtwn0="wlan2"
ifconfig_wlan2="WPA DHCP"
ifconfig_re1="DHCP"

/boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
autoboot_delay="3"
cuse_load="YES"
if_urtw_load="YES"
urtwfw_load="YES"

/etc/devfs.rules
devfsrules=10]

add path 'dri/*' mode 0666 group operator
add path 'da*s*' mode 0666 group operator
add path 'da0*s*' mode 0666 group operator
add path 'usb/*' mode 0666 group operator
add path 'cd*' mode 0666 group operator
add path 'xpt' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt0' mode 0666 group operator
add path 'ugen*' mode 0666 group operator
add path 'ucom*' mode 0666 group operator
add path 'acd*' mode 0666 group operator

/etc/sysctl.conf
$FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
vfs.zfs.min_auto_ashift=12
vfs.usermount=1
vfs.usermount: 0 -> 1
kern.ipc.shm_allow_removed=1
kern.ipc.shmmax=67108864
kern.ipc.shmall=42768
 
Code:
# kldstat | grep fuse
(if fusefs.ko or fuse.ko show up, you're good to go)
# ntfs-3g /dev/da0s1 /mnt/randy
(if there's no errors, that means success)
# ls -l /mnt/randy
 
Code:
# kldstat | grep fuse
(if fusefs.ko or fuse.ko show up, you're good to go)
# ntfs-3g /dev/da0s1 /mnt/randy
(if there's no errors, that means success)
# ls -l /mnt/randy

[root@randy /etc]# kldstat | grep fuse
10 1 0xffffffff82c68000 11cd8 fusefs.ko
[root@randy /etc]# ntfs-3g /dev/da0s1 /mnt/randy
NTFS signature is missing.
Failed to mount '/dev/da0s1': Invalid argument
The device '/dev/da0s1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
 
I do want the whole drive/disk - no partitions, so; maybe the command should be:

gpart add -t ntfs /dev/sda (OR)
gpart add -t ntfs /dev/sda0
 
Is your 2TB drive empty or not? If it is, then you can just format it to NTFS on Windows first, and then try the ntfs-3g line again.

don't do the gpart add stuff - this can mess things up. 😩
 
Finally!!!! :)
:)O:‑)
 

Attachments

  • Screenshot at 2023-02-10 17-04-24.png
    Screenshot at 2023-02-10 17-04-24.png
    43.4 KB · Views: 55
I must have done or simply not carried it out on the 2TB flash drive; because the drive shows it is mounted, but when I click and drag files from my computer hard drives those files are empty when I open them on the 2TB drive. The folder is there, but nothing is in it. Also, when I try to delete the folder that is shown on the 2TB drive, the message reads - cannot remove said folder for it is not empty. I'm so bemused by the whole journey and the total confusion that has been experienced on the way. If you have any ideas as to how to simply turn the flash drive back into a clean drive of x's % o's please share the SYNTAX.
 
My thought is that one of the "dd" commands should take care of the issue, but have know idea as to which one. Reading about the "dd" procedures seem to be written for the professional hackers and not for someone such as me, who simply loves the FreeBSD OS as a very nice Desktop tool.
 
In addition, Maybe it is time for me to simply stop using my beloved FreeBSD OS. I started using it when it was 4.9 and had the cognitive ability and excitement to study and make it my one and only OS that would fulfil my needs for a simple desktop system. However, I'm now 76 yrs old and do not have the cognitive clarity to remember nor understand the fantastic progress that FreeBSD as accomplished over those years. So if I'm using your support and time in my quests, please let me know, and I'll simply stumble on until I have to say goodbye. I have really enjoyed FreeBSD and all who have had the same love for it as I have had.
 
In addition, Maybe it is time for me to simply stop using my beloved FreeBSD OS. I started using it when it was 4.9 and had the cognitive ability and excitement to study and make it my one and only OS that would fulfil my needs for a simple desktop system. However, I'm now 76 yrs old and do not have the cognitive clarity to remember nor understand the fantastic progress that FreeBSD as accomplished over those years. So if I'm using your support and time in my quests, please let me know, and I'll simply stumble on until I have to say goodbye. I have really enjoyed FreeBSD and all who have had the same love for it as I have had.
Double-check my post #34: the device is mounted to folder /mnt/randy/ . When the device is umount-ed, the folder remains. What's the output of running
Code:
% ls -ld /mnt/randy
?

That folder should have permissions rw-rw-rw, at the very least, and be owned by the user. Running the following commands as root should set you up pretty good:
Code:
# chown -R randy:wheel /mnt/randy 
# chmod 666 /mnt/randy

And y'know, you're always welcome to come back to the Forums and keep asking questions about FreeBSD - that's what the Forums are for! :p
 
However, I'm now 76 yrs old and do not have the cognitive clarity to remember nor understand the fantastic progress that FreeBSD as accomplished over those years.
If you can afford it, I would recommend using a Mac. You can still use pretty much all the command line programs from their terminal windows but their GUI is far superior and there is lots more useful software that doesn't require editing config files or knowing a lot of minutiae. They *are* getting worse but still the best choice if you don't want to tinker too much.
 
In addition, Maybe it is time for me to simply stop using my beloved FreeBSD OS.
Why stop using FreeBSD?

Just use a different tool for this particular job - Apple is quite a closed garden and they try and keep you locked in there.

For some things I end up having to use Windows but shrug so be it. For some I use Apple products, for others Linux, and some OpenBSD. And others FreeBSD.

Trying to find the one perfect OS is a bit of a time-waster (especially if you don't enjoy problem-solving!) Find the tool for the job and move onto something more fun.

If you don't want to get another computer just for this transfer do you have any family/friends/local computer groups that might be able to help?
 
Apple is quite a closed garden and they try and keep you locked in there.
You are not prevented from using anything else -- you can always buy a bsd/linux/windows machine; it is just that Apple provides enough useful things, reduces configuration hassles, is relatively secure, and has lots and lots of apps so that many people simply stay with them.

This is not to say that they shouldn't open up. But really, the only way to deal with monopolies is to increase competition and the OSS community has simply not given them a cause to worry.
 
You are not prevented from using anything else -- you can always buy a bsd/linux/windows machine; it is just that Apple
Yes. I wasn't having a whinge - just meaning that if you want to use Apple stuff (like an iPad in this instance) it's easier to play in the Apple pen.

It's like using Excel - I can try and make LibreOffice work with spreadsheets I get from clients, but sometimes it is easier just to use Microsoft Excel and get the task done.
 
Back
Top