LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   mounting usb music player (https://www.linuxquestions.org/questions/debian-26/mounting-usb-music-player-779587/)

siawash 01-03-2010 01:21 PM

mounting usb music player
 
I need help understanding how to mount my cowon iAudio 7. According to nautlius the music player is already mounted. But I cannot access ( due to file permissions ) it as I can do with my external usb/ide drive.

Here is fdisk -l

First internal drive with Windows 7





Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x20f86de2

Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2

26 30402 243991552 7 HPFS/NTFS

</CODE>



Second drive with Lenny 64 bit

<CODE>

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06abc06d

Device Boot Start End Blocks Id System
/dev/sdb1 1 729 5855661 82 Linux swap / Solaris
/dev/sdb2 * 730 9239 68356575 83 Linux

Disk /dev/sdc: 16.5 GB, 16542334976 bytes
64 heads, 32 sectors/track, 15776 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x69737369

</CODE>

Below is the Cowon iAudio7 music player

<CODE>

Disk /dev/sdc: 16.5 GB, 16542334976 bytes
64 heads, 32 sectors/track, 15776 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x69737369

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sdc1 ? 912975 995343 84344761 69 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 830821 1743849 934940732+ 73 Unknown
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 2 2 0 74 Unknown
Partition 3 does not end on cylinder boundary.
/dev/sdc4 1409025 1409050 26207+ 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

</CODE>

This is my external USB/IDE hard drive where I maintain personal files including mail. That means I point icedove to look for folders on this drive. This means I and have to mount a local directory to connect to this drive every time I boot.

i.e.

mount /dev/sdd1 myhome

( myhome being a folder on sdc. I have not been able to do that with the cowon. If you know of a more efficient way of maintaining your personal data securely please let me know.

<CODE>
Disk /dev/sdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b20bc

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 38913 312568641 83 Linux
siawacsh@debian:~$

</CODE>


Here is my FSTAB. There are two external usb drives missing. Namely, an external dvd reader, sdd and the cowon. I would be grateful if you can show me how to add them and if this will do away
of the neccessity of having to mount the drives manually each time I boot.

<CODE>

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siaw

</CODE>

ozanbaba 01-03-2010 02:51 PM

Quote:

Originally Posted by siawash (Post 3812752)
mount /dev/sdd1 myhome

( myhome being a folder on sdc. I have not been able to do that with the cowon. If you know of a more efficient way of maintaining your personal data securely please let me know.

this way; umask=077, uid=$YOUR_USERNAME, gid=$YOUR_USER_GROUP

this will make sure that, only you can access that files after the mount.


All times are GMT -5. The time now is 11:53 PM.