LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2010, 11:45 AM   #1
nilathinesh
Member
 
Registered: Nov 2006
Distribution: Fedora 7 & 9, Ubuntu
Posts: 41

Rep: Reputation: 15
Question Reg . USB device registeration


Hello All,

When i plug-in my usb pendrive that has one partition (in windows it shows one partition only) in linux
it prints following
Quote:
sb 2-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: JetFlash Model: TS2GJFV30 Rev: 8.01
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 3969024 512-byte hdwr sectors (2032 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 3969024 512-byte hdwr sectors (2032 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1
sd 3:0:0:0: Attached scsi removable disk sda
and the device is get registered under /dev/sda1

But when i plug-in an another pendrive of same size, that has only one partition (again.. in Windows i could see only one partition) in linux .. it is registering itself in the /dev/sda

can some one tell me on what basis, the sda or sda1 is decided

Advance thanks for the reply
 
Old 09-08-2010, 10:45 PM   #2
linux_hy
Member
 
Registered: Oct 2006
Posts: 66

Rep: Reputation: -2
I don't know,but I think it associate to partition,try to read the partition table with cfdisk or other partition tools,maybe get the difference between the sda and sda1.to compare their patition table maybe get the basis. I juset guessed
 
Old 09-08-2010, 11:02 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
It's possible to install the FAT filesystem directly onto the device itself, without creating an actual partition for it. So the device that shows sda1 has a partition and partition table, while the sda one does not.
 
Old 09-15-2010, 08:07 AM   #4
nilathinesh
Member
 
Registered: Nov 2006
Distribution: Fedora 7 & 9, Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Smile

Thanks David the H. Yes.. as you mentioned it was having partition table and a FAT partition. i could see that using the fdisk utility

Thanks to linux_hy too
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Windows: Which program can track the reg updates at software install and make a reg? frenchn00b General 5 11-20-2008 04:26 PM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
Nice surprise Kaffeine plays Reg 1 and Reg 2 disks 1kyle SUSE / openSUSE 1 10-10-2005 04:47 PM
Up2date registeration. kamranshahid Red Hat 3 01-25-2005 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration