Skip to main content

Linux usb devices #2

hahhah i figured it out .


if you want to see lsblk label without mounting

normal lsblk
















  and again if you see outout of this
lsblk -o name,MODEL,LABEL
















so there is difference in output at sdb

easy enough to identify same storage of usb devices .


:) yes.

Comments

Popular posts from this blog

Python Reads gmail

This is tutorial on how to read gmail emails with python programme : ----------------- #!/usr/bin/python __author__ = 'Robokishan' import email import imaplib import ctypes import getpass mail = imaplib.IMAP4_SSL('imap.gmail.com',993) unm = raw_input("insert Email : ") #pwd = raw_input("insert password : ") pwd = getpass.getpass("input : ") mail.login(unm,pwd) mail.select("INBOX") def loop():    mail.select("INBOX")    n=0    (retcode, messages) = mail.search(None, '(UNSEEN)')    if retcode == 'OK':             for num in messages[0].split() :          #print 'Processing '          n=n+1          print n          typ, data = mail.fetch(num,'(RFC822)')          for response_part in data:             if isinstance(response_part, tuple): ...

ArduPilot reverse engineering #1

its been a long time, from drone development and also from electronics and blogging, let it go, tonight it is ardupilot time, I have seen some algorithms working like get position and velocity from accelerometer data but haven't found anything yet. so was surfing through the code and found that AP_InertialNavEKF.h library is just fallback library for the ardupilot to switch between ekf and normal mode.  a comment from first line /* A wrapper around the AP_InertialNav class which uses the NavEKF filter if available, and falls back to the AP_InertialNav filter when EKF is not available */ /** now working on how can I implement on my own drone since my plans are different from ardupilot. so here i am now sleepless nights and go on until I finally make my quadcopter (the only incomplement project left).

How to make stoppable thread in python

Python multi threading: stoppable thread:     many of you heard about threading in python is very bad. its not easy to stop it but there are several method to do that thing happen .     so lets get started.     create file name called <filename>.py then paste this code in your text editor. import threading import time ##writer = Robokishan ##stopable thread class ThreadingExample(object):     """ Threading example class     The run() method will be started and it will run in the background     until the application exits.     """     #NOTE: STOPING THREAD IS BAD METHOD     def __init__(self, interval=1):         """ Constructor         :type interval: int         :param interval: Check interval, in seconds       ...