You are not logged in.

#1 2011-08-30 17:34:50

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Mounting Multiple Media

I'm trying to set up my machine so all media (USB, optical, SD etc) are automounted using udev rules: https://wiki.archlinux.org/index.php/Ud … SB_devices

I tested the first script with my Cowon D2+ which makes available 2 filesystems: internal and SD card. The sd card appeared under media with the correct label, but not the internal disk. I have been able to mount the internal manually.

dmesg says:

[ 2294.509822] usb 1-6: new high speed USB device number 6 using ehci_hcd
[ 2294.634878] scsi6 : usb-storage 1-6:1.0
[ 2295.633809] scsi 6:0:0:0: Direct-Access     COWON    D2+ DAB          0100 PQ: 0 ANSI: 0
[ 2295.634087] sd 6:0:0:0: Attached scsi generic sg5 type 0
[ 2295.636043] sd 6:0:0:0: [sde] 32292864 512-byte logical blocks: (16.5 GB/15.3 GiB)
[ 2295.636076] scsi 6:0:0:1: Direct-Access     COWON    D2+ DAB          0100 PQ: 0 ANSI: 0
[ 2295.636467] sd 6:0:0:1: Attached scsi generic sg6 type 0
[ 2295.636682] sd 6:0:0:0: [sde] Write Protect is off
[ 2295.636687] sd 6:0:0:0: [sde] Mode Sense: 37 00 00 08
[ 2295.637035] sd 6:0:0:0: [sde] No Caching mode page present
[ 2295.637039] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 2295.639411] sd 6:0:0:1: [sdf] 63438400 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 2295.639824] sd 6:0:0:0: [sde] No Caching mode page present
[ 2295.639832] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 2295.640288] sd 6:0:0:1: [sdf] Write Protect is off
[ 2295.640290] sd 6:0:0:1: [sdf] Mode Sense: 37 00 00 08
[ 2295.641700]  sde:
[ 2295.642059] sd 6:0:0:1: [sdf] No Caching mode page present
[ 2295.642064] sd 6:0:0:1: [sdf] Assuming drive cache: write through
[ 2295.645535] sd 6:0:0:0: [sde] No Caching mode page present
[ 2295.645540] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 2295.645543] sd 6:0:0:0: [sde] Attached SCSI removable disk
[ 2295.645920] sd 6:0:0:1: [sdf] No Caching mode page present
[ 2295.645922] sd 6:0:0:1: [sdf] Assuming drive cache: write through
[ 2295.648118]  sdf: sdf1
[ 2295.660165] sd 6:0:0:1: [sdf] No Caching mode page present
[ 2295.660171] sd 6:0:0:1: [sdf] Assuming drive cache: write through
[ 2295.660174] sd 6:0:0:1: [sdf] Attached SCSI removable disk

and blkid says:

/dev/sde: LABEL="COWON" UUID="20A0-683F" TYPE="vfat" 
/dev/sdf1: LABEL="COWONSD" UUID="A036-C3DF" TYPE="vfat"

I can't see any reason why I shouldn't be able to mount as many different media as I like - is this because one device presents multiple filesystems? If so, how can I fix that?

Offline

Board footer

Powered by FluxBB