
Daniel Lawson wrote:
Device Boot Start End Blocks Id System /udev/64MB1 * 1 249 63728 6 FAT16
This output from fdisk shows a single partition inside your device. Note, that the partition is /udev/64MB1. A device can contain many (non-overlapping) partitions, each of which can be used and formatted independantly
Command (m for help): q
[root(a)Snapafun mnt]# mount /udev/64MB -t vfat 64MB mount: wrong fs type, bad option, bad superblock on /udev/64MB, or too many mounted file systems
When you mount something, you have to mount a partition. So instead of mounting the device /udev/64MB, you should be mounting /udev/64MB1
Also, the partition needs to have been formatted first. I assume you can read this correctly under windows - if that's the case, then it's been formatted.
So, if: * the device is called /udev/64MB * you want to mount the first partition in /udev/64MB - ie, /udev/64MB1 * it has been correclty formatted as fat * the mountpount /mnt/64MB exists (mkdir -p /mnt/64MB as root) you can run:
mount /udev/64MB1 -t vfat /mnt/64MB
And it should work.
And it does. Thanks for that. Still have one problem though. Can not access the device as user. Before mounting: [root(a)Snapafun mnt]# ls -al total 127 drwxr-xr-x 16 root root 4096 Dec 24 01:26 ./ drwxr-xr-x 24 root root 4096 Dec 23 19:53 ../ drwxr-xr-x 2 frank frank 4096 Dec 24 01:22 16MB/ drwxr-xr-x 2 frank frank 4096 Dec 24 01:22 64MB/ drwxr-xr-x 2 frank frank 4096 Dec 24 01:22 Camera/ <SNIP> After mounting: [root(a)Snapafun mnt]# mount /udev/16MB1 -t vfat /mnt/16MB [root(a)Snapafun mnt]# ls -al total 139 drwxr-xr-x 16 root root 4096 Dec 24 01:26 ./ drwxr-xr-x 24 root root 4096 Dec 23 19:53 ../ drwxr--r-- 2 root root 16384 Jan 1 1970 16MB/ drwxr-xr-x 2 frank frank 4096 Dec 24 01:22 64MB/ drwxr-xr-x 2 frank frank 4096 Dec 24 01:22 Camera/ <SNIP> As you can see, the owner is changed by the system and though I am happy to chmod for other than owner [ being USER ] I do not know how to handle this problem. So right now I need to be able to mount the partition as user. Any ideas? Summary: So I am missing one more step at least - my aim is to be able to mount and read write to the device as user. ( I'm thinking something like : # chmod 600 /mnt/16MB - etc.) Once I have got it sorted, albeit relying on your capable assistance, it is my intention to repeat the exercise so as to post a step by step command howto on my site and anywhere else that asks. I believe we are nearly there so await your reply with patience as it is indeed the xmas season. [ And there will be heaps of photos to process - always windows TILL NOW! - I hope. ] Thanks again. -- Regards SnapafunFrank Big or small, a challenge requires the same commitment to resolve. Registered Linux User # 324213