Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]udev does not detect partitions on pendrive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jozpod
n00b
n00b


Joined: 14 May 2015
Posts: 22

PostPosted: Thu May 21, 2015 8:57 pm    Post subject: [SOLVED]udev does not detect partitions on pendrive Reply with quote

Hi,

whenever i plug in my pendrive to laptop it detects it, but not the content of it.
I made a rule to add this feature, but it does not work.

/etc/udev/rules.d/42-usb-hid-pm.rules
Code:


KERNEL=="sd*", DRIVERS=="usb-storage", SYMLINK+="%k%n"


Last edited by Jozpod on Sat May 30, 2015 8:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Thu May 21, 2015 9:21 pm    Post subject: Reply with quote

Are you sure it has a partition table ?
Under Windows, it was often the case that pendrives didn't have one - mostly due to stupidity of the driver.
Back to top
View user's profile Send private message
Jozpod
n00b
n00b


Joined: 14 May 2015
Posts: 22

PostPosted: Thu May 21, 2015 10:02 pm    Post subject: Reply with quote

fdisk tells Disklabel type: dos

Would be smart to copy rules from installation CD?
Back to top
View user's profile Send private message
Jozpod
n00b
n00b


Joined: 14 May 2015
Posts: 22

PostPosted: Sat May 30, 2015 8:37 pm    Post subject: Reply with quote

The thread is solved.
I wanted to read from pendrive while not having MSDOS partition supported...
If you encounter the same issue as mine, make sure to have these things on...
Code:

CONFIG_MSDOS_PARTITION=y
CONFIG_MSDOS_FS=y
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum