ClubEspritLibre / the-Gnu-Distro

A Gnu Distro WebApp
3 stars 15 forks source link

Get the usb device's name #4

Closed asmasma21 closed 11 years ago

rednaks commented 11 years ago

Note that not all Linux distribution are mounting usb devices on /media/ some are mounting on /mnt/ and I think that using /dev/disk/by-id/usb* is better !

asmasma21 commented 11 years ago

i can't find a solution in which i can use /dev/disk/by-id/usb* :s

rednaks commented 11 years ago

well you can use that id found with the udisks command,
udisks --show-info /dev/disk/usb* ...

oferchichi commented 11 years ago

simple tu parcours le /dev/disk/ est tu récupére tout ce qui ce trouve dedans dans une liste la tu aura un tableau dans lequel il contient tt les id :)

2013/3/5 Alexandre BM notifications@github.com

well you can that id found with the udisks command,

udisks --show-info /dev/disk/usb* ...

— Reply to this email directly or view it on GitHubhttps://github.com/ClubEspritLibre/the-Gnu-Distro/pull/4#issuecomment-14466629 .

Cdt, Omar Ferchichi

rednaks commented 11 years ago

Je tiens à rappeler que le but est de trouver le point de montage de la clé usb !

rednaks commented 11 years ago

@asmasma21 I'll make a little tutorial about disks later before we start !

asmasma21 commented 11 years ago

cc @rednaks can you please close the pull request ? :)

rednaks commented 11 years ago

It's not necessary to close the PR, when you pushed the changes it updates the PR ;) thankd !

asmasma21 commented 11 years ago

Okk .. I thought that i have to send a pull request for every commit :D .. Thnx